Skip to content

Commit

Permalink
ci: enable hotfix releases for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Aug 27, 2024
1 parent dee37db commit 8bd03c5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pipeline {
anyOf {
branch 'master'
branch 'release_*'
branch 'hotfix_release_*'
allOf {
branch 'PR-*'
expression { env.CHANGE_BRANCH.startsWith("release_") }
Expand All @@ -43,6 +44,7 @@ pipeline {
anyOf {
branch 'master'
branch 'release_*'
branch 'hotfix_release_*'
allOf {
branch 'PR-*'
expression { env.CHANGE_BRANCH.startsWith("release_") }
Expand All @@ -59,6 +61,7 @@ pipeline {
anyOf {
branch 'master'
branch 'release_*'
branch 'hotfix_release_*'
branch 'sonar_*'
allOf {
branch 'PR-*'
Expand All @@ -83,6 +86,7 @@ pipeline {
anyOf {
branch 'master'
branch 'develop'
branch 'hotfix_release_*'
}
}
steps {
Expand All @@ -95,7 +99,12 @@ pipeline {
}
}
stage('tag release') {
when { branch 'master' }
when {
anyOf {
branch 'master'
branch 'hotfix_release_*'
}
}
steps {
withCredentials([gitUsernamePassword(credentialsId: '93f7e7d3-8f74-4744-a785-518fc4d55314',
gitToolName: 'git-tool')]) {
Expand Down

0 comments on commit 8bd03c5

Please sign in to comment.