Integrate gitlab-ci/CLEAOS-447-handle-400-error-when-retriggering-pipeline
Merged
requested to merge integrate/gitlab-ci/CLEAOS-447-handle-400-error-when-retriggering-pipeline/into/seco_v2022.10_v24.0 into seco_v2022.10_v24.0
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
Activity
Filter activity
Source merge request: https://git.seco.com/clea-os/infrastructure/gitlab-ci/-/merge_requests/85
Please register or sign in to reply