Skip to content

Commit

Permalink
[skip actions] Debug ci failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Nov 16, 2021
1 parent 4b7952c commit 03f3d52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/azure-pipelines/test-modified-ports.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ else

& "./vcpkg$executableExtension" ci $Triplet --x-xunit=$xmlFile --exclude=$skipList --failure-logs=$failureLogs @hostArgs @commonArgs @cachingArgs @parentHashes

if ($LASTEXITCODE -ne 0)
{
& "./vcpkg$executableExtension" ci $Triplet --debug --x-xunit=$xmlFile --exclude=$skipList --failure-logs=$failureLogs @hostArgs @commonArgs @cachingArgs @parentHashes
}

$failureLogsEmpty = (-Not (Test-Path $failureLogs) -Or ((Get-ChildItem $failureLogs).count -eq 0))
Write-Host "##vso[task.setvariable variable=FAILURE_LOGS_EMPTY]$failureLogsEmpty"

Expand Down

0 comments on commit 03f3d52

Please sign in to comment.