Skip to content

Commit 66ccfb8

Browse files
authored
update job run condition for Analyze job (#37212)
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.
1 parent 78857ec commit 66ccfb8

File tree

1 file changed

+1
-1
lines changed
  • eng/pipelines/templates/jobs

1 file changed

+1
-1
lines changed

eng/pipelines/templates/jobs/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
Artifacts: ${{ parameters.Artifacts }}
148148

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

152152
timeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}
153153

0 commit comments

Comments
 (0)