mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
azure-pipeline: Add debug logging (#7541)
Hopefully will help with github publish failures, quite a few debug statements there... https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/GitHubReleaseV0/operations/Action.ts
This commit is contained in:
@@ -7,6 +7,7 @@ variables:
|
|||||||
buildConfiguration: Release
|
buildConfiguration: Release
|
||||||
netCoreFramework: netcoreapp3.1
|
netCoreFramework: netcoreapp3.1
|
||||||
netCoreSdkVersion: 3.1.x
|
netCoreSdkVersion: 3.1.x
|
||||||
|
system.debug: true
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: BuildJackett
|
- stage: BuildJackett
|
||||||
@@ -376,7 +377,7 @@ stages:
|
|||||||
$lastTwoLogUrls = $json.value[-1..-2].url
|
$lastTwoLogUrls = $json.value[-1..-2].url
|
||||||
foreach($logUrl in $lastTwoLogUrls)
|
foreach($logUrl in $lastTwoLogUrls)
|
||||||
{
|
{
|
||||||
Write-Host $logUrl
|
Write-Output $logUrl
|
||||||
$logText = Invoke-WebRequest $logUrl
|
$logText = Invoke-WebRequest $logUrl
|
||||||
if ($logText -like '*: GitHub Release*')
|
if ($logText -like '*: GitHub Release*')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user