mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 00:55:16 +00:00
Bind BRANCH environment variable
This commit is contained in:
parent
2e92cfda9a
commit
f9cbb0c42d
8
ci/release/Jenkinsfile
vendored
8
ci/release/Jenkinsfile
vendored
@ -135,7 +135,9 @@ pipeline {
|
|||||||
// update changelog from JIRA
|
// update changelog from JIRA
|
||||||
// tags the version
|
// tags the version
|
||||||
// changes the version to the provided development version
|
// changes the version to the provided development version
|
||||||
sh ".release/scripts/prepare-release.sh ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
|
withEnv(["BRANCH=${env.GIT_BRANCH}"]) {
|
||||||
|
sh ".release/scripts/prepare-release.sh ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -159,7 +161,9 @@ pipeline {
|
|||||||
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
|
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) {
|
||||||
// performs documentation upload and Sonatype release
|
// performs documentation upload and Sonatype release
|
||||||
// push to github
|
// push to github
|
||||||
sh ".release/scripts/publish.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
|
withEnv(["BRANCH=${env.GIT_BRANCH}"]) {
|
||||||
|
sh ".release/scripts/publish.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user