I’ve been trying to set up a new repository with a CI in my GitLab environment. During the configuration, I’d created many failed jobs and pipelines. I searched for a solution to delete and remove the failed pipelines from my history. This was only possible for single jobs. This was not a satisfying solution for me. Therefore, I’ve created a small JavaScript snippet.