Attachment to pipeline error email

Hello there,

We do have a scheduled job that check our dependencies. This job fail when there are at least one CVE with a too high level. However, we cannot get the cause because of the tool. The details are in an Html report saved as an artifact.

Is it possible to attach a specific file/artifact to the email sent when the pipeline fail ?

Thanks

Hi, you currently cannot attach any files/artifacts from pipeline to notification emails.

You would have to create your own solution to send e-mail with attachment if pipeline fails (for example using when: on_failure job.