diff --git a/eng/pipeline/stages/run-stage.yml b/eng/pipeline/stages/run-stage.yml index a0db3d50d0..011e94ce99 100644 --- a/eng/pipeline/stages/run-stage.yml +++ b/eng/pipeline/stages/run-stage.yml @@ -280,7 +280,8 @@ stages: condition: and(ne(variables['TEST_BUILDER_SUCCESSFUL'], 'true'), succeeded()) ${{ if ne(attempt, 'FINAL') }}: ignoreLASTEXITCODE: true - ${{ if eq(parameters.builder.broken, true) }}: + ${{ elseif eq(parameters.builder.broken, true) }}: + # Don't fail the job if we are at the last retry and the builder is marked as broken. continueOnError: true # - ${{ if eq(parameters.builder.config, 'buildandpack' ) }}: