mirror of https://github.com/Jackett/Jackett
Pipeline: Get text after list of commits #3
This commit is contained in:
parent
f4c8677091
commit
0979b0c86d
|
@ -388,7 +388,7 @@ stages:
|
|||
$logText = Invoke-WebRequest $logUrl
|
||||
if ($logText -like '*Creating a release for tag:*')
|
||||
{
|
||||
$logInspect = ($logText -split "Creating a release for tag:")[2]
|
||||
$logInspect = ($logText -split "Creating a release for tag:")[-1]
|
||||
$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"
|
||||
|
|
Loading…
Reference in New Issue