From 538beaadab6cc09573bfad76336fe557ea4a4404 Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Mon, 27 Jun 2022 10:28:45 -0500 Subject: ci: Mark devtest as failure on SucceededWithIssues This marks the job as a failure on SucceededWithIssues. This could be from failure in device setup or other reasons. Signed-off-by: Steven Koo --- .ci/templates/job-uhd-devtest.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3