Download failed job artifacts link in Pipeline Emails
Problem to solve
In pipeline email, there is no more information about a failed job. If there is a way we can download failed job artifacts from the email itself.
Intended users
This is useful for all the users who are receiving pipeline emails to understand which job is failed and what is the artifacts. Application Developer can look into this directly from email, download it and check the facts.
Further details
Right now, who receive pipeline email, those need to visit pipeline check which job is failed and then download it. If we provide the same information into email body then this will save a lot more time for us.
Top of that, this will improve pipeline emails.
Proposal
We can give the same download option which is in pipeline in the email body and we are good to go. I can see the artifacts link is https://gitlab.{base}.com/{repo}/{app-name}/-/jobs/{job number}/artifacts/download
We can dynamically construct this link using the information and put in an email.