mirror of
https://github.com/Jackett/Jackett
synced 2024-12-23 00:08:23 +00:00
Update azure-pipelines.yml
This commit is contained in:
parent
987c68260b
commit
a0a922a390
1 changed files with 1 additions and 1 deletions
|
@ -578,6 +578,6 @@ stages:
|
||||||
$successCount = (Select-String "Uploaded file successfully:" -InputObject $logInspect -AllMatches).Matches.Count
|
$successCount = (Select-String "Uploaded file successfully:" -InputObject $logInspect -AllMatches).Matches.Count
|
||||||
$failureCount = (Select-String "Duplicate asset found:" -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"
|
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" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue