Send Gitlab CI Reports and Artifacts by Email with SendGrid

While Gitlab CI will notify you that a job has failed, it will not attach any files or reports to that email. However, it is possible to change that with a bit of scripting using cURL and the SendGrid API.

Valentin Despa
DevOps with Valentine
8 min readFeb 13, 2023

--

Background

GitLab does not offer a way to customize the pipeline status notification emails being set out. So by default, it is not possible to trigger a…

--

--

Valentin Despa
DevOps with Valentine

Software developer, educator & overlander • GitLab Hero • AWS Community Builder • Postman Supernova • Imprint: http://vdespa.com/imprint