2021-10-12 20:21:20 UTC
319 MB
C:/Users/jenkins/Work
JAVA_HOMEC:\openjdk-8
JAVA_VERSIONjdk8u252-b09
PATHC:\Windows\system32;C:\Windows;C:\Program Files\PowerShell;C:\openjdk-8\bin;C:\mingit\cmd
POWERSHELL_DISTRIBUTION_CHANNELPSDocker-NanoServer-1809
POWERSHELL_TELEMETRY_OPTOUT0
PSCORE\PowerShell\pwsh.exe
PSModuleAnalysisCachePathC:\Users\Public\AppData\Local\Microsoft\Windows\PowerShell\docker\ModuleAnalysisCache
ProgramFilesC:\Program Files
WindowsPATHC:\Windows\system32;C:\Windows
[#000] sha256:3585a81ca503e6c63dce938a5606f4171d7461e51000a92054b3f5692786d6c9 - 30.69% (97.9 MB)
[#001] sha256:8ca38a8d47ea639d50620633cbc17d00a908768a94bdc7374807582fbbf3c41f - 0.0% (1.02 KB)
[#002] sha256:5f00c35c62c4cf2303c7da25c4b9eb4f50f72277eb850cd41ff3644f3fa1e071 - 0.0% (1.02 KB)
[#003] sha256:05c0aff3732ec7e9ff1b2cb1c106fda0dcd1b90c8dabacbc9d639298ff11026e - 0.02% (65.7 KB)
[#004] sha256:8dea282bad1f7ab323d5e197d3d973736b2d88774d94a72b50ceaa5a2983544a - 0.0% (1.02 KB)
[#005] sha256:889e29bdbbe2a06a44309a3d9fb94fae65be9283e2182d403e1771e3526143a6 - 30.32% (96.8 MB)
[#006] sha256:7ef166ee9b38a651c90fb1879c200b15f370a252d615f5308e6e738995e0f06c - 0.04% (129 KB)
[#007] sha256:5fc1023b1c49e13d3e2c822217f2c4595d0bdcc63c278825bfbd6acfb64b103c - 0.0% (1.04 KB)
[#008] sha256:bfd753e8ed8194b896884088ba67c6e74bfd27489a5862d18a913f7ea60018b9 - 0.0% (1.01 KB)
[#009] sha256:6e8e9cd134b4fb0eb197c05c2170f9225c48ad9c03e246682f53e21ec8263340 - 0.0% (1.08 KB)
[#010] sha256:204c3bf1847432b7603c32616e811ba941a6949a6b277839a6695764a00ddabf - 0.0% (1.05 KB)
[#011] sha256:909c0a3f3f8267f1878c7a395db08b60dd35184fe6cf702227f9eb083e8086a4 - 0.0% (1.04 KB)
[#012] sha256:974cc2a8cb9e09a266391eebd7e36637ced6ca9e1367485c8701343cd860a15f - 29.51% (94.2 MB)
[#013] sha256:77047a574ee84ca012542aa8daba8093f22e9af2fddec62cc5ff1b8250f23812 - 0.0% (1.05 KB)
[#014] sha256:e86abae9894f01423f8dca398a65cfdb8161d81eeeb614a746d281bd95d76dc1 - 0.0% (1.02 KB)
[#015] sha256:028be2e481176988375009bd523a8e3e4b65ca7cc02dfe5783946ff488c4d393 - 0.0% (1.04 KB)
[#016] sha256:3fb51dce423825b6a1fb26f38fd347891fb2404cdef57263a34d10c4e0901298 - 0.0% (1.04 KB)
[#017] sha256:994f252ed522aeddfa21e913a1bb3d172af77c12aff522c222330d210c5bc495 - 7.57% (24.2 MB)
[#018] sha256:016f609192d3daf2034dfb30ad90e37363b19dd8160b29153850f7ccee9f6877 - 0.0% (1.04 KB)
[#019] sha256:8d0ff92992facb07a8b727eb455209efbb758b1af810e7842572f76829ea3e27 - 1.34% (4.29 MB)
[#020] sha256:ede4605eb1c8c27726c039ccf58f631e8f86ce35fd896815ac36ab186d3acc17 - 0.0% (1.04 KB)
[#021] sha256:4e18dd260ecb5a8979ea7f292f1b23a865a3d16ef23da3f2fcd2f696153693a1 - 0.0% (1.04 KB)
[#022] sha256:6a27ebb568290af75d30de8058e3ae05303f1b88f70e95c17bbc4aa45fccc289 - 0.0% (1.04 KB)
[#023] sha256:9679037879fd7414916a1b91ab270b34a34e033df6e52baefc06cda75956df2d - 0.0% (1.05 KB)
[#024] sha256:c357ae123b6d9067ba375a6227203d0d457d96db3aaae8af69abad3f569a0d62 - 0.0% (1.04 KB)
[#025] sha256:6ce9e33673e217ebd7e077c7c78df0f4e265b8d8377377eee314498a190afdcd - 0.02% (70.9 KB)
[#026] sha256:86c68188c85c7eebe9d8a418c0602e0c6dda0935bc827736bd6452a5df45d026 - 0.0% (1.04 KB)
[#027] sha256:b1452215b5f04c40a130c7dfa0b0055536898ccead428fe313529feea0778c73 - 0.0% (1.05 KB)
[#028] sha256:48afb040f40cb698253c2fba44c8e798594d6c9c4be90af57141a44b4e8f0e7f - 0.0% (1.05 KB)
[#029] sha256:9ed82db95870f229fa6df09f9d6ff7deb2e111a4a7b2f71262c4bfa614d5b3cf - 0.43% (1.36 MB)
[#030] sha256:2301b994abf735225f1e053fd0c1a78f8befdf8416c7d50c658ea4510023f0b7 - 0.0% (1.04 KB)
[#031] sha256:7a0f3e740c42daa6d3ecdefa5bc201a7334f44b843e4403d05c094c6da0ffdf1 - 0.02% (68.1 KB)
[#032] sha256:bfe944c1cda29433c9d997b78b966c51fab7c5bb51064cb437d01caf31b11a30 - 0.0% (1.05 KB)
[#033] sha256:79e7119763eb61518487bcf1bc6111ba770934b43c98fa767d3e7e850f36aada - 0.0% (1.02 KB)
[#034] sha256:70e60e8f1cb29ce9b2689c8dba8f6cbc42a52d090b06dee360f7f7892eb8792f - 0.0% (1.02 KB)
[#035] sha256:f23452ec1f4441805d77d698511544fd3022e43423a3416152e4ab002e855a43 - 0.0% (1.05 KB)
[#036] sha256:bf55afc716089ab29de0979fd8f0fb214a626695016df5bc336d5a33a76bc446 - 0.0% (1.06 KB)
[#037] sha256:7468cc2f468358508ae2c901d8b90307006277f88a9e68d5bd2bb486c02773ac - 0.02% (68.2 KB)
[#038] sha256:08c1ba428cbbfe487dd5734ae6b672deb702379fdcfc08747feb3dfc0140fb62 - 0.0% (4.1 KB)
[#039] sha256:ade46aea10de599593ce529d3b0af5895e6e0b32625af77d0205bea9db0c49da - 0.0% (1.07 KB)
[#040] sha256:56e3e8b553d6f0324d5e93a7bd5f58f4ffd5e51f814b819e6cf750fc55a7fded - 0.0% (1.05 KB)
Apply image 1809-amd64
2021-10-05 01:14:57 UTCcmd /S /C #(nop) ENV ProgramFiles=C:\Program Files PSModuleAnalysisCachePath=C:\Users\Public\AppData\Local\Microsoft\Windows\PowerShell\docker\ModuleAnalysisCache PSCORE=\PowerShell\pwsh.exe WindowsPATH=C:\Windows\system32;C:\Windows POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-NanoServer-1809
2021-10-05 01:14:58 UTCcmd /S /C #(nop) USER ContainerAdministrator
2021-10-05 01:15:22 UTCcmd /S /C setx PATH "%PATH%;%ProgramFiles%\PowerShell;" /M
2021-10-05 01:15:22 UTCcmd /S /C #(nop) USER ContainerUser
2021-10-05 01:15:39 UTCcmd /S /C #(nop) COPY dir:ed826dc2ba0e470b41bbd56bcab0a17eb77ada2816498df2e3e5f76d0c048e2b in C:\Program Files\PowerShell
2021-10-05 01:16:17 UTCcmd /S /C pwsh -NoLogo -NoProfile -Command " $stopTime = (get-date).AddMinutes(15); $ErrorActionPreference = 'Stop' ; $ProgressPreference = 'SilentlyContinue' ; while(!(Test-Path -Path $env:PSModuleAnalysisCachePath)) { Write-Host "'Waiting for $env:PSModuleAnalysisCachePath'" ; if((get-date) -gt $stopTime) { throw 'timout expired'} Start-Sleep -Seconds 6 ; }"
2021-10-05 01:16:18 UTCcmd /S /C #(nop) ENV POWERSHELL_TELEMETRY_OPTOUT=0
2021-10-05 01:16:18 UTCcmd /S /C #(nop) CMD ["pwsh.exe"]
2021-10-11 18:58:20 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-11 18:58:21 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk8u252-b09
2021-10-11 18:58:21 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER ContainerAdministrator
2021-10-11 18:58:33 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u252-b09.1/OpenJDK8U-jdk_x64_windows_hotspot_8u252b09.zip ...'); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u252-b09.1/OpenJDK8U-jdk_x64_windows_hotspot_8u252b09.zip -O 'openjdk.zip'; Write-Host ('Verifying sha256 (4e2c92ba17481321eaeb1769e85eec99a774102eb80b700a201b54b130ab2768) ...'); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne '4e2c92ba17481321eaeb1769e85eec99a774102eb80b700a201b54b130ab2768') { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding Zip ...'; Expand-Archive -Path openjdk.zip -DestinationPath C:\ ; $jdkDirectory=(Get-ChildItem -Directory | ForEach-Object { $_.FullName } | Select-String 'jdk'); Move-Item -Path $jdkDirectory C:\openjdk-8; Write-Host 'Removing openjdk.zip ...'; Remove-Item openjdk.zip -Force
2021-10-11 18:58:33 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.3
2021-10-11 18:58:34 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL Description=This is a base image, which provides the Jenkins agent executable (agent.jar) Vendor=Jenkins project Version=4.3
2021-10-11 18:58:34 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.26.0
2021-10-11 18:58:34 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=1
2021-10-11 18:58:41 UTC|3 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; $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) ; Write-Host "Retrieving $url..." ; Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ; Expand-Archive mingit.zip -DestinationPath c:\mingit ; Remove-Item mingit.zip -Force
2021-10-11 18:58:42 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=2.10.0
2021-10-11 18:58:47 UTC|4 GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; $url = $('https://github.com/git-lfs/git-lfs/releases/download/v{0}/git-lfs-windows-amd64-v{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
2021-10-11 18:58:47 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV ProgramFiles=C:\Program Files WindowsPATH=C:\Windows\system32;C:\Windows JAVA_HOME=C:\openjdk-8
2021-10-11 18:58:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PATH=C:\Windows\system32;C:\Windows;C:\Program Files\PowerShell;C:\openjdk-8\bin;C:\mingit\cmd
2021-10-11 18:58:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-11 18:58:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-10-11 18:58:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-10-11 18:58:51 UTC|7 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 user=jenkins pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; net accounts /maxpwage:unlimited ; net user "$env:user" /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; New-Item -ItemType Directory -Path C:/ProgramData/Jenkins | Out-Null
2021-10-11 18:58:51 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-10-11 18:58:52 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:58:52 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:58:58 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 user=jenkins pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; Invoke-WebRequest $('https://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/{0}/remoting-{0}.jar' -f $env:VERSION) -OutFile $(Join-Path C:/ProgramData/Jenkins $env:AGENT_FILENAME) -UseBasicParsing ; Invoke-WebRequest $('https://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/{0}/remoting-{0}.jar.sha1' -f $env:VERSION) -OutFile (Join-Path C:/ProgramData/Jenkins $env:AGENT_HASH_FILENAME) -UseBasicParsing ; if ((Get-FileHash (Join-Path C:/ProgramData/Jenkins $env:AGENT_FILENAME) -Algorithm SHA1).Hash -ne (Get-Content (Join-Path C:/ProgramData/Jenkins $env:AGENT_HASH_FILENAME))) {exit 1} ; Remove-Item -Force (Join-Path C:/ProgramData/Jenkins $env:AGENT_HASH_FILENAME)
2021-10-11 18:58:58 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-11 18:59:01 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 user=jenkins pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; New-Item -Type Directory $('{0}/.jenkins' -f $env:AGENT_ROOT) | Out-Null ; New-Item -Type Directory $env:AGENT_WORKDIR | Out-Null
2021-10-11 18:59:01 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-10-11 18:59:01 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-10-11 18:59:02 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-12 20:21:15 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL Description=This is a base image, which allows connecting Jenkins agents via JNLP protocols on Windows Vendor=Jenkins Project Version=
2021-10-12 20:21:15 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-12 20:21:18 UTC|1 user=jenkins pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $output = net users ; if(-not ($output -match $env:user)) { Write-Host 'user does not exist?' ; net user $env:user /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; wmic useraccount WHERE Name=$env:user set PasswordExpires=false; }
2021-10-12 20:21:19 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:301769251ed29c14574f1d82ec7b119bacbdab65fa19dffbd9f969ac48051fa7 in C:\ProgramData\Jenkins
2021-10-12 20:21:19 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-12 20:21:20 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENTRYPOINT ["pwsh.exe" "-f" "C:/ProgramData/Jenkins/jenkins-agent.ps1"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.