Missing job error - gitlab-ci.yml
Description
Build stage | Job | Error message | Category | Responsibility |
---|
All | N/A | Found errors in your .gitlab-ci.yml: '<job2>' job needs '<job1>' job, but '<job1>' is not in any previous stage. | Application | Customer |
Potential cause
One job requires another job to complete the stage, but the required dependent job is currently not running. This can occur from a number of situations, such as the job not being defined in the template or mismatching conditions for when jobs are scheduled to run.
Solution
The following are the ways to resolve this error:
- Revert to default Auto DevOps job.
- Test your
.gitlab-ci.yml
in CI Lint.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.