Skip to content

Reject MRs early on individual job failures

Arvid Jakobsson requested to merge arvid@ci-fail-early into master

Implementation for #5.

Add new flag --ci-fail-early. When set, marge-bot will consider a pipeline as failed and cancel it as soon as it detects a failed job therein.

Tests

  • Unit test
  • Manual live test

I've tested the new option here: https://gitlab.com/nomadic-labs/marge-bot-sandbox/-/merge_requests/10

Edited by Arvid Jakobsson

Merge request reports