Customized contents in Email extension plugin

23 views
Skip to first unread message

Mohamed Sathack

unread,
May 20, 2015, 4:18:43 AM5/20/15
to jenkins...@googlegroups.com
Hi,

I have a summary report in the form of text file (say, summary.txt). This fill will be hardly having few lines saying the overall status of my execution. I have to use the files contents in the "contents" section of extended email plugin. Can you please help?

Regards,
Mohamed Sathack

Slide

unread,
May 20, 2015, 8:08:30 AM5/20/15
to jenkins...@googlegroups.com

Look at the help for the content tokens. You probably want the FILE token.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ea140d87-0ced-4a67-b0a4-2fcd2e1c522b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

niraj nandane

unread,
May 21, 2015, 3:08:23 AM5/21/15
to jenkins...@googlegroups.com
Hi,

Use following :



Where file path is relative to workspace.

Lets say you have file in $WORKSPACE/myfile, now to mail it use :

${FILE,path="myfile"}
Reply all
Reply to author
Forward
0 new messages