From 694924c83abc0f8ed500e52a282dce602f6f7d73 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Sat, 1 Dec 2018 17:56:38 -0800 Subject: [PATCH] Add Symbol publishing --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d076050997..72b37cdddb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,6 +9,7 @@ variables: # These are needed to suppress a warning in the cibuild invocation since AzDO leaves the `$(_SignArgs)` in place and it fails to resolve. _SignArgs: '' _OfficialBuildIdArgs: '' + _PublishArgs: '' # Variables for internal Official builds ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.DefinitionName'], 'official')) }}: @@ -17,6 +18,7 @@ variables: _SignType: test _SignArgs: /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) _OfficialBuildIdArgs: /p:OfficialBuildId=$(Build.BuildNumber) + _PublishArgs: '/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat) /p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)' resources: containers: @@ -55,6 +57,7 @@ phases: -prepareMachine $(_SignArgs) $(_OfficialBuildIdArgs) + $(_PublishArgs) name: Build displayName: Build condition: succeeded()