mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
buildUser()
This commit is contained in:
parent
41815ff8ac
commit
eda989d33c
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -2,6 +2,9 @@ def COLOR_MAP = [
|
|||
'SUCCESS': 'good',
|
||||
'FAILURE': 'danger',
|
||||
]
|
||||
def getBuildUser() {
|
||||
return currentBuild.rawBuild.getCause(Cause.UserIdCause).getUserId()
|
||||
}
|
||||
pipeline {
|
||||
agent any
|
||||
tools {
|
||||
|
|
Loading…
Reference in a new issue