Hi,
Azure devops pipeline question
I want to consume artifacts of one pipeline from another pipeline.
Ex: Pipeline A should consume artifacts of Pipeline B
Also Pipeline B should trigger when there is Pull request / change in Pipeline A, so that its latest will be consumed.
FYI: All the piplines are present in same project
Top comments (5)
You need to have 2 types of pipelines: a build pipeline and a release pipeline and you need to have all the pipelines in the same devops project, but not bound to the same repository, otherwise it will not work.
You can choose from several methods to implement the pipelines either with the classic editor or with the Azure git repos yml configs and remember that the context is lost from step to step.
I have an article about creating exactly what you are asking using the simple method the classic editor. Have a look.
dev.to/alxizr/afcicd-like-a-boss-a...
Hi,
thanks for the response. But I want to use the artifacts within two separate build pipelines. We don't use the release pipeline.
I want to consume artifacts of one build pipeline in the other build pipeline and yeah they're in same project and different repo's.
You can consume the artifacts where ever you want, as long as you store it in the artifacts storage within the project workspace. Use the pipeline tasks to accomplish these steps.
there are several tasks that you can choose from
I'm confused with msft docs, did find the exact one. if you find one please post it here