mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 09:43:57 +08:00
7 lines
352 B
YAML
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')
|