mirror of
https://github.com/Jackett/Jackett
synced 2024-12-26 09:48:37 +00:00
Test build from master
This commit is contained in:
parent
e8fc2c758f
commit
9a39fcc310
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ stages:
|
||||||
{
|
{
|
||||||
$successCount = (Select-String "Uploaded file successfully:" -InputObject $logText -AllMatches).Matches.Count
|
$successCount = (Select-String "Uploaded file successfully:" -InputObject $logText -AllMatches).Matches.Count
|
||||||
$failureCount = (Select-String "Duplicate asset found:" -InputObject $logText -AllMatches).Matches.Count
|
$failureCount = (Select-String "Duplicate asset found:" -InputObject $logText -AllMatches).Matches.Count
|
||||||
Write-Host "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 7) -or ($failureCount -ne 0)) { Write-Host "##vso[task.complete result=Failed;]DONE" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue