Skip to content

Commit 8a4d6c2

Browse files
author
Dominick Leppich
committed
ci: enable hotfix releases for plugins
1 parent 6a4a0f7 commit 8a4d6c2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Jenkinsfile

+10-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ pipeline {
2727
anyOf {
2828
branch 'master'
2929
branch 'release_*'
30+
branch 'hotfix_release_*'
3031
allOf {
3132
branch 'PR-*'
3233
expression { env.CHANGE_BRANCH.startsWith("release_") }
@@ -43,6 +44,7 @@ pipeline {
4344
anyOf {
4445
branch 'master'
4546
branch 'release_*'
47+
branch 'hotfix_release_*'
4648
allOf {
4749
branch 'PR-*'
4850
expression { env.CHANGE_BRANCH.startsWith("release_") }
@@ -59,6 +61,7 @@ pipeline {
5961
anyOf {
6062
branch 'master'
6163
branch 'release_*'
64+
branch 'hotfix_release_*'
6265
branch 'sonar_*'
6366
allOf {
6467
branch 'PR-*'
@@ -83,6 +86,7 @@ pipeline {
8386
anyOf {
8487
branch 'master'
8588
branch 'develop'
89+
branch 'hotfix_release_*'
8690
}
8791
}
8892
steps {
@@ -95,7 +99,12 @@ pipeline {
9599
}
96100
}
97101
stage('tag release') {
98-
when { branch 'master' }
102+
when {
103+
anyOf {
104+
branch 'master'
105+
branch 'hotfix_release_*'
106+
}
107+
}
99108
steps {
100109
withCredentials([gitUsernamePassword(credentialsId: '93f7e7d3-8f74-4744-a785-518fc4d55314',
101110
gitToolName: 'git-tool')]) {

0 commit comments

Comments
 (0)