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"
|
registry = "sprientera/pet"
|
||||||
registryCredential = 'dockerhub_id'
|
registryCredential = 'dockerhub_id'
|
||||||
dockerImage = ''
|
dockerImage = ''
|
||||||
|
}
|
||||||
// RELEASE_NOTES = sh (script: """git log --format="medium" -1 ${GIT_COMMIT}""", returnStdout:true)
|
// RELEASE_NOTES = sh (script: """git log --format="medium" -1 ${GIT_COMMIT}""", returnStdout:true)
|
||||||
// commit = sh (script: "git log -1 --pretty=%B", , returnStdout: true).trim()
|
// commit = sh (script: "git log -1 --pretty=%B", , returnStdout: true).trim()
|
||||||
}
|
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
// stage('Jira2') {
|
// stage('Jira2') {
|
||||||
|
@ -68,7 +68,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('get hash') {
|
stage('get hash') {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo ${GIT_COMMIT_MSG}'
|
// sh 'echo ${GIT_COMMIT_MSG}'
|
||||||
script {
|
script {
|
||||||
commit = sh (script: "git log -1 --pretty=%B", , returnStdout: true).trim()
|
commit = sh (script: "git log -1 --pretty=%B", , returnStdout: true).trim()
|
||||||
sh 'echo ${commit}'
|
sh 'echo ${commit}'
|
||||||
|
@ -83,4 +83,3 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue