From c05e6a1e666db5ea710f202ce1d4d5fdc5d6187f Mon Sep 17 00:00:00 2001 From: Dominick Leppich Date: Tue, 27 Aug 2024 14:47:30 +0200 Subject: [PATCH] ci: enable hotfix releases for plugins --- Jenkinsfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2b2e562..6d1a6cb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,6 +27,7 @@ pipeline { anyOf { branch 'master' branch 'release_*' + branch 'hotfix_release_*' allOf { branch 'PR-*' expression { env.CHANGE_BRANCH.startsWith("release_") } @@ -43,6 +44,7 @@ pipeline { anyOf { branch 'master' branch 'release_*' + branch 'hotfix_release_*' allOf { branch 'PR-*' expression { env.CHANGE_BRANCH.startsWith("release_") } @@ -59,6 +61,7 @@ pipeline { anyOf { branch 'master' branch 'release_*' + branch 'hotfix_release_*' branch 'sonar_*' allOf { branch 'PR-*' @@ -83,6 +86,7 @@ pipeline { anyOf { branch 'master' branch 'develop' + branch 'hotfix_release_*' } } steps { @@ -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')]) {