Skip to content

Commit 7635eb5

Browse files
beikovmbladel
authored andcommitted
Fix passing branch to publish.sh
1 parent b546b0c commit 7635eb5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ci/release/Jenkinsfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,7 @@ pipeline {
161161
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
162162
// performs documentation upload and Sonatype release
163163
// push to github
164-
withEnv(["BRANCH=${env.GIT_BRANCH}"]) {
165-
sh ".release/scripts/publish.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
166-
}
164+
sh ".release/scripts/publish.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION} ${env.GIT_BRANCH}"
167165
}
168166
}
169167
}

0 commit comments

Comments
 (0)