2021-10-18 13:12:50 UTC
2.88 GB
C:/Users/jenkins/Work
JAVA_VERSIONjdk-11.0.12+7
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 55.65% (1.6 GB)
[#001] sha256:c0698cf91ebd6bcfb319be6a50421b356d6a3dbbd213d9b2b9dca0f837d7a999 - 31.35% (923 MB)
[#002] sha256:cc0c4e719f418d49c6a0fb87abd2e0e480c5b6fec1bacc3077cacfad9b4ab3e0 - 0.0% (1.37 KB)
[#003] sha256:5fc98e1c44b9ba265eed05ea8d2ddf2cd897f6dd5c9e55ac174f95642306e53c - 0.0% (1.39 KB)
[#004] sha256:03fc1e0ec5b131fd20b8907fb0b891e57a8111e209716438dbedc802caf2e4df - 11.84% (349 MB)
[#005] sha256:33c610399618fecb1e89c664759f2675ffaa30a13b7bac57b3d51e60c2e32070 - 0.01% (310 KB)
[#006] sha256:edd6cbf1cc744abe924a2b4be02d94bfe684eae71eb7a0ade7ac9fe9e8b62850 - 0.0% (1.26 KB)
[#007] sha256:11da6e941a436efde8d4bbca9838fa909a25c2b62046d66579f364870f262be3 - 0.0% (1.36 KB)
[#008] sha256:088d0f5d4fe1cefb791b5b1cf8f3f108fe203d528e8a907bf048b4ca1151c8a7 - 0.0% (1.37 KB)
[#009] sha256:37c196bf4e620f755be2ebc60edf635a7fc804d30b887f8aec68cdb03b4df945 - 0.0% (1.31 KB)
[#010] sha256:5b39a453bbe4052ce01b3dbaa36d442c9a335f3f63a2bdee42d5443cfdb1a753 - 0.92% (27.2 MB)
[#011] sha256:1aa34687de75d37a48b468fe07aadd8c4508d4737e01cad1fb19c28984395303 - 0.0% (1.3 KB)
[#012] sha256:a4332470f6ba63972fdd5abb9cdf630b28cb38985a2e790bab6efb5a433ea4a4 - 0.14% (4.07 MB)
[#013] sha256:e743ca2176521e61941a9e02226dbc79132389ac9c3ad96ed14fa2b215a01786 - 0.0% (1.37 KB)
[#014] sha256:9d114d5c8d3286cc1e1b29954a4c18decc0f608839dc12d2a92880207af235a5 - 0.0% (1.29 KB)
[#015] sha256:cd40d1b6cd9ba8518ef89bc517c6ceccaeb91b2989aebad2aff56f7addc3e0b5 - 0.0% (1.32 KB)
[#016] sha256:1eb813f7c57cf8f0391e128303ad9590981afe16143909c8fdbd56fa950ae740 - 0.01% (372 KB)
[#017] sha256:c70457835051f4d80e09645c5746533decfd1bdb41d2033b1917ba6fb5d7a224 - 0.0% (1.3 KB)
[#018] sha256:9b8ec9ec070328568a72f6ad8604380219b357ae4ac3e3a7433fc01d69ef6b64 - 0.0% (1.36 KB)
[#019] sha256:42a1e9f45cd938843165798a4c95149897e0cc3ee33524852a1527cd7ac9c81b - 0.0% (1.34 KB)
[#020] sha256:4413cc75910be0a43a937a5553a53a2ada31ea682a070a655a4ded1a985b4510 - 0.0% (1.39 KB)
[#021] sha256:8e6edc442e24eb1d27db46c77895a33722dbad93edee4ddb2436c9e62a90bb3f - 0.0% (1.33 KB)
[#022] sha256:2067b46de1891e085cda4d5204ebb669f16ff24c562aa92bc285bb0432800163 - 0.06% (1.65 MB)
[#023] sha256:e0cd2ef34299572d62b2f93c35bf7da65c809d3719ff57f31a9ebc3d43c5b98c - 0.0% (1.36 KB)
[#024] sha256:22abe43de5da40c1fca8a4380f7959dc2291e4785b6922fcfd2ed8e2ca9bf80d - 0.01% (381 KB)
[#025] sha256:dd03420aba28bc121fe558c1b397ea79f9f2dae29aa1dbbdb2a9ffe8d90f7741 - 0.0% (1.32 KB)
[#026] sha256:ee6705524d3218ad7d6c9f2dcd09d1d4c48dda377d630ec0981fa1731864e506 - 0.0% (1.33 KB)
[#027] sha256:ad576b55177a7ae620fc63cc754be4d11079e9cdf4d073b742cd4ea3a9f49019 - 0.0% (1.32 KB)
[#028] sha256:fc340eb89ca2119e02659f9fb30e51c2833d39dfc85d003d8647d598b190eb18 - 0.0% (1.3 KB)
[#029] sha256:81be3d78913b3eed4f6b3d308ae2e0ba053fee87f982e38b3127c3d1db6cd9e3 - 0.0% (1.35 KB)
[#030] sha256:bc4455990a123bb3e3db5f145464f7e23c1dcc2f5e9e7ecbefb5938e07da5292 - 0.0% (1.32 KB)
[#031] sha256:ee76335884f4d27f73dbd7e1da4bfc87451cc4dbc77d4ab7129817aba288b641 - 0.01% (382 KB)
[#032] sha256:7de63b7fae0b606ed4fa6918339f4e716d083b1d9f41c25c1def6ee438eed7d4 - 0.0% (4.36 KB)
[#033] sha256:c41e65c8cd11bfca099b114a3661f8aaa32088e9d717e2776f75a2645d1c8229 - 0.0% (1.29 KB)
[#034] sha256:591c15410f52f895014e5b572fca9c5d2595cbe6bdb7a427d2cd26b043ce6126 - 0.0% (1.3 KB)
Apply image 1809-RTM-amd64
2021-10-07 08:25:51 UTCInstall update 1809-amd64
2021-10-13 12:02:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-13 18:30:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-11.0.12+7
2021-10-13 18:32:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_windows_hotspot_11.0.12_7.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_windows_hotspot_11.0.12_7.msi ; Write-Host ('Verifying sha256 (80546d8a36ad0cdf69305f72f42465093b9d0388f45819b05cc640ecd1310b32) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '80546d8a36ad0cdf69305f72f42465093b9d0388f45819b05cc640ecd1310b32') { 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
2021-10-13 18:33:17 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.'
2021-10-13 18:33:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2021-10-16 18:11:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-16 18:11:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.33.0
2021-10-16 18:11:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=2
2021-10-16 18:12:33 UTC|2 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 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}.{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
2021-10-16 18:12:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=3.0.1
2021-10-16 18:12:47 UTC|3 GIT_LFS_VERSION=3.0.1 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 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-16 18:12:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-16 18:12:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-10-16 18:12:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-10-16 18:13:01 UTC|6 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=3.0.1 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 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
2021-10-16 18:13:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-10-16 18:13:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-16 18:13:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-16 18:13:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.10
2021-10-16 18:26:08 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
2021-10-16 18:26:20 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.0.1 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 VERSION=4.11 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-16 18:26:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-16 18:26:31 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.0.1 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 VERSION=4.11 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-16 18:26:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-10-16 18:26:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-10-16 18:26:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-16 18:26:34 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 org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker-agent org.opencontainers.image.licenses=MIT
2021-10-18 13:12:28 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-18 13:12:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-18 13:12:49 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-18 13:12:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:96f2873921dc490a8dfff65a9bf389bd658768114c03673a119d463528c1593f in C:\ProgramData\Jenkins
2021-10-18 13:12:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-18 13:12:50 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.