0
votes

As it seems, that the PublishBuildArtifacts task is not available from Release Environment.

https://docs.microsoft.com/de-de/azure/devops/pipelines/tasks/utility/publish-pipeline-artifact?view=azure-devops

But as our clients pull new Artifacts Versions from the Azure Repository (universal packages), it would be a great benefit to have an opportunity to publish those Artifacts via an Release pipeline.

Is there any way available?

1
Do you want to publish pipeline artifact or Azure Artifact? docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/… - Krzysztof Madej
each of my builds has own build artifacts, my pipeline should create a new version and publish it to the azure artifacts service (as a universal package). Basically my release pipeline should only do 3 things: - generate version - take designated build artifact - publish designated build artifact with the generated version to azure artifacts - user3066027
Ok, but to publish to Azure Artifact you sould use UniversalPackages@0 docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/… - Krzysztof Madej
ah - so basically i cannot simply "forward" the build artifact, instead i have to create a new one? Thanks a lot! - user3066027
You can download build artifact and then publish it from release pipeline if it helps you. - Krzysztof Madej

1 Answers

1
votes

Please use this task to publish Universal Package from Release pipeline:

enter image description here