mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
update340
This commit is contained in:
parent
b9082c7ee9
commit
b07b945b2d
1 changed files with 4 additions and 2 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -11,8 +11,10 @@ pipeline {
|
|||
steps {
|
||||
jiraAddComment idOrKey: 'DEV-1', comment: 'hello', site: 'butenko992'
|
||||
|
||||
script {env.revision = sh(script: "git log --pretty=format:\"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\" \$prevcommit...\$GIT_COMMIT", , returnStdout: true).trim()
|
||||
}
|
||||
script {
|
||||
env.revision = sh(script: "git log --pretty=format:\"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\" \$prevcommit...\$GIT_COMMIT", , returnStdout: true).trim()
|
||||
version = sh(script: "echo \$PARSED_TAG | awk -F\"_\" '{print \$1}'", , returnStdout: true).trim()
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('get hash') {
|
||||
|
|
Loading…
Reference in a new issue