From a33d05a25b05a9431b7d2434af7c349d9ee2927c Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Fri, 14 Jun 2024 18:48:39 +0200 Subject: [PATCH] Fix passing branch to publish.sh --- ci/release/Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ci/release/Jenkinsfile b/ci/release/Jenkinsfile index 20dc636595..3f810521cd 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -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}" } } }