How to attach files to Jenkins Pipeline notification

后端 未结 1 1809
情书的邮戳
情书的邮戳 2021-01-02 10:28

I am trying in a pipeline to attach files to my notification mails.

How can I do that? An example would be nice.

相关标签:
1条回答
  • 2021-01-02 10:51

    email-ext uses Ant File Syntax

    As for example usage:

    emailext attachmentsPattern: '**/report.html', body: 'Find attachments', subject: 'test', to: 'test@me.org'
    
    0 讨论(0)
提交回复
热议问题