Update azure-pipelines.yml

This commit is contained in:
Garfield69 2021-11-18 08:40:50 +13:00
parent 987c68260b
commit a0a922a390
1 changed files with 1 additions and 1 deletions

View File

@ -578,6 +578,6 @@ stages:
$successCount = (Select-String "Uploaded file successfully:" -InputObject $logInspect -AllMatches).Matches.Count
$failureCount = (Select-String "Duplicate asset found:" -InputObject $logInspect -AllMatches).Matches.Count
Write-Output "Success count is: $successCount and failure count is: $failureCount"
if (($successCount -ne 7) -or ($failureCount -ne 0)) { Write-Host "##vso[task.complete result=Failed;]DONE" }
if (($successCount -ne 8) -or ($failureCount -ne 0)) { Write-Host "##vso[task.complete result=Failed;]DONE" }
}
}