I want to link to the latest version of an artifact that was created by a child pipeline.
I know that this should be possible by the link template:
However that does not seem to work for me if the artifact is created from a job inside a child pipeline.
I have created a repo with minimal configuration to test this. The repo contains the following files:
stages: - artifact_test hello: stage: artifact_test script: - echo "hello" > hello.txt artifacts: paths: - hello.txt world_trigger: stage: artifact_test trigger: include: .artifact.yml
stages: - build world: stage: build script: - echo "world" > world.txt artifacts: paths: - world.txt
I can now download
https://example.com/<namespace>/<project>/-/jobs/artifacts/master/raw/hello.txt?job=hello but I cannot download
How do I need to change the URL?
Thanks for any help!