Hi, With emailext I know about two options: you can make use of a template and add what you want from the template directly to the mail body. Aditionally there's that 'attachLog'-option that attaches the complete log to the mail.
Regards, Christoph fcenedese schrieb am Montag, 20. Juli 2020 um 08:34:15 UTC+2: > At 15:42 18.07.2020, Slide wrote: > > >There are two email plugins available for Jenkins, Mailer (< > https://plugins.jenkins.io/mailer/>https://plugins.jenkins.io/mailer/) > and the Extended Email Plugin (<https://plugins.jenkins.io/email-ext/> > https://plugins.jenkins.io/email-ext/). You can look at those two and see > if one meets your needs. > > If you can capture your output into a file then the Extended Mail > can read the file and add it to the mail body like this: > > $DEFAULT_CONTENT > ${FILE, path="yourfile.log"} > > I don't know about catching the output without a file but check the > Extended Mail docs. > > bye Fabi > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6a0ed28b-b4f4-4f66-ba0b-25407f0cb811n%40googlegroups.com.
