Configure the ext-mail of hudson
I have a grails project and I use hudson to follow different analysis. I want to send the report analysis (cobertura, codenarc, findbug) to the developer. However, I don't know how to use hudson's ext-mail. Through googling I suspect the solution is to use jelly sscript but I can se开发者_如何学Pythonem to get it to work.
If the default jelly templates don't have everything you need in them, you can customize them without much effort.
- Grab a copy of the default template: Default Jelly Templates
- Modify it as needed
- Place a copy in JENKINS_HOME\email-templates (create the dir if needed)
- Configure the build to utilize the new template. If your new script is ensienne.jelly, the email content would look like this ${JELLY_SCRIPT,template="ensienne"}.
Side Note: Hudson was renamed to Jenkins a while back.
Also, here is a good resource for the email-ext plugin: Email-ext wiki
精彩评论