1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

hack/ci/windows.ps1 print all environment variables to check how Jenkins runs this script

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-09-06 23:32:57 +02:00
parent 8e8c52c4ab
commit 7eb522a235
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -15,6 +15,11 @@ if ($env:BUILD_TAG -match "-LoW") { $env:LCOW_MODE=1 }
if ($env:BUILD_TAG -match "-WoW") { $env:LCOW_MODE="" }
Write-Host -ForegroundColor Red "DEBUG: print all environment variables to check how Jenkins runs this script"
$allArgs = [Environment]::GetCommandLineArgs()
Write-Host -ForegroundColor Red $allArgs
Write-Host -ForegroundColor Red "----------------------------------------------------------------------------"
# -------------------------------------------------------------------------------------------
# When executed, we rely on four variables being set in the environment:
#