2023-01-05 09:02:06 UTC
2.96 GB
C:/Users/jenkins/Work
JAVA_VERSIONjdk-11.0.17+8
[#000] sha256:a48a3e4ae2de839d8e99bde16eb91d113fb2cf889bba472d0c4274851b5fb402 - 60.48% (1.79 GB)
[#001] sha256:8f3ad73ed772f80ab7923579a55dd12fb9b6e090d1d836408d16ffd9d3dee252 - 26.92% (817 MB)
[#002] sha256:0bc9debb9503ac53c2f64685982eca56ac5110ea6baf7278b27af54ab8fbc409 - 0.0% (1.4 KB)
[#003] sha256:7d05941d16cb0bd8ebdd8398fd10ccd97e48cfd43dd456590e4f3b5cfb552fef - 0.0% (1.37 KB)
[#004] sha256:5b8a899f693f6721c56436f6c3bf5e9a83ec08e738f67d7920d321d3e798c25b - 11.51% (349 MB)
[#005] sha256:8795857428bae50db9104e3590c8f16cd02259eb9c54e1e46dca7ed060a94cdc - 0.01% (310 KB)
[#006] sha256:7254e3e6e36bb44ebb994798b688f386d67237c7f4c0c526a13e7b73616c8da4 - 0.0% (1.39 KB)
[#007] sha256:e01b15b35d1d1b0df1729fc09a7a23375f150b66f698bc7a89bf3628efe3b196 - 0.0% (1.32 KB)
[#008] sha256:f1faa12a2c2fd4b637b0524bd9565cfa003790f25201436ff3d495c62829fd3d - 0.0% (1.3 KB)
[#009] sha256:8e6870b7713cdd4f13c83be549f4a2e2953c5d613e06159e7c65c21f5363077f - 0.0% (1.29 KB)
[#010] sha256:db04ffeb6664dfc01ad88dfb1b96aba7e2d76a99ab4905c4cf2713cbdf8c33c2 - 0.84% (25.6 MB)
[#011] sha256:b10bc9cdf4a53f41caf89160af01c3813ad6756428866b92f062e05b11a51573 - 0.0% (1.32 KB)
[#012] sha256:93e28f0a40f158cf4f7c629e7ca6ecc02679ae2cf47a15e0704ed236ea4bbf67 - 0.14% (4.27 MB)
[#013] sha256:c26a7ac110b1ef1159c3ef0064eaedce65d086be7714559d429792f42c4fe9b2 - 0.0% (1.3 KB)
[#014] sha256:f5b02ec0187a7e111563a4166e902bcb08e369521bec4a8bdc6543dce0b3760f - 0.0% (1.32 KB)
[#015] sha256:7098afff6a558ad0746a884a8f81ae46617d70ecf5715c8277b58781a8a5b139 - 0.0% (1.37 KB)
[#016] sha256:7e130f855753beadaf32be60bb90e6e21a0f0edc1e8d3554e8e64e42bd5f9804 - 0.01% (374 KB)
[#017] sha256:a74e7ca0e26ff06cbdc452e40b18727f585f4b83ad9b68189a71fdbd51a27dca - 0.0% (1.37 KB)
[#018] sha256:f51eeecaa039a8f3cb5475c791291f8bf941e127f1054b0fd0c13b89dbfbbd26 - 0.0% (1.34 KB)
[#019] sha256:b0ba4536437e70885f2f7e42237645636467094e72207f917a853526e4c5647f - 0.0% (1.31 KB)
[#020] sha256:e99dbe60037603896cf4eff1b24e63f86e0205f38af4f1ee5601b6e3b3776f6c - 0.0% (1.29 KB)
[#021] sha256:46a3a74fca7b16df2b262d44f073af0c1a503945ffab3f0fa1a642781f528fa3 - 0.05% (1.52 MB)
[#022] sha256:09c5cbd6293ed190cae0c4e812276c1ab2d2b7941352e4b69e5e8cbbdadbc782 - 0.0% (1.34 KB)
[#023] sha256:8f637fe9574154236b1f431acb96529cb0079ffba454a19c04e8060728f3287d - 0.01% (386 KB)
[#024] sha256:c6b0da2bafc3006b3fc5b2cf2417e4ef4ea2cd2012e4e8557cfc18712754a1a6 - 0.01% (380 KB)
[#025] sha256:7318c79d07ee0ee0215d84fea64cfc5e20a08f4232072ca6167eaee1a4d8e772 - 0.0% (1.3 KB)
[#026] sha256:13274df32b915aaa93f1b7c19c4f718798ab2e33d75056bfdb570ea469509854 - 0.0% (1.3 KB)
[#027] sha256:15ccb0482571251c6b979161707b265337fc4fffed1651f15b03a434d4d76f79 - 0.0% (1.34 KB)
[#028] sha256:f4e40e36222542ea37bc633eed0240195c4e09924bf20c5e9f1fc45785c8fae5 - 0.0% (1.33 KB)
[#029] sha256:a7a1d6b5ea4841df898c9b3528e7f575724a2e8517572e4a2aa262b89b803145 - 0.0% (1.32 KB)
[#030] sha256:13400c1f660a8ea1fc17507d0abe9c1c226beade0b6cce42213a65107bad66da - 0.0% (1.29 KB)
[#031] sha256:3cd64af7173df06447bbe94c2234ef50e0172174975e5de070822713640d7aba - 0.01% (392 KB)
[#032] sha256:e6755aeb8be1f26d94786d97a882169cd1ef06996225e212153b86bcd5e91dfc - 0.0% (4.48 KB)
[#033] sha256:8a0e61cc7eb105b8301271aac3487e1bf0180330a728d65bb1b1bf5c6c653e1b - 0.0% (1.3 KB)
[#034] sha256:3999fb67c0a00aaf8ad52994e8dd112173fc410a96ee15e8f4932d22b9e5ac4d - 0.0% (1.3 KB)
Apply image 10.0.17763.2803
2022-12-11 08:04:49 UTCInstall update 10.0.17763.3770
2022-12-13 22:48:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-12-13 23:02:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-11.0.17+8
2022-12-13 23:04:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.17_8.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.17_8.msi ; Write-Host ('Verifying sha256 (9b74536f2475b67e53c83ecf41f80ac9f1ba29cef91c6e261e10d1223da42d69) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '9b74536f2475b67e53c83ecf41f80ac9f1ba29cef91c6e261e10d1223da42d69') { 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-12-13 23:06:30 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-12-13 23:06:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2022-12-23 07:01:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-12-23 07:01:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.37.2
2022-12-23 07:01:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=2
2022-12-23 07:01:43 UTC|2 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 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
2022-12-23 07:01:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=3.1.4
2022-12-23 07:01:51 UTC|3 GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 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-12-23 07:01:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2022-12-23 07:01:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2022-12-23 07:01:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2022-12-23 07:01:58 UTC|6 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 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-12-23 07:01:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2022-12-23 07:01:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2022-12-23 07:01:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2022-12-23 07:02:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=3085.vc4c6977c075a
2022-12-23 07:02:06 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 VERSION=3085.vc4c6977c075a 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-12-23 07:02:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2022-12-23 07:02:14 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 VERSION=3085.vc4c6977c075a 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-12-23 07:02:19 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 VERSION=3085.vc4c6977c075a user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; git config --global core.longpaths true
2022-12-23 07:02:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2022-12-23 07:02:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2022-12-23 07:02:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2022-12-23 07:02:20 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=3085.vc4c6977c075a org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker-agent org.opencontainers.image.licenses=MIT
2023-01-05 09:02:00 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=
2023-01-05 09:02:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2023-01-05 09:02:05 UTC|1 user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $output = net users ; if(-not ($output -match $env:user)) { 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 }
2023-01-05 09:02:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:23ea2ce10e0bceda59e076188362af801c116c16d43b5ef35727baf8a7f8998a in C:\ProgramData\Jenkins
2023-01-05 09:02:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2023-01-05 09:02:06 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.