mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
DEV-2
This commit is contained in:
parent
932cc373b5
commit
84cdf2b8aa
1 changed files with 6 additions and 7 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -3,9 +3,9 @@ pipeline {
|
|||
registry = "sprientera/pet"
|
||||
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 {
|
||||
// stage('Jira2') {
|
||||
|
@ -68,7 +68,7 @@ pipeline {
|
|||
}
|
||||
stage('get hash') {
|
||||
steps {
|
||||
sh 'echo ${GIT_COMMIT_MSG}'
|
||||
// sh 'echo ${GIT_COMMIT_MSG}'
|
||||
script {
|
||||
commit = sh (script: "git log -1 --pretty=%B", , returnStdout: true).trim()
|
||||
sh 'echo ${commit}'
|
||||
|
@ -83,4 +83,3 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue