6

In my pipeline I have a task (among others) that either succeeds or succeeds with issues, controlled by:

if (-Not $packagesAreUpToDate) {Write-Host "##vso[task.complete result=SucceededWithIssues;]"}

This task makes the entire job (containing other tasks) have the status "warning", which is desired.

example

The issue is when observing the commit history, where the pipeline appears as if they have failed (when they should have the status "Warning" or something similar).

example

Is there a way to fix this, or is it a bug or feature which has not yet been added by Azure DevOps?

James Z
  • 12,209
  • 10
  • 24
  • 44
Haris H
  • 61
  • 2

0 Answers0