Skip to content

Commit

Permalink
add missing entrypoint.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Apr 27, 2024
1 parent 1344c9e commit c4c3e65
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 15 additions & 0 deletions entrypoint.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c4c3e65

Please sign in to comment.