mirror of
https://github.com/Jackett/Jackett
synced 2024-12-26 17:58:49 +00:00
core: fix azure pipeline (#8159)
This commit is contained in:
parent
b5f5e7d619
commit
5ce1907da1
1 changed files with 1 additions and 2 deletions
|
@ -512,7 +512,7 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
$json = Invoke-WebRequest 'https://dev.azure.com/jackett/jackett/_apis/build/builds/$(Build.BuildId)/logs?api-version=5.0' | ConvertFrom-Json
|
$json = Invoke-WebRequest 'https://dev.azure.com/Jackett-project/jackett/_apis/build/builds/$(Build.BuildId)/logs?api-version=5.0' | ConvertFrom-Json
|
||||||
$lastTwoLogUrls = $json.value[-1..-2].url
|
$lastTwoLogUrls = $json.value[-1..-2].url
|
||||||
foreach($logUrl in $lastTwoLogUrls)
|
foreach($logUrl in $lastTwoLogUrls)
|
||||||
{
|
{
|
||||||
|
@ -527,4 +527,3 @@ stages:
|
||||||
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