diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2021-02-24 13:58:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 13:58:16 +0300 |
commit | b37475f79d143063be6b6870260eec500d80189d (patch) | |
tree | c5f414f1e96f8c51667ac577f1e42ea0cdee1c83 /eng | |
parent | 43ba0de3cc7fe52f17edfba01a6aa6377980ab12 (diff) |
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.
Diffstat (limited to 'eng')
-rw-r--r-- | eng/azure-pipelines.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eng/azure-pipelines.yml b/eng/azure-pipelines.yml index 43b625e1c..d0cc1db10 100644 --- a/eng/azure-pipelines.yml +++ b/eng/azure-pipelines.yml @@ -40,8 +40,9 @@ stages: helixRepo: mono/linker enablePublishUsingPipelines: true enablePublishBuildArtifacts: true # publish build logs to pipeline storage - enablePublishTestResults: true - testResultsFormat: vstest + ${{ if eq(variables.officialBuild, 'false') }}: + enablePublishTestResults: true + testResultsFormat: vstest enablePublishBuildAssets: true # generate build manifests and publish to BAR in internal builds enableMicrobuild: true # only affects internal builds |