We use Email Notification plugin as the last build step. When the build is started manually in Jenkins, the $BUILD_USER will expanded properly and show the user name who starts the build. But when the build is triggered automatically by a new commit in GitHub, it shows like this? How can I fix this?
Build Status : Fixed
Build Cause : MANUALTRIGGER
Build user : $BUILD_USER
Build User ID: $BUILD_USER_ID
Build Number : 57
Build Id : 57
该变量默认情况下不存在,它需要一个新插件: https : //wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.