Skip to content

Commit

Permalink
KOGITO-5386: added a new parameter for unique branch name (#1024)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
mbiarnes and radtriste authored Aug 8, 2023
1 parent 0685ab6 commit 74b368a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.release.artifacts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
1 change: 1 addition & 0 deletions .ci/jenkins/Jenkinsfile.release.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 74b368a

Please sign in to comment.