Commit 8a4d6c2 Dominick Leppich
committed
1 parent 6a4a0f7 commit 8a4d6c2 Copy full SHA for 8a4d6c2
File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ pipeline {
27
27
anyOf {
28
28
branch ' master'
29
29
branch ' release_*'
30
+ branch ' hotfix_release_*'
30
31
allOf {
31
32
branch ' PR-*'
32
33
expression { env. CHANGE_BRANCH . startsWith(" release_" ) }
@@ -43,6 +44,7 @@ pipeline {
43
44
anyOf {
44
45
branch ' master'
45
46
branch ' release_*'
47
+ branch ' hotfix_release_*'
46
48
allOf {
47
49
branch ' PR-*'
48
50
expression { env. CHANGE_BRANCH . startsWith(" release_" ) }
@@ -59,6 +61,7 @@ pipeline {
59
61
anyOf {
60
62
branch ' master'
61
63
branch ' release_*'
64
+ branch ' hotfix_release_*'
62
65
branch ' sonar_*'
63
66
allOf {
64
67
branch ' PR-*'
@@ -83,6 +86,7 @@ pipeline {
83
86
anyOf {
84
87
branch ' master'
85
88
branch ' develop'
89
+ branch ' hotfix_release_*'
86
90
}
87
91
}
88
92
steps {
@@ -95,7 +99,12 @@ pipeline {
95
99
}
96
100
}
97
101
stage(' tag release' ) {
98
- when { branch ' master' }
102
+ when {
103
+ anyOf {
104
+ branch ' master'
105
+ branch ' hotfix_release_*'
106
+ }
107
+ }
99
108
steps {
100
109
withCredentials([gitUsernamePassword(credentialsId : ' 93f7e7d3-8f74-4744-a785-518fc4d55314' ,
101
110
gitToolName : ' git-tool' )]) {
You can’t perform that action at this time.
0 commit comments