Skip to content

Commit 6e88854

Browse files
authored
Remove internal args from public build (#54748)
1 parent 5d31d5e commit 6e88854

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -50,31 +50,6 @@ variables:
5050
value: true
5151
- name: _UseHelixOpenQueues
5252
value: ${{ ne(variables['System.TeamProject'], 'internal') }}
53-
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
54-
- name: _BuildArgs
55-
value: /p:TeamName=$(_TeamName)
56-
/p:OfficialBuildId=$(Build.BuildNumber)
57-
/p:SkipTestBuild=true
58-
/p:PostBuildSign=$(PostBuildSign)
59-
# Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT
60-
- group: Publish-Build-Assets
61-
# The following extra properties are not set when testing. Use with final build.[cmd,sh] of asset-producing jobs.
62-
- name: _PublishArgs
63-
value: /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
64-
- ${{ if ne(parameters.produceBinlogs, 'true') }}:
65-
# Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
66-
- name: WindowsArm64LogArgs
67-
value: -ExcludeCIBinaryLog
68-
- name: Windows64LogArgs
69-
value: -ExcludeCIBinaryLog
70-
- name: Windows86LogArgs
71-
value: -ExcludeCIBinaryLog
72-
- name: WindowsSignLogArgs
73-
value: -ExcludeCIBinaryLog
74-
- name: WindowsInstallersLogArgs
75-
value: -ExcludeCIBinaryLog
76-
- name: WindowsArm64InstallersLogArgs
77-
value: -ExcludeCIBinaryLog
7853
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
7954
- name: _BuildArgs
8055
value: '/p:SkipTestBuild=true /p:PostBuildSign=$(PostBuildSign)'
@@ -671,4 +646,4 @@ stages:
671646
timeoutInMinutes: 120
672647
variables:
673648
# Log environment variables in binary logs to ease debugging
674-
MSBUILDLOGALLENVIRONMENTVARIABLES: true
649+
MSBUILDLOGALLENVIRONMENTVARIABLES: true

0 commit comments

Comments
 (0)