Issue
After a build is finished I use the mail-ext-plugin (Jenkins Email Extension Plugin) to send an email to certain users. I would like to include the user who started (requested) the build in that mail. - I couldn't find anything working with the default Jenkins vars. - I Couldn't find anything in the mail-ext vars. - I tried Build User Vars Plugin to get $BUILD_USER
but I can't get it to work.
How to get to $BUILD_USER, BUILD_REQUESTER, USERNAME or something like that
For now I have
$DEFAULT_CONTENT
--
{$BUILD_USER}
resulting in
zzz test GreenHat - Build # 27 - Still Failing:
Check console output....
--
{$BUILD_USER}
also tried without {}
Solution
I have finally found what I wanted, adding:
$CAUSE
or
${CAUSE}
gives
Started by user Jan Jansen
Answered By - Niek
Answer Checked By - Gilberto Lyons (JavaFixing Admin)