buildUser()

This commit is contained in:
carlitalabbe 2020-04-02 21:52:44 -04:00
parent 41815ff8ac
commit eda989d33c

3
Jenkinsfile vendored
View file

@ -2,6 +2,9 @@ def COLOR_MAP = [
'SUCCESS': 'good',
'FAILURE': 'danger',
]
def getBuildUser() {
return currentBuild.rawBuild.getCause(Cause.UserIdCause).getUserId()
}
pipeline {
agent any
tools {