Skip to content

Commit b37475f

Browse files
authored
Don't publish test results in official build (#1848)
We don't run tests there so we get a warning about missing test result files in the official build.
1 parent 43ba0de commit b37475f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eng/azure-pipelines.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ stages:
4040
helixRepo: mono/linker
4141
enablePublishUsingPipelines: true
4242
enablePublishBuildArtifacts: true # publish build logs to pipeline storage
43-
enablePublishTestResults: true
44-
testResultsFormat: vstest
43+
${{ if eq(variables.officialBuild, 'false') }}:
44+
enablePublishTestResults: true
45+
testResultsFormat: vstest
4546
enablePublishBuildAssets: true # generate build manifests and publish to BAR in internal builds
4647
enableMicrobuild: true # only affects internal builds
4748

0 commit comments

Comments
 (0)