Skip to content

Commit 6438dfc

Browse files
committed
Use a script to release on Jira
1 parent 2b2ed32 commit 6438dfc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

ci/release/Jenkinsfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,17 @@ pipeline {
242242
}
243243
}
244244
}
245+
stage('Release on Jira') {
246+
steps {
247+
script {
248+
checkoutReleaseScripts()
249+
250+
withCredentials([string(credentialsId: 'release-webhook.hibernate.atlassian.net', variable: 'JIRA_WEBHOOK_SECRET')]) {
251+
sh ".release/scripts/jira-release.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
252+
}
253+
}
254+
}
255+
}
245256
stage('Update website') {
246257
steps {
247258
script {

0 commit comments

Comments
 (0)