Send a Subversion Change Log from a Hudson build
For some time, I wanted to send out a Subversion change log from Hudson after a successful build showing all of the changes since the last build. (This is something I think Hudson should support natively – you can see a change log via the UI.) After some research, I came across Using Groovy with Hudson to send rich text email posted by "Chetan".
This solution works like a champ and is recommended. Two points – 1) if you are using Subversion, see the comments for the email template code for displaying the subversion log in the email – the main template code is not for Subversion; 2) I had to change ${fileEntry.editType}
which displayed an object reference to ${fileEntry.editType.name}
to display whether the file was edited, added or deleted.