Add VCS UserName to E-Mail Notification

Hey Everyone

I have a build trigger that if my repo gets a new submit / commit the build is started. Also I have a Notification set that the User that submitted the data to the repo gets informed if the build was successful or not.

What i want to do is to add the username to the email notification.

For Example

"Conratulations MatteoLocher!

You did not break the build..."

How can i retrieve the UserName and add it to my build_successful.ftl ??

Thank you for the help


1 comment
Comment actions Permalink


You will need to iterate the changes and get the name(s) from there.

e.g. see  ${mod.userName} at /email/common.ftl:43

You can also try to get changes form the build (iterate through ${build.containingChanges})


Please sign in to leave a comment.