PowerShell/.pipelines/templates/step/finalize.yml
2024-03-26 11:27:33 -07:00

7 lines
352 B
YAML

# This was used before migrating to OneBranch to deal with one of the SDL taks from failing with a warning instead of an error.
steps:
- pwsh: |
throw "Jobs with an Issue will not work for release. Please fix the issue and try again."
displayName: Check for SucceededWithIssues
condition: eq(variables['Agent.JobStatus'],'SucceededWithIssues')