From 5bec841d8ec91a1c240068e90b40a99eebc956a1 Mon Sep 17 00:00:00 2001 From: Jose Perez Rodriguez Date: Thu, 9 May 2019 13:44:13 -0700 Subject: [PATCH 1/2] Fix official build which is failing when trying to publish the packages to BAR --- azure-pipelines.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3885211a7..e9df37a0c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,12 +22,14 @@ jobs: enableMicrobuild: true enablePublishBuildArtifacts: true enablePublishTestResults: false - enablePublishBuildAssets: true enablePublishUsingPipelines: $(_PublishUsingPipelines) enableTelemetry: true helixRepo: dotnet/standard jobs: - job: Windows_NT + ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: + parameters: + enablePublishBuildAssets: true pool: ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}: name: NetCorePublic-Int-Pool @@ -71,6 +73,7 @@ jobs: - script: build.cmd -configuration $(_BuildConfig) -prepareMachine + -publish -ci -warnaserror:0 $(_BuildArgs) From 77d436949d46afb9c5723963a3c6d59133da4b99 Mon Sep 17 00:00:00 2001 From: Jose Perez Rodriguez Date: Thu, 9 May 2019 14:00:17 -0700 Subject: [PATCH 2/2] Fix parameter for publishing to BAR --- azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e9df37a0c..f690528e9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,14 +22,12 @@ jobs: enableMicrobuild: true enablePublishBuildArtifacts: true enablePublishTestResults: false + enablePublishBuildAssets: true enablePublishUsingPipelines: $(_PublishUsingPipelines) enableTelemetry: true helixRepo: dotnet/standard jobs: - job: Windows_NT - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - parameters: - enablePublishBuildAssets: true pool: ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}: name: NetCorePublic-Int-Pool