Disable azure pipelines reporter for official builds (dotnet/corefx#35540)
authorSantiago Fernandez Madero <safern@microsoft.com>
Sat, 23 Feb 2019 01:00:31 +0000 (17:00 -0800)
committerGitHub <noreply@github.com>
Sat, 23 Feb 2019 01:00:31 +0000 (17:00 -0800)
Commit migrated from https://github.com/dotnet/corefx/commit/a41629b2604a9dc92305f4df067898a377f72b17

eng/pipelines/libraries/corefx-base.yml

index 14de0bf..520e4f6 100644 (file)
@@ -215,16 +215,13 @@ jobs:
                 msbuildScript: $(_msbuildCommand)
                 framework: $(_framework)
                 outerloop: $(_outerloop)
+                enableAzurePipelinesReporter: false
 
                 ${{ if eq(parameters.isOfficialBuild, 'true') }}:
                   isExternal: false
                   waitForCompletion: false
                   officialBuildId: $(Build.BuildNumber)
                   helixToken: $(HelixApiAccessToken)
-                  ${{ if ne(job.enableAzurePipelinesReporter, '') }}:
-                    enableAzurePipelinesReporter: ${{ job.enableAzurePipelinesReporter }}
-                  ${{ if eq(job.enableAzurePipelinesReporter, '') }}:
-                    enableAzurePipelinesReporter: true
 
                 ${{ if eq(parameters.isOfficialBuild, 'false') }}:
                   # TODO: SET Creator to the PR owner whenever Azure DevOps supports a good way to retrieve it.
@@ -232,8 +229,6 @@ jobs:
                   isExternal: true
                   waitForCompletion: true
                   helixToken: ''
-                  # TODO: Enable azure pipelines reporter for PRs once retry feature is available.
-                  enableAzurePipelinesReporter: false
 
           - ${{ if eq(parameters.isOfficialBuild, 'true') }}:
             - task: PublishBuildArtifacts@1