开发者

Configure the ext-mail of hudson

开发者 https://www.devze.com 2023-02-21 14:43 出处:网络
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 e

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.

  1. Grab a copy of the default template: Default Jelly Templates
  2. Modify it as needed
  3. Place a copy in JENKINS_HOME\email-templates (create the dir if needed)
  4. 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

0

精彩评论

暂无评论...
验证码 换一张
取 消