mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
DEV-1
This commit is contained in:
parent
597e95a748
commit
621f732c49
1 changed files with 2 additions and 3 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -12,15 +12,14 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo ${RELEASE_NOTES}'
|
sh 'echo ${RELEASE_NOTES}'
|
||||||
sh 'echo ${GIT_COMMIT_MSG}'
|
sh 'echo ${GIT_COMMIT_MSG}'
|
||||||
def commit = sh(returnStdout: true, script: 'git log -1 --pretty=%B | cat')
|
commit = sh(returnStdout: true, script: 'git log -1 --pretty=%B | cat')
|
||||||
sh 'echo ${commit}'
|
sh 'echo ${commit}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Jira2') {
|
stage('Jira2') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
commit = sh 'git log -1 --pretty=%'
|
sh 'echo ${commit}'
|
||||||
sh 'echo ${TaskID}'
|
|
||||||
jiraAddComment idOrKey: "${commit}", comment: 'build successfull', site: 'butenko992'
|
jiraAddComment idOrKey: "${commit}", comment: 'build successfull', site: 'butenko992'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue