Skip to content

Commit 1dbb72c

Browse files
authored
fixing pipeline condition (#209)
Fixing regression introduced in #207 - don't continue pipeline on lint/unit test errors.
1 parent b0da645 commit 1dbb72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pipelines/diabetes_regression-ci-build-train.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ stages:
4343

4444
- stage: 'Trigger_AML_Pipeline'
4545
displayName: 'Train model'
46-
condition: not(variables['MODEL_BUILD_ID'])
46+
condition: and(succeeded(), not(variables['MODEL_BUILD_ID']))
4747
jobs:
4848
- job: "Get_Pipeline_ID"
4949
condition: and(succeeded(), eq(coalesce(variables['auto-trigger-training'], 'true'), 'true'))

0 commit comments

Comments
 (0)