Flag a step with a warning

Hi,

We do some powershell scripting for each of our steps. Write-Error is enougth to flag the step as failed but I would like to know if there is a possibility to raise a warning message that doesn’t break the release and flag the step yellow. I tried with Write-Warning in powershell but the step is green and it doesn’t get noticed.

Regards,
Jose.

Hi Jose,

Thanks for getting in touch!
You can use the following and it should behave how you want: Write-Error “Hello” -ErrorAction Continue

Hope that helps!
Vanessa

Thanks Vanessa!