摘要:
安装 build-name-setter 插件,然后使用如下: script{ wrap([$class: 'BuildUser']) { def deploylog="${BUILD_USER} use pipeline '${JOB_NAME}(${BUILD_NUMBER})' " print 阅读全文
posted @ 2020-08-19 14:05
momingliu11
阅读(2982)
评论(0)
推荐(0)
摘要:
方法一: import hudson.model.* def specificCause = currentBuild.getBuildCauses('hudson.model.Cause$UserIdCause') println "specificCause: $specificCause" / 阅读全文
posted @ 2020-08-19 11:29
momingliu11
阅读(3974)
评论(0)
推荐(1)
浙公网安备 33010602011771号