Publish built packages to artifacts on PRs as well (dotnet/corefx#35232)
authorSantiago Fernandez Madero <safern@microsoft.com>
Mon, 11 Feb 2019 20:34:29 +0000 (12:34 -0800)
committerGitHub <noreply@github.com>
Mon, 11 Feb 2019 20:34:29 +0000 (12:34 -0800)
Commit migrated from https://github.com/dotnet/corefx/commit/c4850a44862d1d3ccc1a47de2a99d0dea4f6fd7f

eng/pipelines/libraries/corefx-base.yml
eng/pipelines/libraries/windows.yml

index 53ad27d..251d3ee 100644 (file)
@@ -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'))
index da4be7e..d56c6f4 100644 (file)
@@ -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