Skip to content

Commit 69af95a

Browse files
mmitcheCopilot
andcommitted
Don't fail scheduled outerloop builds on Helix work item failures
The libraries outerloop pipeline runs on a daily schedule with always:false, meaning AzDO only re-queues a commit if there were changes since the last successful scheduled run. Because flaky outerloop tests cause the 'Send to Helix' task to fail on essentially every scheduled run, the build never succeeds, so AzDO re-queues the same commit every day and submits ever more Helix work for an unchanged sha. Set shouldContinueOnError on the Send to Helix step for scheduled builds only (Build.Reason == 'Schedule'), so Helix work item failures no longer fail the build. Compile/build breaks still fail the build, and PR/CI/manual runs are unaffected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 20950fc commit 69af95a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

eng/pipelines/libraries/outerloop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ extends:
2323
parameters:
2424
jobTemplate: /eng/pipelines/common/global-build-job.yml
2525
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
26+
# Don't fail scheduled builds on Helix work item failures. Otherwise a perpetually
27+
# failing scheduled build (flaky outerloop tests) causes AzDO to re-queue the same
28+
# commit every day, wasting Helix resources. See always:false on the schedule above.
29+
shouldContinueOnError: ${{ eq(variables['Build.Reason'], 'Schedule') }}
2630
buildConfig: Release
2731
platforms:
2832
- ${{ if eq(variables['includeWindowsOuterloop'], true) }}:
@@ -58,6 +62,8 @@ extends:
5862
parameters:
5963
jobTemplate: /eng/pipelines/common/global-build-job.yml
6064
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
65+
# Don't fail scheduled builds on Helix work item failures (see comment above).
66+
shouldContinueOnError: ${{ eq(variables['Build.Reason'], 'Schedule') }}
6167
buildConfig: Debug
6268
platforms:
6369
- ${{ if eq(variables['includeWindowsOuterloop'], true) }}:
@@ -87,6 +93,8 @@ extends:
8793
parameters:
8894
jobTemplate: /eng/pipelines/common/global-build-job.yml
8995
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
96+
# Don't fail scheduled builds on Helix work item failures (see comment above).
97+
shouldContinueOnError: ${{ eq(variables['Build.Reason'], 'Schedule') }}
9098
buildConfig: Release
9199
platforms:
92100
- windows_x86

0 commit comments

Comments
 (0)