From ea40952695ec433bf85392d0402d0f8155d0f9f3 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Mon, 11 Feb 2019 12:34:29 -0800 Subject: [PATCH] Publish built packages to artifacts on PRs as well (dotnet/corefx#35232) Commit migrated from https://github.com/dotnet/corefx/commit/c4850a44862d1d3ccc1a47de2a99d0dea4f6fd7f --- eng/pipelines/libraries/corefx-base.yml | 15 +++++++-------- eng/pipelines/libraries/windows.yml | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/eng/pipelines/libraries/corefx-base.yml b/eng/pipelines/libraries/corefx-base.yml index 53ad27d..251d3ee 100644 --- a/eng/pipelines/libraries/corefx-base.yml +++ b/eng/pipelines/libraries/corefx-base.yml @@ -187,11 +187,10 @@ jobs: # TODO: Enable azure pipelines reporter for PRs once retry feature is available. enableAzurePipelinesReporter: false - - ${{ if eq(parameters.isOfficialBuild, 'true') }}: - - task: PublishBuildArtifacts@1 - displayName: Publish packages to artifacts container - inputs: - pathToPublish: $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig) - artifactName: packages - artifactType: container - condition: and(succeeded(), ne(variables['_skipPublishPackages'], 'true')) + - task: PublishBuildArtifacts@1 + displayName: Publish packages to artifacts container + inputs: + pathToPublish: $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig) + artifactName: packages + artifactType: container + condition: and(succeeded(), ne(variables['_skipPublishPackages'], 'true')) diff --git a/eng/pipelines/libraries/windows.yml b/eng/pipelines/libraries/windows.yml index da4be7e..d56c6f4 100644 --- a/eng/pipelines/libraries/windows.yml +++ b/eng/pipelines/libraries/windows.yml @@ -39,6 +39,7 @@ jobs: _architecture: x86 _framework: netfx _helixQueues: $(uapNetfxQueues) + _skipPublishPackages: true # In NETFX leg we don't produce packages UWP_CoreCLR_x64_Debug: _BuildConfig: Debug -- 2.7.4