From 7635eb562c570c56985bf19c13a470f5c73330a5 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 cf1a6fbe29..026237cec8 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -161,9 +161,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}" } } }