2022-03-01 18:28:32 UTC
2.9 GB
C:/Users/jenkins/Work
JAVA_VERSIONjdk-11.0.13+8
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 55.17% (1.6 GB)
[#001] sha256:567fd00846e9a9f44eea5925b497356dda00fe89b8335d2a3b2a8b9d84b0bb69 - 31.95% (949 MB)
[#002] sha256:ba7b1090ce9545f6aac90d390785f6c5e3846304cb7596289dfc36c169d7b1da - 0.0% (1.39 KB)
[#003] sha256:4bff9d04d7c81cd34a858e8fb450ef0e0e918641cd80f60fe03588bfa2064673 - 0.0% (1.4 KB)
[#004] sha256:f1e40abebf9cbc355f40823c145d0be69ffc7be5d882717fc8c65a30e16f9de3 - 11.74% (349 MB)
[#005] sha256:7535b7c3311c451559ea4c3f44a98f29f48fde4e1f1c046809882994cbe10757 - 0.01% (329 KB)
[#006] sha256:2b644855511fe62b4c822db837578621e82da55b96f594e6ef087a0975f814ed - 0.0% (1.39 KB)
[#007] sha256:2ac58dfec5aebdff65425127e984644f1851785caf9e89587ad152c3fb556f7b - 0.0% (1.29 KB)
[#008] sha256:f3b8b716565f15c82bbdeeaeef47c911c59915b59d4a90657449d0536ab572bb - 0.0% (1.31 KB)
[#009] sha256:ae33f92641ca79b0c51e3ff7e9e34cdaabcf23bbf1b65e3a6d95b170c9ad116c - 0.0% (1.29 KB)
[#010] sha256:eb3af04f697fa8dcc0736f983141dce28bfbf4138a29c96265358d8f8c5f1727 - 0.9% (26.6 MB)
[#011] sha256:5592051dfd605cd987b14cb6e63a0d0f85675905a0f4d6b4076170de412364e9 - 0.0% (1.32 KB)
[#012] sha256:f54a6a1decded7b3248d3bd7b3e06cd8ac3d35514b2e4334efeea09e78b7610d - 0.14% (4.06 MB)
[#013] sha256:e51795d76e21cc063c65eef3fefb0733dcb8366b027b0e47dc8ee2981007d11b - 0.0% (1.3 KB)
[#014] sha256:67850d0929e7b51ac1c9309066030213c47ea285c0a40a5c00a25f4d2116205b - 0.0% (1.29 KB)
[#015] sha256:7f9689a1162b515f8cc6772cd6f1eb7482a572e13cc1e283a504b45add3126e0 - 0.0% (1.3 KB)
[#016] sha256:a9f91b8daa267a77bbbf29be0f87ac5bd16e0e14981ebc8fa62224424cd6265f - 0.01% (361 KB)
[#017] sha256:c7bc66122a0db2b7e2902cb192e2f2f13185684e5c44a6ef48eeed0f56e0caa4 - 0.0% (1.32 KB)
[#018] sha256:00e9e4b22f403fd92cb5ee77860b691c3800ece001971d3abdb79488dbcc6236 - 0.0% (1.36 KB)
[#019] sha256:fc28e0bb70552ccb77c0b627bc49befc0986f62b2b658672aee24d9d0f1788db - 0.0% (1.4 KB)
[#020] sha256:0bcc1b416b0685ebf7a22142db77bfd79ba7cb3a422dddd7a62facf8966d8e1c - 0.0% (1.37 KB)
[#021] sha256:ba61cf1e27b2b1627e4bedaf11b1bf296aba266d031b6ca7ef2a563f4eccc67c - 0.0% (1.31 KB)
[#022] sha256:3c065d400e5d656e0adfd2b223947544cebf747754761c787d3b270c77d8f0ec - 0.06% (1.64 MB)
[#023] sha256:90b03b1681dd6ee81b7f5a6d289d2539b43dcf8089f46c4990dfd397aebaa8e1 - 0.0% (1.31 KB)
[#024] sha256:fa91559234d130cb043c41d19d0ece4d3aa0a89579596929f1bf2ac89560f148 - 0.01% (366 KB)
[#025] sha256:ad5228cbe71d51f5ee90297c3da2adec0792e0556f6953559a4a2b73b947bd6d - 0.0% (1.29 KB)
[#026] sha256:a799104f9d4213bf15714f19dcff2f8ff36726abc22f6e4c1ee341b5782ee9c7 - 0.0% (1.29 KB)
[#027] sha256:971f0a6af7feb1541ad428ad0a74e5bec2652dfe5fb1c2b35f5a3969038f7ba0 - 0.0% (1.29 KB)
[#028] sha256:9dd5a1d31d2bb17d2ffc9c8a1e68c0ddffc0cfa6fdd509bf0f4016c1ba170e50 - 0.0% (1.29 KB)
[#029] sha256:cf41a452aacdd395c89d1220e153ea89d0cac62ae1a5fcd483789de67139139d - 0.0% (1.35 KB)
[#030] sha256:a04201eec3c020dd539919e2e0bbc940e166a31f50a4465d273bb6ceccfe7e60 - 0.0% (1.29 KB)
[#031] sha256:a83b603c830618c1b83ae407dba0aa5c3c5459481bcfb7621a251568c1aecf19 - 0.01% (377 KB)
[#032] sha256:e7b54dac0f1ceec9953cdd3dd6bfadc236212595e8f048819533770bbb11e40b - 0.0% (4.35 KB)
[#033] sha256:326f283c6ab700ad3d3aeb771aeafb8243bde206d4444b3b486c1745c397cac5 - 0.0% (1.31 KB)
[#034] sha256:86a62d45bbf7224e93e9e4a041aa09f125e4b82f0714fc68c80ba030b9f6641c - 0.0% (1.29 KB)
Apply image 1809-RTM-amd64
2022-01-18 01:52:23 UTCInstall update 1809-amd64
2022-01-19 23:21:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-01-26 19:11:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-11.0.13+8
2022-01-26 19:14:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13%2B8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13%2B8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi ; Write-Host ('Verifying sha256 (b0edea638fd58c94d80abffd10bbb27731bf6fe1e2b3a9214fb68ab18237deed) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'b0edea638fd58c94d80abffd10bbb27731bf6fe1e2b3a9214fb68ab18237deed') { 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', 'INSTALLDIR=C:\openjdk-11' -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
2022-01-26 19:15:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Verifying install ...'; Write-Host 'javac --version'; javac --version; Write-Host 'java --version'; java --version; Write-Host 'Complete.'
2022-01-26 19:15:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2022-02-19 17:13:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-02-19 17:13:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.33.1
2022-02-19 17:13:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=1
2022-02-19 17:14:20 UTC|2 GIT_PATCH_VERSION=1 GIT_VERSION=2.33.1 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
2022-02-19 17:14:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=3.0.2
2022-02-19 17:14:31 UTC|3 GIT_LFS_VERSION=3.0.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.33.1 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
2022-02-19 17:14:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2022-02-19 17:14:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2022-02-19 17:14:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2022-02-19 17:14:42 UTC|6 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=3.0.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.33.1 user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; net accounts /maxpwage:unlimited ; 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
2022-02-19 17:14:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2022-02-19 17:14:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2022-02-19 17:14:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2022-02-19 17:14:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.11.2
2022-02-19 17:14:44 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.11.2
2022-02-19 17:14:54 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.0.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.33.1 VERSION=4.11.2 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)
2022-02-19 17:14:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2022-02-19 17:15:02 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.0.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.33.1 VERSION=4.11.2 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
2022-02-19 17:15:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2022-02-19 17:15:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2022-02-19 17:15:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2022-02-19 17:15:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.opencontainers.image.vendor=Jenkins project org.opencontainers.image.title=Official Jenkins Agent Base Docker image org.opencontainers.image.description=This is a base image, which provides the Jenkins agent executable (agent.jar) org.opencontainers.image.version=4.11.2 org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker-agent org.opencontainers.image.licenses=MIT
2022-03-01 18:28:10 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=
2022-03-01 18:28:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2022-03-01 18:28:31 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; }
2022-03-01 18:28:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:96f2873921dc490a8dfff65a9bf389bd658768114c03673a119d463528c1593f in C:\ProgramData\Jenkins
2022-03-01 18:28:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2022-03-01 18:28:32 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.