Open a Jira bug when a GitLab pipeline fails on main
A broken build on your main branch becomes a Jira bug with the failed jobs and commit, and your team hears about it in Slack.
How it works
GitLab tells Blokkio about every pipeline. When one fails on the project's default branch, Blokkio opens a Jira bug that names the failed jobs, the commit and its author, with a link to the pipeline, then posts the new issue in Slack. Pipelines that pass, are still running or run on other branches are ignored.
-
Pipeline Event
Starts with: Webhook Trigger
Receives a message from GitLab whenever a pipeline starts, passes or fails.
-
Failed on Main?
If / Else
Carries on only when the pipeline failed on the project's main (default) branch.
-
Create Jira Bug
Jira
Opens a Jira bug with the failed jobs, the commit and a link to the pipeline.
-
Tell the Team
Slack
Posts the new Jira bug and the pipeline link in Slack.