From 1dbb72c400eed6920254c81ff6e3747a0f4f65a1 Mon Sep 17 00:00:00 2001 From: jotaylo Date: Tue, 25 Feb 2020 15:57:46 -0800 Subject: [PATCH] fixing pipeline condition (#209) Fixing regression introduced in #207 - don't continue pipeline on lint/unit test errors. --- .pipelines/diabetes_regression-ci-build-train.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pipelines/diabetes_regression-ci-build-train.yml b/.pipelines/diabetes_regression-ci-build-train.yml index 9c653978..afb69c5e 100644 --- a/.pipelines/diabetes_regression-ci-build-train.yml +++ b/.pipelines/diabetes_regression-ci-build-train.yml @@ -43,7 +43,7 @@ stages: - stage: 'Trigger_AML_Pipeline' displayName: 'Train model' - condition: not(variables['MODEL_BUILD_ID']) + condition: and(succeeded(), not(variables['MODEL_BUILD_ID'])) jobs: - job: "Get_Pipeline_ID" condition: and(succeeded(), eq(coalesce(variables['auto-trigger-training'], 'true'), 'true'))