Reputation: 4080
I would like to use Jenkins to
1) run a bash script to select data from a database
2) load it into a csv and store it in the workspace
3) Use the appropriate email extension to send a HTML formatted email with the file contents from the workspace attached.
What would be the best way to go about achieving step 3?
Upvotes: 2
Views: 1885
Reputation: 1375
Try https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
It supports HTML formatted emails and attachments from workspace:
Upvotes: 3