From 3a14c49c7d070c1ff40bb3f052e4b25d1c716b67 Mon Sep 17 00:00:00 2001 From: Cesar Soares Lucas Date: Wed, 10 Apr 2019 00:28:40 -0700 Subject: [PATCH 1/2] Onboard with async publishing --- azure-pipelines.yml | 4 ++++ eng/ci.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1e492df7685..5747c5b7266 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,6 +5,10 @@ # so they can be used to control yaml flow. variables: + - name: _PublishUsingPipelines + value: true + - name: _DotNetArtifactsCategory + value: WINDOWSDESKTOP # clean the local repo on the build agents Build.Repository.Clean: true diff --git a/eng/ci.yml b/eng/ci.yml index aeca18b6926..397bba0800f 100644 --- a/eng/ci.yml +++ b/eng/ci.yml @@ -14,6 +14,7 @@ jobs: enablePublishBuildArtifacts: true enablePublishTestResults: true enablePublishBuildAssets: true + enablePublishUsingPipelines: $(_PublishUsingPipelines) enableTelemetry: true helixRepo: $(repoName) @@ -89,6 +90,8 @@ jobs: value: /p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1) /p:DotNetPublishBlobFeedUrl=$(_PublishBlobFeedUrl) /p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed) + /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines) + /p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory) /p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat) /p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat) - name: _OfficialBuildIdArgs From 51119a607a5fc65ddc99d37931537347d0a4f3aa Mon Sep 17 00:00:00 2001 From: Cesar Soares Lucas Date: Wed, 10 Apr 2019 00:32:35 -0700 Subject: [PATCH 2/2] fix syntax --- azure-pipelines.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5747c5b7266..c631379ca9a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,11 +5,8 @@ # so they can be used to control yaml flow. variables: - - name: _PublishUsingPipelines - value: true - - name: _DotNetArtifactsCategory - value: WINDOWSDESKTOP - + _PublishUsingPipelines: true + _DotNetArtifactsCategory: WINDOWSDESKTOP # clean the local repo on the build agents Build.Repository.Clean: true