Skip to content

Commit

Permalink
update job run condition for Analyze job (#37212)
Browse files Browse the repository at this point in the history
remove succeededOrFailed(), we only want succeeded(). the reasoning here is that we need to download packages_extended from the build_extended stage, so having it set as succededOrFailed() when buildextended DOES fail, means that we can't get the artifact anyway! may as well remove the unconditional run.
  • Loading branch information
scbedd authored Sep 5, 2024
1 parent 78857ec commit 66ccfb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
Artifacts: ${{ parameters.Artifacts }}

- job: 'Analyze'
condition: and(succeededOrFailed(), ne(variables['Skip.Analyze'], 'true'))
condition: and(succeeded(), ne(variables['Skip.Analyze'], 'true'))

timeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}

Expand Down

0 comments on commit 66ccfb8

Please sign in to comment.