Skip to content

Integrate gitlab-ci/CLEAOS-447-handle-400-error-when-retriggering-pipeline

Commit: clea-os/infrastructure/gitlab-ci@160d8446

[INTEGRATION][RETRIGGER] Fix in function doing MR pipelines retrigger

After a MR is merged in a 'bsp' or 'tools' group repository all MRs of that group are being retriggered in order to avoid issues in successive MR integrations. This retrigger was acting on retriggering all opened MRs, so this change introduces:

  • Check on repository if INTEGRATION variable is defined, otherwise skip the project MRs.
  • Check on the target branch of the final integration MR and triggers only pipelines on MRs affecting the same branch.
  • Cleanup the print statements for better job readability.

Merge request reports

Loading