Starting with Email-ext plug-in -
problems using email-ext
- using groovy/jelly script(default)
- fail send emails
- attachment pattern doesn't work
solution above problems:
1.create new job in jenkins , make note of job workspace plays important role. email-ext comes ready made default scripts can use send emails attachments. place scriptname using inside defalut contents use pattern below
{script,template="nameofthetemplate}
2.make note there no commiters option in plug-in infact use triggers , send emails recipents list selecting 1 of options a.developers b.culprits c.recipentslist d.requestors
3.this critical point because attachment section in jenkins use ant script.so ant script work on realtive addressing rather absolute addressing. content in attachment pattern should thing this
**/foldername/*.txt
(anyextension) note:make sure floder exists in job workspace
hope helps extent
Comments
Post a Comment