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
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -11,7 +11,9 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
jiraAddComment idOrKey: 'DEV-1', comment: 'hello', site: 'butenko992'
|
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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue