Skip to content

Commit 5258891

Browse files
committed
Explicitly pass the branch name to the release script
1 parent 3af54de commit 5258891

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/release/Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@ pipeline {
5555
string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE'),
5656
usernamePassword(credentialsId: 'ossrh.sonatype.org', passwordVariable: 'JRELEASER_NEXUS2_PASSWORD', usernameVariable: 'JRELEASER_NEXUS2_USERNAME'),
5757
string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN')]) {
58-
5958
sshagent(['ed25519.Hibernate-CI.github.com']) {
6059
sh 'cat $HOME/.ssh/config'
6160
sh 'git clone https://github.com/hibernate/hibernate-release-scripts.git'
6261
env.RELEASE_GPG_HOMEDIR = env.WORKSPACE_TMP + '/.gpg'
6362
sh """
64-
bash -xe hibernate-release-scripts/release.sh ${params.RELEASE_DRY_RUN ? '-d' : ''} \
63+
bash -xe hibernate-release-scripts/release.sh ${params.RELEASE_DRY_RUN ? '-d' : ''} -b ${env.BRANCH_NAME} \
6564
models ${releaseVersion.toString()} ${developmentVersion.toString()}
6665
"""
6766
}

0 commit comments

Comments
 (0)