Fix passing branch to publish.sh
This commit is contained in:
parent
5e98f780a5
commit
a33d05a25b
|
@ -204,9 +204,7 @@ pipeline {
|
|||
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
|
||||
// performs documentation upload and Sonatype release
|
||||
// push to github
|
||||
withEnv(["BRANCH=${env.GIT_BRANCH}"]) {
|
||||
sh ".release/scripts/publish.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
|
||||
}
|
||||
sh ".release/scripts/publish.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION} ${env.GIT_BRANCH}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue