1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 15:57:50 +00:00

Update azure-pipelines.yml

This commit is contained in:
Garfield69 2021-11-18 08:40:50 +13:00
parent 987c68260b
commit a0a922a390

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" }
}
}