This commit is contained in:
Oleksandr Butenko 2021-07-13 17:03:24 +03:00 committed by GitHub
parent 932cc373b5
commit 84cdf2b8aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
Jenkinsfile vendored
View file

@ -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}'
@ -82,5 +82,4 @@ pipeline {
jiraAddComment idOrKey: "${commit}", comment: 'build successfull from commit', site: 'butenko992'
}
}
}
}