Skip to content
Snippets Groups Projects
Commit f8b3ec45 authored by Bastian's avatar Bastian
Browse files

OZG-6923 adjust max branch length

parent f9e6f121
Branches
Tags
1 merge request!3OZG-6923 add commitId to feature branch image tag/helm version
...@@ -254,7 +254,7 @@ void deployHelmChart(String helmChartName, String helmChartVersion) { ...@@ -254,7 +254,7 @@ void deployHelmChart(String helmChartName, String helmChartVersion) {
} }
String validateBranchName(branchName) { String validateBranchName(branchName) {
int maxLength = 30 int maxLength = 19
if (branchName.length() > maxLength) { if (branchName.length() > maxLength) {
String originalBranchName = branchName String originalBranchName = branchName
branchName = branchName.substring(0, maxLength) branchName = branchName.substring(0, maxLength)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment