diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a03f7a1a56..ac255e1207 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,7 +3,7 @@ variables: _TeamName: AspNetCore _DotNetPublishToBlobFeed : false _PublishBlobFeedUrl: https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json - _PublishArgs: '' + _PublishArgs: '/p:PublishToSymbolServer=false /p:PublishToAzure=false' # Variables for public PR builds ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.DefinitionName'], 'github')) }}: @@ -60,6 +60,7 @@ phases: _PublishArgs: /p:PublishToSymbolServer=true /p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat) /p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat) + /p:PublishToAzure=true /p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1) /p:DotNetPublishBlobFeedUrl=$(_PublishBlobFeedUrl) /p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)