Hello
In a parent-child pipeline I had the issue where status of the child pipeline was not propagating to parent pipeline. That issue was resolved using trigger.strategy=depend option as recommend in this post. However it doesn’t quiet work when child pipeline has a manual job. For example:
parent:
parent-pipeline:
stage: trigger-pipeline
trigger:
include: .child-gitlab-ci.yml
strategy: depend
child:
job1:
stage: stage1
script:
- echo "hi"
job2:
stage: stage2
needs:
- job1
script:
- echo "hi"
when: manual
When child pipeline starts, both parent and child pipelines have status running. When job1 of child pipeline is finished, both parent and child pipelines have status passed. If later I trigger the manual job of the child pipeline (job2), the status of child pipeline is running however status of parent pipeline remains passed.
Is there a way to propagate child pipeline status to parent pipeline in such a setup when triggering the child’s manual job?
Thanks!
P. S. needs:
is not required in the above example but I placed it there because my actual pipeline uses it. Not sure if this behaviour has anything to do with use of needs:
or not.