Update CI error message when pipeline has no jobs to run
What does this MR do and why?
Updates the CI error message for the situation when no jobs can be run due to the rules configuration. This is to help the user with debugging their pipeline.
Old message:
No stages / jobs for this pipeline
New message:
Pipeline will not run for the selected trigger. The rules configuration prevented any jobs from being added to the pipeline.
Screenshots or screen recordings
- Old message:
- New message:
How to set up and validate locally
- Create your project's
.gitlab-ci.yml
file with the following contents:
job:
script: exit 0
rules:
- if: $TESTVAR == "test"
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #204756 (closed)
Edited by Leaminn Ma