From 74b368afe9ae4b9a6d53d9c802a87cdb82f3181f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Biarn=C3=A9s=20Kiefer?= Date: Tue, 8 Aug 2023 15:31:37 +0200 Subject: [PATCH] KOGITO-5386: added a new parameter for unique branch name (#1024) * KOGITO-5386: added a new parameter for unique branch name * Update .ci/jenkins/Jenkinsfile.release.cloud * Update .ci/jenkins/Jenkinsfile.release.cloud * Update .ci/jenkins/Jenkinsfile.release.cloud * Update .ci/jenkins/Jenkinsfile.release.cloud --------- Co-authored-by: Tristan Radisson --- .ci/jenkins/Jenkinsfile.release.artifacts | 1 + .ci/jenkins/Jenkinsfile.release.cloud | 1 + 2 files changed, 2 insertions(+) diff --git a/.ci/jenkins/Jenkinsfile.release.artifacts b/.ci/jenkins/Jenkinsfile.release.artifacts index 6f5f9eeba..6f38be9ef 100644 --- a/.ci/jenkins/Jenkinsfile.release.artifacts +++ b/.ci/jenkins/Jenkinsfile.release.artifacts @@ -355,6 +355,7 @@ List getDefaultBuildParams(String version) { List buildParams = [] addDisplayNameParam(buildParams, getDisplayName(version)) addStringParam(buildParams, 'PROJECT_VERSION', version) + addStringParam(buildParams, 'KOGITO_PR_BRANCH', "kogito-${version}") return buildParams } diff --git a/.ci/jenkins/Jenkinsfile.release.cloud b/.ci/jenkins/Jenkinsfile.release.cloud index dad1c3a1e..aa9e50f57 100644 --- a/.ci/jenkins/Jenkinsfile.release.cloud +++ b/.ci/jenkins/Jenkinsfile.release.cloud @@ -425,6 +425,7 @@ List getDefaultBuildParams(String version) { List buildParams = [] addDisplayNameParam(buildParams, getDisplayName(version)) addStringParam(buildParams, 'PROJECT_VERSION', version) + addStringParam(buildParams, 'KOGITO_PR_BRANCH', params.KOGITO_PR_BRANCH ?: "kogito-${version}") return buildParams }