mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:15:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
126d384686
commit
099b0ae5fb
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -3,6 +3,7 @@ pipeline {
|
|||
registry = "sprientera/pet"
|
||||
registryCredential = 'dockerhub_id'
|
||||
dockerImage = ''
|
||||
RELEASE_NOTES = sh (script: """git log --format="medium" -1 ${GIT_COMMIT}""", returnStdout:true)
|
||||
}
|
||||
agent any
|
||||
stages {
|
||||
|
@ -13,6 +14,7 @@ pipeline {
|
|||
}
|
||||
stage('get hash') {
|
||||
steps {
|
||||
sh 'echo ${RELEASE_NOTES}'
|
||||
sh 'echo ${GIT_COMMIT}'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue