Add option for retrying the CI
Adds the option --ci-retries N
. When N > 0
, marge-bot will retry failing pipelines so many times.
Note: this means that if this option is activated, marge-bot will stay a bit longer on each MR and it will potentially have to wait for the CI several times.
In addition to the unit tests in the MR, I've tested it quite extensively in a dummy project.
Edited by Arvid Jakobsson