sakurashinken
sakurashinken

Reputation: 4080

Sending out html formatted email with attachments from workspace in Jenkins

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

Answers (1)

Oleksandr Horobets
Oleksandr Horobets

Reputation: 1375

Try https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin

It supports HTML formatted emails and attachments from workspace:

enter image description here

Upvotes: 3

Related Questions