diff --git a/eng/pipelines/templates/steps/build-artifacts.yml b/eng/pipelines/templates/steps/build-artifacts.yml index 65d51c33a2ec..24852db250e2 100644 --- a/eng/pipelines/templates/steps/build-artifacts.yml +++ b/eng/pipelines/templates/steps/build-artifacts.yml @@ -59,6 +59,13 @@ steps: artifactName: 'artifacts' targetPath: $(Build.ArtifactStagingDirectory) + # Duplicating the task above to introduce a packages artifact for consistency + # with the other pipelines. Also using the newer YAML shortcut. Once we get + # past release successfully with unified pipelines we'll look at getting rid + # of the duplicated "artifacts" artifact. + - publish: $(Build.ArtifactStagingDirectory) + artifact: packages + - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish Artifacts'