It works, but for every pipeline that runs for a branch there is a normal pipeline and a detached pipeline with only that job created. It’s a last job in this pipeline.
I read that something similar happened with merge requests but in this case merge requests don’t create any detached pipelines.
We are running GitLab Enterprise Edition 13.9.1-ee
Any advice on how to get rid of those detached pipelines?
Hi @troyl
the first one is detached pipeline for Merge Request 275, the second one is pipeline for the branch.
You need to add rule not to create the job for MR pipelines.
Hi @balonik
Just a question then, why would a merge request pipeline be created if no merge request was created?
both pipelines form my post were created after code was pushed to a branch. When an actual merge request is created there is only one pipeline created without any detached.
And this is the problem. There was no merge request at that time, I created one to merge this change the next day. As I wrote in the original post. Detached pipelines are created when anyone pushes to any branch.