Skip to content

Commit

Permalink
always run the evaluation step (#154)
Browse files Browse the repository at this point in the history
Set the ci-build-train pipeline to always run the evaluation step (even if the pipeline is cancelled). This will cause the Azure Pipeline to log the reason for cancellation rather than just "silently failing".
  • Loading branch information
jotaylo authored Jan 29, 2020
1 parent b3d598e commit ecad47f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pipelines/diabetes_regression-ci-build-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ stages:
PipelineParameters: '"ParameterAssignments": {"model_name": "$(MODEL_NAME)", "hyperparameter_alpha": "$(ALPHA)"}'
- job: "Training_Run_Report"
dependsOn: "Run_ML_Pipeline"
condition: always()
displayName: "Determine if evaluation succeeded and new model is registered"
pool:
vmImage: 'ubuntu-latest'
Expand Down

0 comments on commit ecad47f

Please sign in to comment.