diff options
-rw-r--r-- | .ci/templates/job-uhd-devtest.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.ci/templates/job-uhd-devtest.yml b/.ci/templates/job-uhd-devtest.yml index 24d1985bf..a277167c0 100644 --- a/.ci/templates/job-uhd-devtest.yml +++ b/.ci/templates/job-uhd-devtest.yml @@ -184,3 +184,10 @@ jobs: failTaskOnFailedTests: true displayName: Upload devtest results condition: always() + + - script: | + echo "A previous step failed. See steps with warnings." + echo "Marking the overall build status as a failure." + exit 1 + condition: in(variables['Agent.JobStatus'], 'SucceededWithIssues') + displayName: Mark build as failure |