问题
I am trying in a pipeline to attach files to my notification mails.
How can I do that? An example would be nice.
回答1:
email-ext uses Ant File Syntax
As for example usage:
emailext attachmentsPattern: '**/report.html', body: 'Find attachments', subject: 'test', to: 'test@me.org'
来源:https://stackoverflow.com/questions/41422526/how-to-attach-files-to-jenkins-pipeline-notification