From 13730c352c039da4004dcbc7ba9c77f6e10c2978 Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Mon, 7 Oct 2019 10:29:05 +1100 Subject: [PATCH] Publish the packages artifact. --- 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'