0

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 
1
  • Check if this answer helps you out. Reason is, on non-git-triggered builds these vars dont get populated. Commented Mar 29, 2016 at 22:02

1 Answer 1

0

The variable wasn't there by default, it requires a new plugin: https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.