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
621f732c49
commit
5fea384d68
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -4,7 +4,7 @@ pipeline {
|
|||
registryCredential = 'dockerhub_id'
|
||||
dockerImage = ''
|
||||
RELEASE_NOTES = sh (script: """git log --format="medium" -1 ${GIT_COMMIT}""", returnStdout:true)
|
||||
|
||||
commit = sh (script: "git log -1 --pretty=%B", , returnStdout: true).trim()
|
||||
}
|
||||
agent any
|
||||
stages {
|
||||
|
@ -12,7 +12,7 @@ pipeline {
|
|||
steps {
|
||||
sh 'echo ${RELEASE_NOTES}'
|
||||
sh 'echo ${GIT_COMMIT_MSG}'
|
||||
commit = sh(returnStdout: true, script: 'git log -1 --pretty=%B | cat')
|
||||
commit = sh (script: "git log -1 --pretty=%B", , returnStdout: true).trim()
|
||||
sh 'echo ${commit}'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue