pipelines:
MY_PIPELINE:
group: MY_PIPELINES
lock_behavior: unlockWhenFinished
label_template: "${COUNT}-${service[:8]}"
materials:
service:
git: <GIT_URL_1>
branch: master
auto_update: false
blacklist:
- "**/*"
destination: git1
pipeline_a:
pipeline: PIPELINE_A
stage: deploy
ignore_for_scheduling: true
pipeline_b:
pipeline: PIPELINE_B
stage: stage_b
ignore_for_scheduling: false
configuration:
git: <GIT_URL_2>
branch: master
shallow_clone: true
auto_update: false
blacklist:
- "**/*"
destination: git2
REQUIREMENT : I need MY_PIPELINE to trigger only after stage_b of PIPELINE_B. I have to specify PIPELINE_A as a dependency because I need to fetch an artifact from PIPELINE_A. Further, I have blacklisted everything in both git repos so that MY_PIPELINE doesnt trigger after any commit.
PROBLEM : Currently MY_PIPELINE gets triggered after PIPELINE_A as well which leads me to assume that ignore_for_scheduling is not working as it is supposed to?
Kindly help with this