mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +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',
|
'SUCCESS': 'good',
|
||||||
'FAILURE': 'danger',
|
'FAILURE': 'danger',
|
||||||
]
|
]
|
||||||
|
def getBuildUser() {
|
||||||
|
return currentBuild.rawBuild.getCause(Cause.UserIdCause).getUserId()
|
||||||
|
}
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
tools {
|
tools {
|
||||||
|
|
Loading…
Reference in a new issue