Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump git-lfs version on Windows to v3.4.1 #337

chore: Update the `git-lfs` Windows version for Windows Nanoserver 2019

258b960
Select commit
Loading
Failed to load commit list.
Closed

Bump git-lfs version on Windows to v3.4.1 #337

chore: Update the `git-lfs` Windows version for Windows Nanoserver 2019
258b960
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Mar 11, 2024 in 14m 44s

Build Docker Image/Windows: error in 'powershell' step

Build Docker Image / Windows / Windows / Windows PowerShell Script

Error in powershell step, with arguments & ./make.ps1 test.

script returned exit code 1
Build log
[2024-03-11T19:16:47.086Z] Building  with name jenkins4eval/ssh-agent:nanoserver-1809
[2024-03-11T19:16:48.927Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:16:48.928Z] 
[2024-03-11T19:16:48.928Z] Step 1/32 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:16:48.928Z] Step 2/32 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809 AS jdk-core
[2024-03-11T19:16:49.236Z] 11.0.19_7-jdk-windowsservercore-1809: Pulling from library/eclipse-temurin
[2024-03-11T19:16:49.444Z] c9226d61d3bd: Pulling fs layer
[2024-03-11T19:16:49.444Z] e36dba1ee29c: Pulling fs layer
[2024-03-11T19:16:49.444Z] 2e991bb72ebb: Pulling fs layer
[2024-03-11T19:16:49.445Z] 10b587b69528: Pulling fs layer
[2024-03-11T19:16:49.445Z] a40594a28301: Pulling fs layer
[2024-03-11T19:16:49.445Z] 4885597471e8: Pulling fs layer
[2024-03-11T19:16:49.446Z] 71514762ff23: Pulling fs layer
[2024-03-11T19:16:49.446Z] 10b587b69528: Waiting
[2024-03-11T19:16:49.446Z] a40594a28301: Waiting
[2024-03-11T19:16:49.447Z] 4885597471e8: Waiting
[2024-03-11T19:16:49.447Z] 71514762ff23: Waiting
[2024-03-11T19:16:49.559Z] 2e991bb72ebb: Verifying Checksum
[2024-03-11T19:16:49.559Z] 2e991bb72ebb: Download complete
[2024-03-11T19:16:49.672Z] 10b587b69528: Download complete
[2024-03-11T19:16:51.699Z] e36dba1ee29c: Verifying Checksum
[2024-03-11T19:16:51.700Z] e36dba1ee29c: Download complete
[2024-03-11T19:16:51.808Z] 4885597471e8: Verifying Checksum
[2024-03-11T19:16:51.809Z] 4885597471e8: Download complete
[2024-03-11T19:16:51.918Z] 71514762ff23: Download complete
[2024-03-11T19:16:54.042Z] a40594a28301: Verifying Checksum
[2024-03-11T19:16:54.043Z] a40594a28301: Download complete
[2024-03-11T19:17:01.616Z] c9226d61d3bd: Download complete
[2024-03-11T19:18:13.592Z] c9226d61d3bd: Pull complete
[2024-03-11T19:19:15.541Z] e36dba1ee29c: Pull complete
[2024-03-11T19:19:15.648Z] 2e991bb72ebb: Pull complete
[2024-03-11T19:19:15.857Z] 10b587b69528: Pull complete
[2024-03-11T19:19:21.006Z] a40594a28301: Pull complete
[2024-03-11T19:19:21.823Z] 4885597471e8: Pull complete
[2024-03-11T19:19:21.932Z] 71514762ff23: Pull complete
[2024-03-11T19:19:21.932Z] Digest: sha256:3dbd2007e6c8c12e476137a877a2653d95c5daadac0be387b2912f06db70fcf8
[2024-03-11T19:19:21.932Z] Status: Downloaded newer image for eclipse-temurin:11.0.19_7-jdk-windowsservercore-1809
[2024-03-11T19:19:21.932Z]  ---> ee4373b67510
[2024-03-11T19:19:21.933Z] Step 3/32 : FROM mcr.microsoft.com/powershell:nanoserver-1809
[2024-03-11T19:19:22.040Z] nanoserver-1809: Pulling from powershell
[2024-03-11T19:19:22.149Z] 5f8edc2588ed: Pulling fs layer
[2024-03-11T19:19:22.150Z] e206020f6af3: Pulling fs layer
[2024-03-11T19:19:22.150Z] 6bd0a02d0f84: Pulling fs layer
[2024-03-11T19:19:22.150Z] eb4977c8e0ea: Pulling fs layer
[2024-03-11T19:19:22.150Z] 803c9eb0c8d5: Pulling fs layer
[2024-03-11T19:19:22.151Z] 6e04cea8eee2: Pulling fs layer
[2024-03-11T19:19:22.151Z] ae0dd42bf980: Pulling fs layer
[2024-03-11T19:19:22.151Z] b44061062e10: Pulling fs layer
[2024-03-11T19:19:22.151Z] cc2b2bac90a3: Pulling fs layer
[2024-03-11T19:19:22.152Z] 6e04cea8eee2: Waiting
[2024-03-11T19:19:22.152Z] ae0dd42bf980: Waiting
[2024-03-11T19:19:22.152Z] eb4977c8e0ea: Waiting
[2024-03-11T19:19:22.152Z] b44061062e10: Waiting
[2024-03-11T19:19:22.153Z] 803c9eb0c8d5: Waiting
[2024-03-11T19:19:22.153Z] cc2b2bac90a3: Waiting
[2024-03-11T19:19:22.261Z] 6bd0a02d0f84: Verifying Checksum
[2024-03-11T19:19:22.261Z] 6bd0a02d0f84: Download complete
[2024-03-11T19:19:22.262Z] e206020f6af3: Verifying Checksum
[2024-03-11T19:19:22.262Z] e206020f6af3: Download complete
[2024-03-11T19:19:22.370Z] 803c9eb0c8d5: Verifying Checksum
[2024-03-11T19:19:22.370Z] 803c9eb0c8d5: Download complete
[2024-03-11T19:19:22.370Z] eb4977c8e0ea: Verifying Checksum
[2024-03-11T19:19:22.370Z] eb4977c8e0ea: Download complete
[2024-03-11T19:19:22.371Z] ae0dd42bf980: Download complete
[2024-03-11T19:19:22.479Z] b44061062e10: Verifying Checksum
[2024-03-11T19:19:22.479Z] b44061062e10: Download complete
[2024-03-11T19:19:22.587Z] cc2b2bac90a3: Verifying Checksum
[2024-03-11T19:19:22.588Z] cc2b2bac90a3: Download complete
[2024-03-11T19:19:23.301Z] 6e04cea8eee2: Verifying Checksum
[2024-03-11T19:19:23.301Z] 6e04cea8eee2: Download complete
[2024-03-11T19:19:23.302Z] 5f8edc2588ed: Verifying Checksum
[2024-03-11T19:19:23.302Z] 5f8edc2588ed: Download complete
[2024-03-11T19:19:28.955Z] 5f8edc2588ed: Pull complete
[2024-03-11T19:19:29.064Z] e206020f6af3: Pull complete
[2024-03-11T19:19:29.172Z] 6bd0a02d0f84: Pull complete
[2024-03-11T19:19:29.482Z] eb4977c8e0ea: Pull complete
[2024-03-11T19:19:29.590Z] 803c9eb0c8d5: Pull complete
[2024-03-11T19:19:33.022Z] 6e04cea8eee2: Pull complete
[2024-03-11T19:19:33.332Z] ae0dd42bf980: Pull complete
[2024-03-11T19:19:33.441Z] b44061062e10: Pull complete
[2024-03-11T19:19:33.549Z] cc2b2bac90a3: Pull complete
[2024-03-11T19:19:33.550Z] Digest: sha256:0765aeb6bdfdff39ca571a07696067e4c013914ba7b7872447da7547c789a54f
[2024-03-11T19:19:33.550Z] Status: Downloaded newer image for mcr.microsoft.com/powershell:nanoserver-1809
[2024-03-11T19:19:33.550Z]  ---> 5301a224a94a
[2024-03-11T19:19:33.550Z] Step 4/32 : SHELL ["pwsh.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:19:33.663Z]  ---> Running in 6b7cc74910b2
[2024-03-11T19:19:34.480Z]  ---> Removed intermediate container 6b7cc74910b2
[2024-03-11T19:19:34.480Z]  ---> 270fdbdd32b2
[2024-03-11T19:19:34.480Z] Step 5/32 : USER ContainerAdministrator
[2024-03-11T19:19:34.481Z]  ---> Running in f0461f3f2a9a
[2024-03-11T19:19:34.793Z]  ---> Removed intermediate container f0461f3f2a9a
[2024-03-11T19:19:34.793Z]  ---> 7b5039219a21
[2024-03-11T19:19:34.793Z] Step 6/32 : COPY --from=jdk-core /windows/system32/netapi32.dll /windows/system32/netapi32.dll
[2024-03-11T19:19:35.309Z]  ---> 966dfd81528e
[2024-03-11T19:19:35.309Z] Step 7/32 : COPY --from=jdk-core /windows/system32/whoami.exe /windows/system32/whoami.exe
[2024-03-11T19:19:35.822Z]  ---> ef78571f59b4
[2024-03-11T19:19:35.822Z] Step 8/32 : ARG JAVA_HOME="C:\openjdk-11"
[2024-03-11T19:19:35.822Z]  ---> Running in 3c45115855ba
[2024-03-11T19:19:36.033Z]  ---> Removed intermediate container 3c45115855ba
[2024-03-11T19:19:36.033Z]  ---> d82cfa0c925b
[2024-03-11T19:19:36.033Z] Step 9/32 : COPY --from=jdk-core $JAVA_HOME $JAVA_HOME
[2024-03-11T19:19:40.892Z]  ---> d1cc5cda572e
[2024-03-11T19:19:40.892Z] Step 10/32 : RUN $javaMajorVersion = $env:JAVA_HOME.Substring($env:JAVA_HOME.Length - 2);     New-Item -Path "C:\jdk-${javaMajorVersion}" -ItemType SymbolicLink -Value "${env:JAVA_HOME}"
[2024-03-11T19:19:40.999Z]  ---> Running in a1b8d0542ab6
[2024-03-11T19:19:42.229Z] 
[2024-03-11T19:19:42.229Z]     Directory: C:\
[2024-03-11T19:19:42.229Z] 
[2024-03-11T19:19:42.230Z] Mode                 LastWriteTime         Length Name
[2024-03-11T19:19:42.230Z] ----                 -------------         ------ ----
[2024-03-11T19:19:42.230Z] l----           3/11/2024  7:19 PM                jdk-11 -> C:\openjdk-11
[2024-03-11T19:19:42.230Z] 
[2024-03-11T19:19:43.251Z]  ---> Removed intermediate container a1b8d0542ab6
[2024-03-11T19:19:43.252Z]  ---> 4a82863533ec
[2024-03-11T19:19:43.252Z] Step 11/32 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:19:43.363Z]  ---> Running in 493e0e63f4a5
[2024-03-11T19:19:43.574Z]  ---> Removed intermediate container 493e0e63f4a5
[2024-03-11T19:19:43.574Z]  ---> 18b19661326c
[2024-03-11T19:19:43.574Z] Step 12/32 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:19:43.574Z]  ---> Running in 64bcc842ac39
[2024-03-11T19:19:43.785Z]  ---> Removed intermediate container 64bcc842ac39
[2024-03-11T19:19:43.785Z]  ---> 2b79d8042e76
[2024-03-11T19:19:43.785Z] Step 13/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:19:43.896Z]  ---> Running in a99932395363
[2024-03-11T19:19:44.726Z] Retrieving https://github.com/git-for-windows/git/releases/download/v2.44.0.windows.1/MinGit-2.44.0-64-bit.zip ...
[2024-03-11T19:19:50.194Z]  ---> Removed intermediate container a99932395363
[2024-03-11T19:19:50.194Z]  ---> 84c6bd2a26b1
[2024-03-11T19:19:50.194Z] Step 14/32 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:19:50.194Z]  ---> Running in 9d48de9530a3
[2024-03-11T19:19:50.505Z]  ---> Removed intermediate container 9d48de9530a3
[2024-03-11T19:19:50.506Z]  ---> afa7ca14a9fd
[2024-03-11T19:19:50.506Z] Step 15/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install
[2024-03-11T19:19:50.506Z]  ---> Running in b7bcd762ed8c
[2024-03-11T19:19:51.529Z] Retrieving https://github.com/git-lfs/git-lfs/releases/download/v3.4.1/git-lfs-windows-amd64-v3.4.1.zip ...
[2024-03-11T19:19:53.253Z] git: 'lfs' is not a git command. See 'git --help'.
[2024-03-11T19:19:53.253Z] 
[2024-03-11T19:19:53.254Z] The most similar command is
[2024-03-11T19:19:53.254Z] 	log
[2024-03-11T19:19:53.879Z] powershell.exe : The command 'pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = 
[2024-03-11T19:19:53.880Z] [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving 
[2024-03-11T19:19:53.880Z] $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & 
[2024-03-11T19:19:53.880Z] C:\mingit\cmd\git.exe lfs install' returned a non-zero code: 1
[2024-03-11T19:19:53.880Z] At C:\Jenkins\agent\workspace\ackaging_docker-ssh-agent_PR-337@tmp\durable-d831e353\powershellWrapper.ps1:3 char:1
[2024-03-11T19:19:53.880Z] + & powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Comm ...
[2024-03-11T19:19:53.880Z] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2024-03-11T19:19:53.881Z]     + CategoryInfo          : NotSpecified: (The command 'pw...on-zero code: 1:String) [], RemoteException
[2024-03-11T19:19:53.881Z]     + FullyQualifiedErrorId : NativeCommandError
[2024-03-11T19:19:53.881Z]  
[2024-03-11T19:19:53.881Z] Building  with name jenkins4eval/ssh-agent:nanoserver-ltsc2019
[2024-03-11T19:19:53.881Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:19:53.881Z] 
[2024-03-11T19:19:53.881Z] Step 1/32 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:19:53.882Z] Step 2/32 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809 AS jdk-core
[2024-03-11T19:19:53.882Z]  ---> ee4373b67510
[2024-03-11T19:19:53.882Z] Step 3/32 : FROM mcr.microsoft.com/powershell:nanoserver-1809
[2024-03-11T19:19:53.882Z]  ---> 5301a224a94a
[2024-03-11T19:19:53.883Z] Step 4/32 : SHELL ["pwsh.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:19:53.883Z]  ---> Using cache
[2024-03-11T19:19:53.883Z]  ---> 270fdbdd32b2
[2024-03-11T19:19:53.883Z] Step 5/32 : USER ContainerAdministrator
[2024-03-11T19:19:53.883Z]  ---> Using cache
[2024-03-11T19:19:53.883Z]  ---> 7b5039219a21
[2024-03-11T19:19:53.884Z] Step 6/32 : COPY --from=jdk-core /windows/system32/netapi32.dll /windows/system32/netapi32.dll
[2024-03-11T19:19:53.884Z]  ---> Using cache
[2024-03-11T19:19:53.884Z]  ---> 966dfd81528e
[2024-03-11T19:19:53.884Z] Step 7/32 : COPY --from=jdk-core /windows/system32/whoami.exe /windows/system32/whoami.exe
[2024-03-11T19:19:54.003Z]  ---> Using cache
[2024-03-11T19:19:54.003Z]  ---> ef78571f59b4
[2024-03-11T19:19:54.004Z] Step 8/32 : ARG JAVA_HOME="C:\openjdk-11"
[2024-03-11T19:19:54.004Z]  ---> Using cache
[2024-03-11T19:19:54.004Z]  ---> d82cfa0c925b
[2024-03-11T19:19:54.004Z] Step 9/32 : COPY --from=jdk-core $JAVA_HOME $JAVA_HOME
[2024-03-11T19:19:54.139Z]  ---> Using cache
[2024-03-11T19:19:54.139Z]  ---> d1cc5cda572e
[2024-03-11T19:19:54.140Z] Step 10/32 : RUN $javaMajorVersion = $env:JAVA_HOME.Substring($env:JAVA_HOME.Length - 2);     New-Item -Path "C:\jdk-${javaMajorVersion}" -ItemType SymbolicLink -Value "${env:JAVA_HOME}"
[2024-03-11T19:19:54.140Z]  ---> Using cache
[2024-03-11T19:19:54.140Z]  ---> 4a82863533ec
[2024-03-11T19:19:54.140Z] Step 11/32 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:19:54.141Z]  ---> Using cache
[2024-03-11T19:19:54.141Z]  ---> 18b19661326c
[2024-03-11T19:19:54.141Z] Step 12/32 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:19:54.142Z]  ---> Using cache
[2024-03-11T19:19:54.142Z]  ---> 2b79d8042e76
[2024-03-11T19:19:54.142Z] Step 13/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:19:54.142Z]  ---> Using cache
[2024-03-11T19:19:54.143Z]  ---> 84c6bd2a26b1
[2024-03-11T19:19:54.143Z] Step 14/32 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:19:54.143Z]  ---> Using cache
[2024-03-11T19:19:54.143Z]  ---> afa7ca14a9fd
[2024-03-11T19:19:54.144Z] Step 15/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install
[2024-03-11T19:19:54.144Z]  ---> Running in d155e03db936
[2024-03-11T19:19:55.203Z] Retrieving https://github.com/git-lfs/git-lfs/releases/download/v3.4.1/git-lfs-windows-amd64-v3.4.1.zip ...
[2024-03-11T19:19:56.959Z] git: 'lfs' is not a git command. See 'git --help'.
[2024-03-11T19:19:56.960Z] 
[2024-03-11T19:19:56.960Z] The most similar command is
[2024-03-11T19:19:56.960Z] 	log
[2024-03-11T19:19:57.307Z] The command 'pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     
[2024-03-11T19:19:57.307Z] $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url 
[2024-03-11T19:19:57.307Z] -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install' 
[2024-03-11T19:19:57.307Z] returned a non-zero code: 1
[2024-03-11T19:19:57.307Z] Building  with name jenkins4eval/ssh-agent:nanoserver-1809-jdk11
[2024-03-11T19:19:57.307Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:19:57.308Z] 
[2024-03-11T19:19:57.308Z] Step 1/32 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:19:57.308Z] Step 2/32 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809 AS jdk-core
[2024-03-11T19:19:57.308Z]  ---> ee4373b67510
[2024-03-11T19:19:57.308Z] Step 3/32 : FROM mcr.microsoft.com/powershell:nanoserver-1809
[2024-03-11T19:19:57.309Z]  ---> 5301a224a94a
[2024-03-11T19:19:57.309Z] Step 4/32 : SHELL ["pwsh.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:19:57.309Z]  ---> Using cache
[2024-03-11T19:19:57.309Z]  ---> 270fdbdd32b2
[2024-03-11T19:19:57.310Z] Step 5/32 : USER ContainerAdministrator
[2024-03-11T19:19:57.310Z]  ---> Using cache
[2024-03-11T19:19:57.310Z]  ---> 7b5039219a21
[2024-03-11T19:19:57.310Z] Step 6/32 : COPY --from=jdk-core /windows/system32/netapi32.dll /windows/system32/netapi32.dll
[2024-03-11T19:19:57.458Z]  ---> Using cache
[2024-03-11T19:19:57.459Z]  ---> 966dfd81528e
[2024-03-11T19:19:57.459Z] Step 7/32 : COPY --from=jdk-core /windows/system32/whoami.exe /windows/system32/whoami.exe
[2024-03-11T19:19:57.602Z]  ---> Using cache
[2024-03-11T19:19:57.603Z]  ---> ef78571f59b4
[2024-03-11T19:19:57.603Z] Step 8/32 : ARG JAVA_HOME="C:\openjdk-11"
[2024-03-11T19:19:57.603Z]  ---> Using cache
[2024-03-11T19:19:57.603Z]  ---> d82cfa0c925b
[2024-03-11T19:19:57.603Z] Step 9/32 : COPY --from=jdk-core $JAVA_HOME $JAVA_HOME
[2024-03-11T19:19:57.743Z]  ---> Using cache
[2024-03-11T19:19:57.744Z]  ---> d1cc5cda572e
[2024-03-11T19:19:57.744Z] Step 10/32 : RUN $javaMajorVersion = $env:JAVA_HOME.Substring($env:JAVA_HOME.Length - 2);     New-Item -Path "C:\jdk-${javaMajorVersion}" -ItemType SymbolicLink -Value "${env:JAVA_HOME}"
[2024-03-11T19:19:57.744Z]  ---> Using cache
[2024-03-11T19:19:57.744Z]  ---> 4a82863533ec
[2024-03-11T19:19:57.744Z] Step 11/32 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:19:57.744Z]  ---> Using cache
[2024-03-11T19:19:57.744Z]  ---> 18b19661326c
[2024-03-11T19:19:57.745Z] Step 12/32 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:19:57.745Z]  ---> Using cache
[2024-03-11T19:19:57.745Z]  ---> 2b79d8042e76
[2024-03-11T19:19:57.745Z] Step 13/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:19:57.745Z]  ---> Using cache
[2024-03-11T19:19:57.745Z]  ---> 84c6bd2a26b1
[2024-03-11T19:19:57.745Z] Step 14/32 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:19:57.746Z]  ---> Using cache
[2024-03-11T19:19:57.746Z]  ---> afa7ca14a9fd
[2024-03-11T19:19:57.746Z] Step 15/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install
[2024-03-11T19:19:57.746Z]  ---> Running in ceba05ac50ff
[2024-03-11T19:19:58.724Z] Retrieving https://github.com/git-lfs/git-lfs/releases/download/v3.4.1/git-lfs-windows-amd64-v3.4.1.zip ...
[2024-03-11T19:20:00.590Z] git: 'lfs' is not a git command. See 'git --help'.
[2024-03-11T19:20:00.591Z] 
[2024-03-11T19:20:00.591Z] The most similar command is
[2024-03-11T19:20:00.591Z] 	log
[2024-03-11T19:20:00.845Z] The command 'pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     
[2024-03-11T19:20:00.846Z] $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url 
[2024-03-11T19:20:00.846Z] -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install' 
[2024-03-11T19:20:00.846Z] returned a non-zero code: 1
[2024-03-11T19:20:00.846Z] Building  with name jenkins4eval/ssh-agent:nanoserver-ltsc2019
[2024-03-11T19:20:00.846Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:20:00.846Z] 
[2024-03-11T19:20:00.846Z] Step 1/32 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:20:00.846Z] Step 2/32 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809 AS jdk-core
[2024-03-11T19:20:00.846Z]  ---> ee4373b67510
[2024-03-11T19:20:00.846Z] Step 3/32 : FROM mcr.microsoft.com/powershell:nanoserver-1809
[2024-03-11T19:20:00.846Z]  ---> 5301a224a94a
[2024-03-11T19:20:00.846Z] Step 4/32 : SHELL ["pwsh.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:20:00.846Z]  ---> Using cache
[2024-03-11T19:20:00.846Z]  ---> 270fdbdd32b2
[2024-03-11T19:20:00.846Z] Step 5/32 : USER ContainerAdministrator
[2024-03-11T19:20:00.846Z]  ---> Using cache
[2024-03-11T19:20:00.847Z]  ---> 7b5039219a21
[2024-03-11T19:20:00.847Z] Step 6/32 : COPY --from=jdk-core /windows/system32/netapi32.dll /windows/system32/netapi32.dll
[2024-03-11T19:20:01.004Z]  ---> Using cache
[2024-03-11T19:20:01.004Z]  ---> 966dfd81528e
[2024-03-11T19:20:01.004Z] Step 7/32 : COPY --from=jdk-core /windows/system32/whoami.exe /windows/system32/whoami.exe
[2024-03-11T19:20:01.155Z]  ---> Using cache
[2024-03-11T19:20:01.155Z]  ---> ef78571f59b4
[2024-03-11T19:20:01.155Z] Step 8/32 : ARG JAVA_HOME="C:\openjdk-11"
[2024-03-11T19:20:01.155Z]  ---> Using cache
[2024-03-11T19:20:01.155Z]  ---> d82cfa0c925b
[2024-03-11T19:20:01.155Z] Step 9/32 : COPY --from=jdk-core $JAVA_HOME $JAVA_HOME
[2024-03-11T19:20:01.305Z]  ---> Using cache
[2024-03-11T19:20:01.305Z]  ---> d1cc5cda572e
[2024-03-11T19:20:01.305Z] Step 10/32 : RUN $javaMajorVersion = $env:JAVA_HOME.Substring($env:JAVA_HOME.Length - 2);     New-Item -Path "C:\jdk-${javaMajorVersion}" -ItemType SymbolicLink -Value "${env:JAVA_HOME}"
[2024-03-11T19:20:01.305Z]  ---> Using cache
[2024-03-11T19:20:01.305Z]  ---> 4a82863533ec
[2024-03-11T19:20:01.305Z] Step 11/32 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:20:01.306Z]  ---> Using cache
[2024-03-11T19:20:01.306Z]  ---> 18b19661326c
[2024-03-11T19:20:01.306Z] Step 12/32 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:20:01.306Z]  ---> Using cache
[2024-03-11T19:20:01.306Z]  ---> 2b79d8042e76
[2024-03-11T19:20:01.307Z] Step 13/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:20:01.307Z]  ---> Using cache
[2024-03-11T19:20:01.307Z]  ---> 84c6bd2a26b1
[2024-03-11T19:20:01.307Z] Step 14/32 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:20:01.307Z]  ---> Using cache
[2024-03-11T19:20:01.307Z]  ---> afa7ca14a9fd
[2024-03-11T19:20:01.307Z] Step 15/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install
[2024-03-11T19:20:01.307Z]  ---> Running in 50b134827d2c
[2024-03-11T19:20:02.292Z] Retrieving https://github.com/git-lfs/git-lfs/releases/download/v3.4.1/git-lfs-windows-amd64-v3.4.1.zip ...
[2024-03-11T19:20:03.967Z] git: 'lfs' is not a git command. See 'git --help'.
[2024-03-11T19:20:03.967Z] 
[2024-03-11T19:20:03.968Z] The most similar command is
[2024-03-11T19:20:03.968Z] 	log
[2024-03-11T19:20:04.326Z] The command 'pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     
[2024-03-11T19:20:04.327Z] $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url 
[2024-03-11T19:20:04.327Z] -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install' 
[2024-03-11T19:20:04.327Z] returned a non-zero code: 1
[2024-03-11T19:20:04.327Z] Building  with name jenkins4eval/ssh-agent:nanoserver-ltsc2019-jdk11
[2024-03-11T19:20:04.327Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:20:04.327Z] 
[2024-03-11T19:20:04.327Z] Step 1/32 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:20:04.327Z] Step 2/32 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809 AS jdk-core
[2024-03-11T19:20:04.328Z]  ---> ee4373b67510
[2024-03-11T19:20:04.328Z] Step 3/32 : FROM mcr.microsoft.com/powershell:nanoserver-1809
[2024-03-11T19:20:04.328Z]  ---> 5301a224a94a
[2024-03-11T19:20:04.328Z] Step 4/32 : SHELL ["pwsh.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:20:04.328Z]  ---> Using cache
[2024-03-11T19:20:04.328Z]  ---> 270fdbdd32b2
[2024-03-11T19:20:04.328Z] Step 5/32 : USER ContainerAdministrator
[2024-03-11T19:20:04.329Z]  ---> Using cache
[2024-03-11T19:20:04.329Z]  ---> 7b5039219a21
[2024-03-11T19:20:04.329Z] Step 6/32 : COPY --from=jdk-core /windows/system32/netapi32.dll /windows/system32/netapi32.dll
[2024-03-11T19:20:04.485Z]  ---> Using cache
[2024-03-11T19:20:04.485Z]  ---> 966dfd81528e
[2024-03-11T19:20:04.485Z] Step 7/32 : COPY --from=jdk-core /windows/system32/whoami.exe /windows/system32/whoami.exe
[2024-03-11T19:20:04.641Z]  ---> Using cache
[2024-03-11T19:20:04.641Z]  ---> ef78571f59b4
[2024-03-11T19:20:04.641Z] Step 8/32 : ARG JAVA_HOME="C:\openjdk-11"
[2024-03-11T19:20:04.641Z]  ---> Using cache
[2024-03-11T19:20:04.641Z]  ---> d82cfa0c925b
[2024-03-11T19:20:04.641Z] Step 9/32 : COPY --from=jdk-core $JAVA_HOME $JAVA_HOME
[2024-03-11T19:20:04.642Z]  ---> Using cache
[2024-03-11T19:20:04.794Z]  ---> d1cc5cda572e
[2024-03-11T19:20:04.795Z] Step 10/32 : RUN $javaMajorVersion = $env:JAVA_HOME.Substring($env:JAVA_HOME.Length - 2);     New-Item -Path "C:\jdk-${javaMajorVersion}" -ItemType SymbolicLink -Value "${env:JAVA_HOME}"
[2024-03-11T19:20:04.795Z]  ---> Using cache
[2024-03-11T19:20:04.795Z]  ---> 4a82863533ec
[2024-03-11T19:20:04.795Z] Step 11/32 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:20:04.795Z]  ---> Using cache
[2024-03-11T19:20:04.795Z]  ---> 18b19661326c
[2024-03-11T19:20:04.795Z] Step 12/32 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:20:04.795Z]  ---> Using cache
[2024-03-11T19:20:04.795Z]  ---> 2b79d8042e76
[2024-03-11T19:20:04.795Z] Step 13/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:20:04.795Z]  ---> Using cache
[2024-03-11T19:20:04.795Z]  ---> 84c6bd2a26b1
[2024-03-11T19:20:04.795Z] Step 14/32 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:20:04.796Z]  ---> Using cache
[2024-03-11T19:20:04.796Z]  ---> afa7ca14a9fd
[2024-03-11T19:20:04.796Z] Step 15/32 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install
[2024-03-11T19:20:04.796Z]  ---> Running in 0272049c75e1
[2024-03-11T19:20:05.782Z] Retrieving https://github.com/git-lfs/git-lfs/releases/download/v3.4.1/git-lfs-windows-amd64-v3.4.1.zip ...
[2024-03-11T19:20:07.462Z] git: 'lfs' is not a git command. See 'git --help'.
[2024-03-11T19:20:07.462Z] 
[2024-03-11T19:20:07.462Z] The most similar command is
[2024-03-11T19:20:07.462Z] 	log
[2024-03-11T19:20:07.724Z] The command 'pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     
[2024-03-11T19:20:07.724Z] $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url 
[2024-03-11T19:20:07.724Z] -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install' 
[2024-03-11T19:20:07.724Z] returned a non-zero code: 1
[2024-03-11T19:20:07.724Z] Building  with name jenkins4eval/ssh-agent:windowsservercore-1809
[2024-03-11T19:20:07.724Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:20:07.724Z] 
[2024-03-11T19:20:07.885Z] Step 1/23 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:20:07.885Z] Step 2/23 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809
[2024-03-11T19:20:07.885Z]  ---> ee4373b67510
[2024-03-11T19:20:07.885Z] Step 3/23 : SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:20:07.885Z]  ---> Running in 9535934ee97f
[2024-03-11T19:20:08.147Z]  ---> Removed intermediate container 9535934ee97f
[2024-03-11T19:20:08.148Z]  ---> b8c3f2906f5b
[2024-03-11T19:20:08.148Z] Step 4/23 : ARG OPENSSH_VERSION=V8.6.0.0p1-Beta
[2024-03-11T19:20:08.148Z]  ---> Running in a6ffb35e80c9
[2024-03-11T19:20:08.514Z]  ---> Removed intermediate container a6ffb35e80c9
[2024-03-11T19:20:08.515Z]  ---> 69d3b1ea0dfb
[2024-03-11T19:20:08.515Z] Step 5/23 : ARG user=jenkins
[2024-03-11T19:20:08.515Z]  ---> Running in d4bdd8ff5950
[2024-03-11T19:20:08.774Z]  ---> Removed intermediate container d4bdd8ff5950
[2024-03-11T19:20:08.774Z]  ---> a9107de84d71
[2024-03-11T19:20:08.774Z] Step 6/23 : ARG JENKINS_AGENT_WORK="C:/Users/${user}/Work"
[2024-03-11T19:20:08.774Z]  ---> Running in 534959f8be58
[2024-03-11T19:20:09.137Z]  ---> Removed intermediate container 534959f8be58
[2024-03-11T19:20:09.138Z]  ---> d402d850e5f1
[2024-03-11T19:20:09.138Z] Step 7/23 : ENV JENKINS_AGENT_USER ${user}
[2024-03-11T19:20:09.138Z]  ---> Running in 2ed6b43ef39a
[2024-03-11T19:20:09.401Z]  ---> Removed intermediate container 2ed6b43ef39a
[2024-03-11T19:20:09.401Z]  ---> e4280c97e7b4
[2024-03-11T19:20:09.401Z] Step 8/23 : ENV JENKINS_AGENT_WORK ${JENKINS_AGENT_WORK}
[2024-03-11T19:20:09.401Z]  ---> Running in b0f051cb5cae
[2024-03-11T19:20:09.760Z]  ---> Removed intermediate container b0f051cb5cae
[2024-03-11T19:20:09.760Z]  ---> d48559d96d9b
[2024-03-11T19:20:09.760Z] Step 9/23 : USER ContainerAdministrator
[2024-03-11T19:20:09.760Z]  ---> Running in ad863a1b11ea
[2024-03-11T19:20:10.127Z]  ---> Removed intermediate container ad863a1b11ea
[2024-03-11T19:20:10.128Z]  ---> 267b5825ae88
[2024-03-11T19:20:10.128Z] Step 10/23 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:20:10.128Z]  ---> Running in b00389d18fa8
[2024-03-11T19:20:10.383Z]  ---> Removed intermediate container b00389d18fa8
[2024-03-11T19:20:10.384Z]  ---> 584a77ae3fe5
[2024-03-11T19:20:10.384Z] Step 11/23 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:20:10.384Z]  ---> Running in a4ef0d8c198d
[2024-03-11T19:20:10.739Z]  ---> Removed intermediate container a4ef0d8c198d
[2024-03-11T19:20:10.740Z]  ---> 00aa6c08c0f2
[2024-03-11T19:20:10.740Z] Step 12/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:20:10.740Z]  ---> Running in 277353a4f673
[2024-03-11T19:20:14.749Z] Retrieving https://github.com/git-for-windows/git/releases/download/v2.44.0.windows.1/MinGit-2.44.0-64-bit.zip ...
[2024-03-11T19:20:27.029Z]  ---> Removed intermediate container 277353a4f673
[2024-03-11T19:20:27.029Z]  ---> be5eaac2e3fd
[2024-03-11T19:20:27.029Z] Step 13/23 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:20:27.029Z]  ---> Running in c2dc478c6095
[2024-03-11T19:20:27.383Z]  ---> Removed intermediate container c2dc478c6095
[2024-03-11T19:20:27.383Z]  ---> ecd2f6957726
[2024-03-11T19:20:27.383Z] Step 14/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install ;     $CurrentPath = (Get-Itemproperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path).Path ;     $NewPath = $CurrentPath + ';C:\mingit\cmd' ;     Set-ItemProperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path -Value $NewPath
[2024-03-11T19:20:27.383Z]  ---> Running in 156fc7b4bed3
[2024-03-11T19:20:30.734Z] Retrieving https://github.com/git-lfs/git-lfs/releases/download/v3.4.1/git-lfs-windows-amd64-v3.4.1.zip ...
[2024-03-11T19:20:32.316Z] git: 'lfs' is not a git command. See 'git --help'.
[2024-03-11T19:20:32.316Z] 
[2024-03-11T19:20:32.316Z] The most similar command is
[2024-03-11T19:20:32.316Z] 	log
[2024-03-11T19:20:34.192Z]  ---> Removed intermediate container 156fc7b4bed3
[2024-03-11T19:20:34.193Z]  ---> f3ac7c472fdb
[2024-03-11T19:20:34.193Z] Step 15/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = 'https://github.com/PowerShell/Win32-OpenSSH/releases/download/{0}/OpenSSH-Win64.zip' -f $env:OPENSSH_VERSION ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest -Uri $url -OutFile C:/openssh.zip -UseBasicParsing ;     Expand-Archive c:/openssh.zip 'C:/Program Files' ;     Remove-Item C:/openssh.zip ;     $env:PATH = '{0};{1}' -f $env:PATH,'C:\Program Files\OpenSSH-Win64' ;     & 'C:/Program Files/OpenSSH-Win64/Install-SSHd.ps1' ;     if(!(Test-Path 'C:\ProgramData\ssh')) { New-Item -Type Directory -Path 'C:\ProgramData\ssh' | Out-Null } ;     Copy-Item 'C:\Program Files\OpenSSH-Win64\sshd_config_default' 'C:\ProgramData\ssh\sshd_config' ;     $content = Get-Content -Path "C:\ProgramData\ssh\sshd_config" ;     $content | ForEach-Object { $_ -replace '#PermitRootLogin.*','PermitRootLogin no'                         -replace '#PasswordAuthentication.*','PasswordAuthentication no'                         -replace '#PermitEmptyPasswords.*','PermitEmptyPasswords no'                         -replace '#PubkeyAuthentication.*','PubkeyAuthentication yes'                         -replace '#SyslogFacility.*','SyslogFacility LOCAL0'                         -replace '#LogLevel.*','LogLevel INFO'                         -replace 'Match Group administrators',''                         -replace '(\s*)AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys',''                 } |     Set-Content -Path "C:\ProgramData\ssh\sshd_config" ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value 'ChallengeResponseAuthentication no' ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value 'HostKeyAgent \\.\pipe\openssh-ssh-agent' ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value ('Match User {0}' -f $env:JENKINS_AGENT_USER) ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value ('       AuthorizedKeysFile C:/Users/{0}/.ssh/authorized_keys' -f $env:JENKINS_AGENT_USER) ;     New-Item -Path HKLM:\SOFTWARE -Name OpenSSH -Force | Out-Null ;     New-ItemProperty -Path HKLM:\SOFTWARE\OpenSSH -Name DefaultShell -Value 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -PropertyType string -Force | Out-Null
[2024-03-11T19:20:34.193Z]  ---> Running in 562b53438ba3
[2024-03-11T19:20:37.517Z] Retrieving https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win64.zip ...
[2024-03-11T19:20:40.393Z]   [*] C:\Program Files\OpenSSH-Win64\moduli
[2024-03-11T19:20:40.546Z] Inheritance is removed from 'C:\Program Files\OpenSSH-Win64\moduli'.
[2024-03-11T19:20:40.546Z] 'BUILTIN\Users' now has Read access to 'C:\Program Files\OpenSSH-Win64\moduli'. 
[2024-03-11T19:20:40.546Z] 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES' now has Read access to 'C:\Program Files\OpenSSH-Win64\moduli'. 
[2024-03-11T19:20:40.546Z] 'APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES' now has Read access to 'C:\Program Files\OpenSSH-Win64\moduli'. 
[2024-03-11T19:20:40.547Z]       Repaired permissions
[2024-03-11T19:20:40.547Z]  
[2024-03-11T19:20:40.901Z] [SC] SetServiceObjectSecurity SUCCESS
[2024-03-11T19:20:40.901Z] [SC] ChangeServiceConfig2 SUCCESS
[2024-03-11T19:20:40.901Z] [SC] ChangeServiceConfig2 SUCCESS
[2024-03-11T19:20:40.901Z] sshd and ssh-agent services successfully installed
[2024-03-11T19:20:42.879Z]  ---> Removed intermediate container 562b53438ba3
[2024-03-11T19:20:42.879Z]  ---> 857193a6a739
[2024-03-11T19:20:42.879Z] Step 16/23 : COPY CreateProfile.psm1 C:/
[2024-03-11T19:20:43.237Z]  ---> 1e69a6707e96
[2024-03-11T19:20:43.237Z] Step 17/23 : RUN Import-Module -Force C:/CreateProfile.psm1 ;     New-UserWithProfile -UserName $env:JENKINS_AGENT_USER -Description 'Jenkins Agent User' ;     Remove-Item -Force C:/CreateProfile.psm1
[2024-03-11T19:20:43.237Z]  ---> Running in cbad08453fbe
[2024-03-11T19:20:46.774Z] The command completed successfully.
[2024-03-11T19:20:46.774Z] 
[2024-03-11T19:20:46.774Z] The command completed successfully.
[2024-03-11T19:20:46.774Z] 
[2024-03-11T19:20:49.159Z]  ---> Removed intermediate container cbad08453fbe
[2024-03-11T19:20:49.159Z]  ---> 687a9b44d5cf
[2024-03-11T19:20:49.159Z] Step 18/23 : VOLUME "${JENKINS_AGENT_WORK}" "C:/Users/${user}/AppData/Local/Temp"
[2024-03-11T19:20:49.159Z]  ---> Running in 833dc3d0b7f7
[2024-03-11T19:20:49.519Z]  ---> Removed intermediate container 833dc3d0b7f7
[2024-03-11T19:20:49.519Z]  ---> dcc8fe8738b6
[2024-03-11T19:20:49.519Z] Step 19/23 : WORKDIR "${JENKINS_AGENT_WORK}"
[2024-03-11T19:20:49.519Z]  ---> Running in 51b164ed2ebf
[2024-03-11T19:20:49.993Z]  ---> Removed intermediate container 51b164ed2ebf
[2024-03-11T19:20:49.993Z]  ---> 30530e9b7db5
[2024-03-11T19:20:49.993Z] Step 20/23 : COPY setup-sshd.ps1 C:/ProgramData/Jenkins/setup-sshd.ps1
[2024-03-11T19:20:50.251Z]  ---> 50922ee3c0af
[2024-03-11T19:20:50.251Z] Step 21/23 : EXPOSE 22
[2024-03-11T19:20:50.251Z]  ---> Running in 4b7ce380e844
[2024-03-11T19:20:50.609Z]  ---> Removed intermediate container 4b7ce380e844
[2024-03-11T19:20:50.609Z]  ---> c457f4b696a0
[2024-03-11T19:20:50.609Z] Step 22/23 : ENTRYPOINT ["powershell.exe", "-NoExit", "-Command", "& C:/ProgramData/Jenkins/setup-sshd.ps1"]
[2024-03-11T19:20:50.609Z]  ---> Running in 257cb5bb41c5
[2024-03-11T19:20:50.980Z]  ---> Removed intermediate container 257cb5bb41c5
[2024-03-11T19:20:50.980Z]  ---> ce629f719dd0
[2024-03-11T19:20:50.980Z] Step 23/23 : LABEL     org.opencontainers.image.vendor="Jenkins project"     org.opencontainers.image.title="Official Jenkins SSH Agent Docker image"     org.opencontainers.image.description="A Jenkins agent image which allows using SSH to establish the connection"     org.opencontainers.image.url="https://www.jenkins.io/"     org.opencontainers.image.source="https://github.com/jenkinsci/docker-ssh-agent"     org.opencontainers.image.licenses="MIT"
[2024-03-11T19:20:50.980Z]  ---> Running in 3129f283966f
[2024-03-11T19:20:51.245Z]  ---> Removed intermediate container 3129f283966f
[2024-03-11T19:20:51.245Z]  ---> 29b29188b6ce
[2024-03-11T19:20:51.245Z] [Warning] One or more build-args [JAVA_HOME] were not consumed
[2024-03-11T19:20:51.245Z] Successfully built 29b29188b6ce
[2024-03-11T19:20:51.246Z] Successfully tagged jenkins4eval/ssh-agent:windowsservercore-1809
[2024-03-11T19:20:51.246Z] Building  with name jenkins4eval/ssh-agent:windowsservercore-1809-jdk11
[2024-03-11T19:20:51.246Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:20:51.246Z] 
[2024-03-11T19:20:51.412Z] Step 1/23 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:20:51.412Z] Step 2/23 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809
[2024-03-11T19:20:51.412Z]  ---> ee4373b67510
[2024-03-11T19:20:51.412Z] Step 3/23 : SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:20:51.412Z]  ---> Using cache
[2024-03-11T19:20:51.412Z]  ---> b8c3f2906f5b
[2024-03-11T19:20:51.412Z] Step 4/23 : ARG OPENSSH_VERSION=V8.6.0.0p1-Beta
[2024-03-11T19:20:51.412Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> 69d3b1ea0dfb
[2024-03-11T19:20:51.413Z] Step 5/23 : ARG user=jenkins
[2024-03-11T19:20:51.413Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> a9107de84d71
[2024-03-11T19:20:51.413Z] Step 6/23 : ARG JENKINS_AGENT_WORK="C:/Users/${user}/Work"
[2024-03-11T19:20:51.413Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> d402d850e5f1
[2024-03-11T19:20:51.413Z] Step 7/23 : ENV JENKINS_AGENT_USER ${user}
[2024-03-11T19:20:51.413Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> e4280c97e7b4
[2024-03-11T19:20:51.413Z] Step 8/23 : ENV JENKINS_AGENT_WORK ${JENKINS_AGENT_WORK}
[2024-03-11T19:20:51.413Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> d48559d96d9b
[2024-03-11T19:20:51.413Z] Step 9/23 : USER ContainerAdministrator
[2024-03-11T19:20:51.413Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> 267b5825ae88
[2024-03-11T19:20:51.413Z] Step 10/23 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:20:51.413Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> 584a77ae3fe5
[2024-03-11T19:20:51.413Z] Step 11/23 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:20:51.413Z]  ---> Using cache
[2024-03-11T19:20:51.413Z]  ---> 00aa6c08c0f2
[2024-03-11T19:20:51.414Z] Step 12/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:20:51.414Z]  ---> Using cache
[2024-03-11T19:20:51.414Z]  ---> be5eaac2e3fd
[2024-03-11T19:20:51.414Z] Step 13/23 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:20:51.414Z]  ---> Using cache
[2024-03-11T19:20:51.414Z]  ---> ecd2f6957726
[2024-03-11T19:20:51.414Z] Step 14/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install ;     $CurrentPath = (Get-Itemproperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path).Path ;     $NewPath = $CurrentPath + ';C:\mingit\cmd' ;     Set-ItemProperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path -Value $NewPath
[2024-03-11T19:20:51.414Z]  ---> Using cache
[2024-03-11T19:20:51.414Z]  ---> f3ac7c472fdb
[2024-03-11T19:20:51.414Z] Step 15/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = 'https://github.com/PowerShell/Win32-OpenSSH/releases/download/{0}/OpenSSH-Win64.zip' -f $env:OPENSSH_VERSION ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest -Uri $url -OutFile C:/openssh.zip -UseBasicParsing ;     Expand-Archive c:/openssh.zip 'C:/Program Files' ;     Remove-Item C:/openssh.zip ;     $env:PATH = '{0};{1}' -f $env:PATH,'C:\Program Files\OpenSSH-Win64' ;     & 'C:/Program Files/OpenSSH-Win64/Install-SSHd.ps1' ;     if(!(Test-Path 'C:\ProgramData\ssh')) { New-Item -Type Directory -Path 'C:\ProgramData\ssh' | Out-Null } ;     Copy-Item 'C:\Program Files\OpenSSH-Win64\sshd_config_default' 'C:\ProgramData\ssh\sshd_config' ;     $content = Get-Content -Path "C:\ProgramData\ssh\sshd_config" ;     $content | ForEach-Object { $_ -replace '#PermitRootLogin.*','PermitRootLogin no'                         -replace '#PasswordAuthentication.*','PasswordAuthentication no'                         -replace '#PermitEmptyPasswords.*','PermitEmptyPasswords no'                         -replace '#PubkeyAuthentication.*','PubkeyAuthentication yes'                         -replace '#SyslogFacility.*','SyslogFacility LOCAL0'                         -replace '#LogLevel.*','LogLevel INFO'                         -replace 'Match Group administrators',''                         -replace '(\s*)AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys',''                 } |     Set-Content -Path "C:\ProgramData\ssh\sshd_config" ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value 'ChallengeResponseAuthentication no' ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value 'HostKeyAgent \\.\pipe\openssh-ssh-agent' ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value ('Match User {0}' -f $env:JENKINS_AGENT_USER) ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value ('       AuthorizedKeysFile C:/Users/{0}/.ssh/authorized_keys' -f $env:JENKINS_AGENT_USER) ;     New-Item -Path HKLM:\SOFTWARE -Name OpenSSH -Force | Out-Null ;     New-ItemProperty -Path HKLM:\SOFTWARE\OpenSSH -Name DefaultShell -Value 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -PropertyType string -Force | Out-Null
[2024-03-11T19:20:51.415Z]  ---> Using cache
[2024-03-11T19:20:51.415Z]  ---> 857193a6a739
[2024-03-11T19:20:51.415Z] Step 16/23 : COPY CreateProfile.psm1 C:/
[2024-03-11T19:20:51.415Z]  ---> Using cache
[2024-03-11T19:20:51.415Z]  ---> 1e69a6707e96
[2024-03-11T19:20:51.415Z] Step 17/23 : RUN Import-Module -Force C:/CreateProfile.psm1 ;     New-UserWithProfile -UserName $env:JENKINS_AGENT_USER -Description 'Jenkins Agent User' ;     Remove-Item -Force C:/CreateProfile.psm1
[2024-03-11T19:20:51.415Z]  ---> Using cache
[2024-03-11T19:20:51.415Z]  ---> 687a9b44d5cf
[2024-03-11T19:20:51.415Z] Step 18/23 : VOLUME "${JENKINS_AGENT_WORK}" "C:/Users/${user}/AppData/Local/Temp"
[2024-03-11T19:20:51.415Z]  ---> Using cache
[2024-03-11T19:20:51.415Z]  ---> dcc8fe8738b6
[2024-03-11T19:20:51.415Z] Step 19/23 : WORKDIR "${JENKINS_AGENT_WORK}"
[2024-03-11T19:20:51.415Z]  ---> Using cache
[2024-03-11T19:20:51.416Z]  ---> 30530e9b7db5
[2024-03-11T19:20:51.416Z] Step 20/23 : COPY setup-sshd.ps1 C:/ProgramData/Jenkins/setup-sshd.ps1
[2024-03-11T19:20:51.416Z]  ---> Using cache
[2024-03-11T19:20:51.416Z]  ---> 50922ee3c0af
[2024-03-11T19:20:51.416Z] Step 21/23 : EXPOSE 22
[2024-03-11T19:20:51.416Z]  ---> Using cache
[2024-03-11T19:20:51.416Z]  ---> c457f4b696a0
[2024-03-11T19:20:51.416Z] Step 22/23 : ENTRYPOINT ["powershell.exe", "-NoExit", "-Command", "& C:/ProgramData/Jenkins/setup-sshd.ps1"]
[2024-03-11T19:20:51.416Z]  ---> Using cache
[2024-03-11T19:20:51.416Z]  ---> ce629f719dd0
[2024-03-11T19:20:51.416Z] Step 23/23 : LABEL     org.opencontainers.image.vendor="Jenkins project"     org.opencontainers.image.title="Official Jenkins SSH Agent Docker image"     org.opencontainers.image.description="A Jenkins agent image which allows using SSH to establish the connection"     org.opencontainers.image.url="https://www.jenkins.io/"     org.opencontainers.image.source="https://github.com/jenkinsci/docker-ssh-agent"     org.opencontainers.image.licenses="MIT"
[2024-03-11T19:20:51.416Z]  ---> Using cache
[2024-03-11T19:20:51.416Z]  ---> 29b29188b6ce
[2024-03-11T19:20:51.416Z] [Warning] One or more build-args [JAVA_HOME] were not consumed
[2024-03-11T19:20:51.417Z] Successfully built 29b29188b6ce
[2024-03-11T19:20:51.417Z] Successfully tagged jenkins4eval/ssh-agent:windowsservercore-1809-jdk11
[2024-03-11T19:20:51.417Z] Building  with name jenkins4eval/ssh-agent:windowsservercore-ltsc2019
[2024-03-11T19:20:51.417Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:20:51.417Z] 
[2024-03-11T19:20:51.417Z] Step 1/23 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:20:51.417Z] Step 2/23 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809
[2024-03-11T19:20:51.417Z]  ---> ee4373b67510
[2024-03-11T19:20:51.417Z] Step 3/23 : SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:20:51.417Z]  ---> Using cache
[2024-03-11T19:20:51.417Z]  ---> b8c3f2906f5b
[2024-03-11T19:20:51.418Z] Step 4/23 : ARG OPENSSH_VERSION=V8.6.0.0p1-Beta
[2024-03-11T19:20:51.418Z]  ---> Using cache
[2024-03-11T19:20:51.418Z]  ---> 69d3b1ea0dfb
[2024-03-11T19:20:51.418Z] Step 5/23 : ARG user=jenkins
[2024-03-11T19:20:51.418Z]  ---> Using cache
[2024-03-11T19:20:51.418Z]  ---> a9107de84d71
[2024-03-11T19:20:51.419Z] Step 6/23 : ARG JENKINS_AGENT_WORK="C:/Users/${user}/Work"
[2024-03-11T19:20:51.419Z]  ---> Using cache
[2024-03-11T19:20:51.419Z]  ---> d402d850e5f1
[2024-03-11T19:20:51.419Z] Step 7/23 : ENV JENKINS_AGENT_USER ${user}
[2024-03-11T19:20:51.419Z]  ---> Using cache
[2024-03-11T19:20:51.419Z]  ---> e4280c97e7b4
[2024-03-11T19:20:51.419Z] Step 8/23 : ENV JENKINS_AGENT_WORK ${JENKINS_AGENT_WORK}
[2024-03-11T19:20:51.419Z]  ---> Using cache
[2024-03-11T19:20:51.419Z]  ---> d48559d96d9b
[2024-03-11T19:20:51.419Z] Step 9/23 : USER ContainerAdministrator
[2024-03-11T19:20:51.419Z]  ---> Using cache
[2024-03-11T19:20:51.419Z]  ---> 267b5825ae88
[2024-03-11T19:20:51.419Z] Step 10/23 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:20:51.419Z]  ---> Using cache
[2024-03-11T19:20:51.419Z]  ---> 584a77ae3fe5
[2024-03-11T19:20:51.419Z] Step 11/23 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:20:51.419Z]  ---> Using cache
[2024-03-11T19:20:51.419Z]  ---> 00aa6c08c0f2
[2024-03-11T19:20:51.419Z] Step 12/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:20:51.419Z]  ---> Using cache
[2024-03-11T19:20:51.420Z]  ---> be5eaac2e3fd
[2024-03-11T19:20:51.420Z] Step 13/23 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:20:51.420Z]  ---> Using cache
[2024-03-11T19:20:51.420Z]  ---> ecd2f6957726
[2024-03-11T19:20:51.420Z] Step 14/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install ;     $CurrentPath = (Get-Itemproperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path).Path ;     $NewPath = $CurrentPath + ';C:\mingit\cmd' ;     Set-ItemProperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path -Value $NewPath
[2024-03-11T19:20:51.420Z]  ---> Using cache
[2024-03-11T19:20:51.420Z]  ---> f3ac7c472fdb
[2024-03-11T19:20:51.420Z] Step 15/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = 'https://github.com/PowerShell/Win32-OpenSSH/releases/download/{0}/OpenSSH-Win64.zip' -f $env:OPENSSH_VERSION ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest -Uri $url -OutFile C:/openssh.zip -UseBasicParsing ;     Expand-Archive c:/openssh.zip 'C:/Program Files' ;     Remove-Item C:/openssh.zip ;     $env:PATH = '{0};{1}' -f $env:PATH,'C:\Program Files\OpenSSH-Win64' ;     & 'C:/Program Files/OpenSSH-Win64/Install-SSHd.ps1' ;     if(!(Test-Path 'C:\ProgramData\ssh')) { New-Item -Type Directory -Path 'C:\ProgramData\ssh' | Out-Null } ;     Copy-Item 'C:\Program Files\OpenSSH-Win64\sshd_config_default' 'C:\ProgramData\ssh\sshd_config' ;     $content = Get-Content -Path "C:\ProgramData\ssh\sshd_config" ;     $content | ForEach-Object { $_ -replace '#PermitRootLogin.*','PermitRootLogin no'                         -replace '#PasswordAuthentication.*','PasswordAuthentication no'                         -replace '#PermitEmptyPasswords.*','PermitEmptyPasswords no'                         -replace '#PubkeyAuthentication.*','PubkeyAuthentication yes'                         -replace '#SyslogFacility.*','SyslogFacility LOCAL0'                         -replace '#LogLevel.*','LogLevel INFO'                         -replace 'Match Group administrators',''                         -replace '(\s*)AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys',''                 } |     Set-Content -Path "C:\ProgramData\ssh\sshd_config" ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value 'ChallengeResponseAuthentication no' ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value 'HostKeyAgent \\.\pipe\openssh-ssh-agent' ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value ('Match User {0}' -f $env:JENKINS_AGENT_USER) ;     Add-Content -Path "C:\ProgramData\ssh\sshd_config" -Value ('       AuthorizedKeysFile C:/Users/{0}/.ssh/authorized_keys' -f $env:JENKINS_AGENT_USER) ;     New-Item -Path HKLM:\SOFTWARE -Name OpenSSH -Force | Out-Null ;     New-ItemProperty -Path HKLM:\SOFTWARE\OpenSSH -Name DefaultShell -Value 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -PropertyType string -Force | Out-Null
[2024-03-11T19:20:51.420Z]  ---> Using cache
[2024-03-11T19:20:51.420Z]  ---> 857193a6a739
[2024-03-11T19:20:51.420Z] Step 16/23 : COPY CreateProfile.psm1 C:/
[2024-03-11T19:20:51.420Z]  ---> Using cache
[2024-03-11T19:20:51.420Z]  ---> 1e69a6707e96
[2024-03-11T19:20:51.420Z] Step 17/23 : RUN Import-Module -Force C:/CreateProfile.psm1 ;     New-UserWithProfile -UserName $env:JENKINS_AGENT_USER -Description 'Jenkins Agent User' ;     Remove-Item -Force C:/CreateProfile.psm1
[2024-03-11T19:20:51.420Z]  ---> Using cache
[2024-03-11T19:20:51.420Z]  ---> 687a9b44d5cf
[2024-03-11T19:20:51.420Z] Step 18/23 : VOLUME "${JENKINS_AGENT_WORK}" "C:/Users/${user}/AppData/Local/Temp"
[2024-03-11T19:20:51.420Z]  ---> Using cache
[2024-03-11T19:20:51.420Z]  ---> dcc8fe8738b6
[2024-03-11T19:20:51.420Z] Step 19/23 : WORKDIR "${JENKINS_AGENT_WORK}"
[2024-03-11T19:20:51.420Z]  ---> Using cache
[2024-03-11T19:20:51.421Z]  ---> 30530e9b7db5
[2024-03-11T19:20:51.421Z] Step 20/23 : COPY setup-sshd.ps1 C:/ProgramData/Jenkins/setup-sshd.ps1
[2024-03-11T19:20:51.421Z]  ---> Using cache
[2024-03-11T19:20:51.421Z]  ---> 50922ee3c0af
[2024-03-11T19:20:51.421Z] Step 21/23 : EXPOSE 22
[2024-03-11T19:20:51.421Z]  ---> Using cache
[2024-03-11T19:20:51.421Z]  ---> c457f4b696a0
[2024-03-11T19:20:51.422Z] Step 22/23 : ENTRYPOINT ["powershell.exe", "-NoExit", "-Command", "& C:/ProgramData/Jenkins/setup-sshd.ps1"]
[2024-03-11T19:20:51.422Z]  ---> Using cache
[2024-03-11T19:20:51.422Z]  ---> ce629f719dd0
[2024-03-11T19:20:51.422Z] Step 23/23 : LABEL     org.opencontainers.image.vendor="Jenkins project"     org.opencontainers.image.title="Official Jenkins SSH Agent Docker image"     org.opencontainers.image.description="A Jenkins agent image which allows using SSH to establish the connection"     org.opencontainers.image.url="https://www.jenkins.io/"     org.opencontainers.image.source="https://github.com/jenkinsci/docker-ssh-agent"     org.opencontainers.image.licenses="MIT"
[2024-03-11T19:20:51.422Z]  ---> Using cache
[2024-03-11T19:20:51.422Z]  ---> 29b29188b6ce
[2024-03-11T19:20:51.422Z] [Warning] One or more build-args [JAVA_HOME] were not consumed
[2024-03-11T19:20:51.422Z] Successfully built 29b29188b6ce
[2024-03-11T19:20:51.422Z] Successfully tagged jenkins4eval/ssh-agent:windowsservercore-ltsc2019
[2024-03-11T19:20:51.422Z] Building  with name jenkins4eval/ssh-agent:windowsservercore-ltsc2019-jdk11
[2024-03-11T19:20:51.574Z] Sending build context to Docker daemon  570.4kB
[2024-03-11T19:20:51.574Z] 
[2024-03-11T19:20:51.574Z] Step 1/23 : ARG JAVA_VERSION=11.0.20.1_1
[2024-03-11T19:20:51.575Z] Step 2/23 : FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-1809
[2024-03-11T19:20:51.575Z]  ---> ee4373b67510
[2024-03-11T19:20:51.575Z] Step 3/23 : SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
[2024-03-11T19:20:51.575Z]  ---> Using cache
[2024-03-11T19:20:51.575Z]  ---> b8c3f2906f5b
[2024-03-11T19:20:51.575Z] Step 4/23 : ARG OPENSSH_VERSION=V8.6.0.0p1-Beta
[2024-03-11T19:20:51.575Z]  ---> Using cache
[2024-03-11T19:20:51.575Z]  ---> 69d3b1ea0dfb
[2024-03-11T19:20:51.575Z] Step 5/23 : ARG user=jenkins
[2024-03-11T19:20:51.575Z]  ---> Using cache
[2024-03-11T19:20:51.575Z]  ---> a9107de84d71
[2024-03-11T19:20:51.575Z] Step 6/23 : ARG JENKINS_AGENT_WORK="C:/Users/${user}/Work"
[2024-03-11T19:20:51.575Z]  ---> Using cache
[2024-03-11T19:20:51.575Z]  ---> d402d850e5f1
[2024-03-11T19:20:51.575Z] Step 7/23 : ENV JENKINS_AGENT_USER ${user}
[2024-03-11T19:20:51.575Z]  ---> Using cache
[2024-03-11T19:20:51.575Z]  ---> e4280c97e7b4
[2024-03-11T19:20:51.575Z] Step 8/23 : ENV JENKINS_AGENT_WORK ${JENKINS_AGENT_WORK}
[2024-03-11T19:20:51.575Z]  ---> Using cache
[2024-03-11T19:20:51.575Z]  ---> d48559d96d9b
[2024-03-11T19:20:51.575Z] Step 9/23 : USER ContainerAdministrator
[2024-03-11T19:20:51.576Z]  ---> Using cache
[2024-03-11T19:20:51.576Z]  ---> 267b5825ae88
[2024-03-11T19:20:51.576Z] Step 10/23 : ARG GIT_VERSION=2.44.0
[2024-03-11T19:20:51.576Z]  ---> Using cache
[2024-03-11T19:20:51.576Z]  ---> 584a77ae3fe5
[2024-03-11T19:20:51.576Z] Step 11/23 : ARG GIT_PATCH_VERSION=1
[2024-03-11T19:20:51.576Z]  ---> Using cache
[2024-03-11T19:20:51.576Z]  ---> 00aa6c08c0f2
[2024-03-11T19:20:51.576Z] Step 12/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     if($env:GIT_PATCH_VERSION -eq 1) { $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION); }     else {$url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION)} ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ;     Expand-Archive mingit.zip -DestinationPath c:\mingit ;     Remove-Item mingit.zip -Force
[2024-03-11T19:20:51.576Z]  ---> Using cache
[2024-03-11T19:20:51.576Z]  ---> be5eaac2e3fd
[2024-03-11T19:20:51.576Z] Step 13/23 : ARG GIT_LFS_VERSION=v3.4.1
[2024-03-11T19:20:51.576Z]  ---> Using cache
[2024-03-11T19:20:51.577Z]  ---> ecd2f6957726
[2024-03-11T19:20:51.577Z] Step 14/23 : RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ;     $url = $('https://github.com/git-lfs/git-lfs/releases/download/{0}/git-lfs-windows-amd64-{0}.zip' -f $env:GIT_LFS_VERSION) ;     Write-Host "Retrieving $url..." ;     Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ;     Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ;     Remove-Item GitLfs.zip -Force ;     & C:\mingit\cmd\git.exe lfs install ;     $CurrentPath = (Get-Itemproperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path).Path ;     $NewPath = $CurrentPath + ';C:\mingit\cmd' ;     Set-ItemProperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path -Value $NewPath
[2024-03-11T19:20:51.577Z]  ---> Using cache
[2024-03-11T19:20:51.577Z]  ---> f3ac7c472fdb
Output truncated.

Details

  • Build Docker Image (14 min)
    • Windows (8 ms)
      • Windows (6 min 25 sec)
        Error: script returned exit code 1
    • Linux (14 min)
      • Linux (14 min)