Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data.
Problem to solve
Trying to use trigger with if rule in .gitlab-ci.yml & getting Error when running the pipeline - Pipeline will not run for the selected trigger. The rules configuration prevented any jobs from being added to the pipeline.
Trigger inlcudes another yml file in the same project
- What are you seeing, and how does that differ from what you expect to see?
- Consider including screenshots, error messages, and/or other helpful visuals
Steps to reproduce
Which troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
Configuration
Add the CI/CD configuration from .gitlab-ci.yml
and other configuration if relevant (e.g. docker-compose.yml). Alternatively, create a public GitLab.com example project that provides all necessary files to reproduce the question.
Versions
Please select whether options apply, and add the version information.
Doesnt matter
- Self-managed
- GitLab.com SaaS
- Self-hosted Runners
Versions
- GitLab (Web:
/help
or self-managed system information): - GitLab Runner, if self-hosted (Web
/admin/runners
or CLIgitlab-runner --version
):
Helpful resources
- Before opening a new topic, make sure to search for keywords in the forum search
- Check the GitLab Runner and GitLab projects for existing issues. If you encounter a bug, please create a bug report issue.
- Troubleshooting docs: GitLab Runner, self-managed GitLab instances.
Thanks for taking the time to be thorough in your request, it really helps!