Skip to content

Commit bd51735

Browse files
[ci] Fix test stage dependency issue. (#11386) (#11392)
Why I did it When any of the test job failed in the test stage, the rerun will not work, the test stage will be skipped automaticall, so we do not have chance to rerun the test stage again, and the checks of the test will be always in failed status, block the PR to merge forever. It should be caused by the condition in the Test stage, we should specify the status of the BuildVS stage. How I did it Fix stage dependency logic.
1 parent 2e5a249 commit bd51735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ stages:
6363

6464
- stage: Test
6565
dependsOn: Build
66-
condition: and(ne(stageDependencies.BuildVS.outputs['vs.SetVar.SKIP_VSTEST'], 'YES'), succeeded())
66+
condition: and(ne(stageDependencies.BuildVS.outputs['vs.SetVar.SKIP_VSTEST'], 'YES'), in(dependencies.BuildVS.result, 'Succeeded', 'SucceededWithIssues'))
6767
variables:
6868
- name: inventory
6969
value: veos_vtb

0 commit comments

Comments
 (0)