diff --git a/build.ps1 b/build.ps1 index e6623685..4cfde05f 100644 --- a/build.ps1 +++ b/build.ps1 @@ -14,7 +14,7 @@ $Organisation = 'jenkins' $ImageType = 'windows-ltsc2019' $baseDockerCmd = 'docker-compose --file=build-windows.yaml' -$baseDockerBuildCmd = '{0} build --progress=plain --quiet --parallel --pull' -f $baseDockerCmd +$baseDockerBuildCmd = '{0} build --parallel --pull' -f $baseDockerCmd $env:TESTS_DEBUG = $TestsDebug diff --git a/entrypoint.ps1 b/entrypoint.ps1 new file mode 100644 index 00000000..d13267a9 --- /dev/null +++ b/entrypoint.ps1 @@ -0,0 +1,15 @@ +[CmdletBinding()] +Param( + [Parameter(Position = 0, ValueFromRemainingArguments = $true)] + [string] $Cmd +) + +Write-Host '=== dump network information' +ipconfig +netstat -a + +Write-Host '=== call OpenSSH-Win64 install-sshd.ps1' +& 'C:/Program Files/OpenSSH-Win64/install-sshd.ps1' + +Write-Host '=== call setup-sshd.ps1' +& C:/ProgramData/Jenkins/setup-sshd.ps1 $Cmd