This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Nov 12, 2013 9:43 PM by Yegor Yarko  
Matteo Locher Newbie 1 posts since
Nov 9, 2013
Currently Being Moderated

Nov 9, 2013 6:09 PM

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



Yegor Yarko JetBrains 1,901 posts since
May 5, 2004
Currently Being Moderated
Nov 12, 2013 9:43 PM in response to: Matteo Locher
Re: Add VCS UserName to E-Mail Notification



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})

More Like This

  • Retrieving data ...