Scheduled pipeline does not start
Describe your question in as much detail as possible:
I have a trivial pipeline but somehow a scheduled invocation does not start. The first job in the pipeline states:
This job has not been triggered yet
This job depends on upstream jobs that need to succeed in order for this job to be triggered
You can see the whole pipeline (both variants) here:
stages:
- prepare
- build
- dast
build:
stage: build
script:
- echo 'building'
rules:
- if: "$CI_COMMIT_TAG || $CI_COMMIT_BRANCH"
dependencyCheckDownload:
stage: prepare
image: "azul/zulu-openjdk-alpine:11"
allow_failure: true
needs: []
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
script:
- echo "pipeline source ... $CI_PIPELINE_SOURCE ...."
- echo 'downloading dep lists'
dependencyCheck:
stage: dast
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
script:
- echo 'performing dep check'
artifacts:
paths:
- "*/build/reports/*.html"
expire_in: 1 week
when: on_failure
dependencies:
- dependencyCheckDownload
- the slightly more elaborate one here: https://gitlab.com/rburgst/test-scheduled-pipeline/-/blob/main/.gitlab-ci.yml
The generated pipeline which does not start running can be seen here:
Note that the normal MR pipelines and manual pipeline invocations do work as expected.