From 133ef071076360740169b0cdd8bd5596f2f55f0a Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Mon, 7 Oct 2019 10:46:37 +1100 Subject: [PATCH] Publish the packages artifact. (#7643) --- eng/pipelines/templates/steps/build-artifacts.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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'