mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
ci: Mark SucceededWithIssues as failure
This marks the pipeline a failure if it gets into SucceededWithIssues. We do this because there might be sections of the test we want to continue running even if the previous step failed. Signed-off-by: Steven Koo <steven.koo@ni.com>
This commit is contained in:
parent
94b78844fc
commit
34bb12c2b0
@ -307,3 +307,11 @@ jobs:
|
||||
artifact: test-logs-x4xx-hardware-$(dutName)-run$(System.JobAttempt)
|
||||
displayName: Upload Test Logs
|
||||
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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user