Browse code

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7eb522a2350d759cf6a9aad493ac1b8ffc3d3335)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/09/07 06:32:57
Showing 1 changed files
... ...
@@ -15,6 +15,11 @@ if ($env:BUILD_TAG -match "-LoW") { $env:LCOW_MODE=1 }
15 15
 if ($env:BUILD_TAG -match "-WoW") { $env:LCOW_MODE="" }
16 16
 
17 17
 
18
+Write-Host -ForegroundColor Red "DEBUG: print all environment variables to check how Jenkins runs this script"
19
+$allArgs = [Environment]::GetCommandLineArgs()
20
+Write-Host -ForegroundColor Red $allArgs
21
+Write-Host -ForegroundColor Red "----------------------------------------------------------------------------"
22
+
18 23
 # -------------------------------------------------------------------------------------------
19 24
 # When executed, we rely on four variables being set in the environment:
20 25
 #