I am an intern at a company who wants a CI environment set up as part of my intern. For emails they want to use SSL authentication and this has proven overly difficult and bothersome to do in Jenkins. So to mitigate this I have a few alternative solutions:
- Use Gmail. This does work and is now seen as a very last resort as they really do not want the emails that Jenkins send to pass through Googles servers (even though the email contains a link to a local server that no one outside the network can access)
- Use Jenkins without SSL. This is not desirable.
- Write a program that an Ant task can execute as a post-build action which will then be responsible for sending the emails.
The last approach can work just fine in theory, but I have one issue. I need to get the usernames of those who last committed to the log so that they will receive the emails after Jenkins is done building (since Jenkins checks for changes in the SVN respository every minute). If I get the usernames (such as rmo or hnr) the suffix will be the same every time (like @email.com).
So how do I retrieve the committing developers of the last build using ant?
If you require additional information, let me know.