mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25: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"
|
registry = "sprientera/pet"
|
||||||
registryCredential = 'dockerhub_id'
|
registryCredential = 'dockerhub_id'
|
||||||
dockerImage = ''
|
dockerImage = ''
|
||||||
|
RELEASE_NOTES = sh (script: """git log --format="medium" -1 ${GIT_COMMIT}""", returnStdout:true)
|
||||||
}
|
}
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
|
@ -13,6 +14,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('get hash') {
|
stage('get hash') {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'echo ${RELEASE_NOTES}'
|
||||||
sh 'echo ${GIT_COMMIT}'
|
sh 'echo ${GIT_COMMIT}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue