2021-10-12 20:19:24 UTC
2.71 GB
C:/Users/jenkins/Work
JAVA_VERSIONjdk8u292-b10
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 58.98% (1.6 GB)
[#001] sha256:a0ddf88812f10c7d6edc858aa9784ff5ca9de4a7bb631909c090090343abd059 - 33.24% (924 MB)
[#002] sha256:92dd43eae724dbe7e9e517c7fded74c5920ae7eb160042055178ceadf1916505 - 0.0% (1.38 KB)
[#003] sha256:b0a4de21e2555698cee55a4c837cdf4c76050088ebf2a2cb2ea0f1e3fc0763e6 - 0.0% (1.41 KB)
[#004] sha256:b88ffa1cf46e3d9201138864e9a20371076b4b4020c1647b130616eb007c8104 - 6.63% (184 MB)
[#005] sha256:40ffe00361427a63c7fba1a1dfca2c9fc37d54798dc9b496cab243bed552a7e0 - 0.0% (1.32 KB)
[#006] sha256:5b5ff079420c9c5cfd8294d421038f19de1de7ad54cb4f8faa13cee95855e65d - 0.0% (1.26 KB)
[#007] sha256:c13af1b106a8251e93525eed68ba42066b08c4ca63b018a8e23334bb3f144bb8 - 0.0% (1.28 KB)
[#008] sha256:dc584d4e9436289fc0cc0b2c5a362d2d6fd6b51fe3745be5f62465e4d03938d8 - 0.0% (1.31 KB)
[#009] sha256:1183208fd282e33ec00c9f80ca7395e2522e6641b863b0b56675748685f3a4c7 - 0.0% (1.29 KB)
[#010] sha256:eab787281c82398c2b60f23543f1341c385a07b05737f01e16aeab0c419fef23 - 0.88% (24.5 MB)
[#011] sha256:8730fba50566098f706cbcb70c611f7950c0234f504f77cbbf0416fcd5d5933a - 0.0% (1.29 KB)
[#012] sha256:a871567857c37b56822abbc6350553befa11d95cfde3e64d218bc861ca552e08 - 0.16% (4.57 MB)
[#013] sha256:2fcbf8cf5d83691333de7474a010c0666b7b1b5fc9cc6603274f5c6791f47c9a - 0.0% (1.29 KB)
[#014] sha256:1dfed28cde205dc6756186ef7a1bdb430c18755ec4896b5560f975ec65b34a01 - 0.0% (1.29 KB)
[#015] sha256:95c8dce92448f4ac3403d6fb00d9273bb8e031db4355020d7a88aedc59dc5176 - 0.0% (1.29 KB)
[#016] sha256:7d47d3f6efda6065440c9a833ae74b1a08102cac2bce3586b6eeac6415b40807 - 0.01% (363 KB)
[#017] sha256:15cd17fc2f5886ad40a63184d9fe396d8480489981eb0c91cee10cd9255dc32f - 0.0% (1.29 KB)
[#018] sha256:f9359d18778e9261f36e37951348c05e0a2f5fbb6c165fe6726b4faf5d8a857a - 0.0% (1.28 KB)
[#019] sha256:ac88f4f77c17055f6df9e9a9bf387a7730ed30b5a90a39d0b1abb127a131d9c8 - 0.0% (1.29 KB)
[#020] sha256:55d2597a0b1f607db07d35048f6065ccc627507e8890d61144e7e16dab1005da - 0.06% (1.65 MB)
[#021] sha256:63cdac4a46d1b6c77626e5c024cf495fa1e5c07e92ae34cf3b580a4b6572e168 - 0.0% (1.29 KB)
[#022] sha256:ede1cf87554c986a0e944ffc12000b40c3b81c209ae78d190801e5b98d7aaf71 - 0.01% (376 KB)
[#023] sha256:89b8ffc19291bd742ce40114caa4dc91c6d92c26276746a65438e10369cef421 - 0.0% (1.29 KB)
[#024] sha256:c7acc864025e96748350202ac4f4bf39c4bb8845c7b338bcdd542170ea3cd62c - 0.0% (1.29 KB)
[#025] sha256:1c3f7e140b887036413c57e9fbd568492ba820dd94ebdf4721b6ec186567ab95 - 0.0% (1.29 KB)
[#026] sha256:61fb1eb2e62f3fa5718c40cdf5e55c308f021a47abd05fd0bf97d02efbc8f570 - 0.0% (1.39 KB)
[#027] sha256:77c0c7cce706eaed6900ab23ed13de0442db336de80613681509fa968be6e9ba - 0.0% (1.33 KB)
[#028] sha256:1b529b828d8bc17571b6c5767bc8d20db25386417111d55b0c45082e6e3fccd9 - 0.01% (368 KB)
[#029] sha256:d466fd8c6c54b8cfbfcb32798383c2e0bedb9fedb5842d86af7e3cc8d8081104 - 0.0% (4.24 KB)
[#030] sha256:178d8e30bb3cead2bb3000251bee3dbd9a63cbfe709d2bda1a2a6694c4d2326c - 0.0% (1.29 KB)
[#031] sha256:3de647b3ca621479a2f05bae107f32589c65cd3d8e08258a632a62537da682f4 - 0.0% (1.31 KB)
Apply image 1809-RTM-amd64
2021-09-13 04:08:33 UTCInstall update 1809-amd64
2021-09-15 00:29:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-09-15 17:06:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk8u292-b10
2021-09-15 17:07:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_windows_hotspot_8u292b10.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_windows_hotspot_8u292b10.msi ; Write-Host ('Verifying sha256 (f6bd2e351a451b8dc7ed19d44b18a27ff8a0602016625fac5134c4defe5e560c) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'f6bd2e351a451b8dc7ed19d44b18a27ff8a0602016625fac5134c4defe5e560c') { Write-Host 'FAILED!'; exit 1; }; New-Item -ItemType Directory -Path C:\temp | Out-Null; Write-Host 'Installing using MSI ...'; $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome' -Wait -Passthru; $proc.WaitForExit() ; if ($proc.ExitCode -ne 0) { Write-Host 'FAILED installing MSI!' ; exit 1; }; Remove-Item -Path C:\temp -Recurse | Out-Null; Write-Host 'Removing openjdk.msi ...'; Remove-Item openjdk.msi -Force
2021-10-11 18:57:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-11 18:57:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.3
2021-10-11 18:57:04 UTCpowershell -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:57:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.26.0
2021-10-11 18:57:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=1
2021-10-11 18:57:27 UTC|3 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 powershell -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:57:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=2.10.0
2021-10-11 18:57:36 UTC|4 GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 powershell -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 ; $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
2021-10-11 18:57:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-11 18:57:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-10-11 18:57:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-10-11 18:57:44 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 powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; net user "$env:user" /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; Set-LocalUser -Name $env:user -PasswordNeverExpires 1; New-Item -ItemType Directory -Path C:/ProgramData/Jenkins | Out-Null
2021-10-11 18:57:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-10-11 18:57:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:57:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:57:53 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 powershell -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:57:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-11 18:58:02 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 powershell -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:58:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-10-11 18:58:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-10-11 18:58:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-12 20:18:44 UTCpowershell -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:18:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-12 20:19:23 UTC|1 user=jenkins powershell -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:19:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:301769251ed29c14574f1d82ec7b119bacbdab65fa19dffbd9f969ac48051fa7 in C:\ProgramData\Jenkins
2021-10-12 20:19:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-12 20:19:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENTRYPOINT ["powershell.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.