Skip to content

Commit 6cd0aca

Browse files
committed
Use a script to release on Jira
1 parent 0e14ed2 commit 6cd0aca

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
@@ -243,6 +243,17 @@ pipeline {
243243
}
244244
}
245245
}
246+
stage('Release on Jira') {
247+
steps {
248+
script {
249+
checkoutReleaseScripts()
250+
251+
withCredentials([string(credentialsId: 'release-webhook.hibernate.atlassian.net', variable: 'JIRA_WEBHOOK_SECRET')]) {
252+
sh ".release/scripts/jira-release.sh ${env.SCRIPT_OPTIONS} ${env.PROJECT} ${env.RELEASE_VERSION} ${env.DEVELOPMENT_VERSION}"
253+
}
254+
}
255+
}
256+
}
246257
stage('Update website') {
247258
steps {
248259
script {

0 commit comments

Comments
 (0)