We have encountered this issue when using marge-bot:
wait_for_ci_to_pass function is executing before our jenkins external pipeline job is registered in GitLab
this causes merge to fail because no pipeline is registered in time (we have pipelines must succeed set)
we have a workaround by adding a 60 second pipeline job to keep the pipeline in a running state while we wait for the jenkins job to register in GitLab
Our setup:
Jenkins GitLab Branch Source plugin listens to events sent via GitLab webhooks
GitLab Jenkins webhook in GitLab triggers events on Push events (branches) and Merge Requests
We do not have an actual GitLab pipeline job in our gitlab-ci.yml that triggers the jenkins job, it happens via the webhook.
Pipelines must succeed + skipped pipelines are considered successful
Can we please introduce a wait time argument that will wait a given period of time prior to doing any CI checks?
We have encountered this issue when using marge-bot:
Our setup:
Can we please introduce a wait time argument that will wait a given period of time prior to doing any CI checks?