We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9fc5b commit 25047aeCopy full SHA for 25047ae
Jenkinsfile
@@ -59,15 +59,15 @@ spec:
59
stages {
60
stage('Checkout release branch') {
61
when {
62
- expression { return env.GIT_BRANCH == 'master'; }
+ expression { return env.GIT_BRANCH == /.*master$/; }
63
}
64
steps {
65
sh 'git checkout -b release'
66
67
68
stage('Merge to release branch') {
69
70
71
72
73
sh 'git merge origin/master'
@@ -85,7 +85,7 @@ spec:
85
86
stage('Get version from pom.xml') {
87
88
89
90
91
script {
0 commit comments