Please show an example for download artifacts from a job in another child pipeline in the same parent-child pipeline hierarchy

When I am referring to the doc section needs:pipeline:job

It only shows the example for download artifacts from a job in its parent pipeline. However, it is clearly stated that we can download artifacts from a job in another child pipeline in the same parent-child pipeline hierarchy.

Could you please provide an example for that? I am really interested in using the feature.

1 Like

I’m also interested in this feature, and I’m struggling to see how it’s currently possible.

needs:pipeline:job requires the CI_PIPELINE_ID of the source pipeline for the artifacts and I can’t find any information about passing this data between sibling child pipelines or from a child pipeline to a parent.

Does anyone have any ideas for how this might be possible? Otherwise, I’ll open an issue in the tracker to fix the docs and possibly a feature request for this feature.