Skip to content

Commit 1614c53

Browse files
authored
Test Samples shouldn't run if we have a failure earlier in the build (Azure#19893)
1 parent a54df6f commit 1614c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/pipelines/templates/steps/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ steps:
9090

9191
- task: PythonScript@0
9292
displayName: 'Test Samples'
93-
condition: eq(variables['TestSamples'], 'true')
93+
condition: and(succeeded(), eq(variables['TestSamples'], 'true'))
9494
inputs:
9595
scriptPath: 'scripts/devops_tasks/setup_execute_tests.py'
9696
arguments: >-

0 commit comments

Comments
 (0)