2021-10-05 06:57:40 UTC
324 MB
C:/Users/jenkins/Work
JAVA_HOMEC:\openjdk-8
JAVA_VERSIONjdk8u292-b10
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.23% (97.9 MB)
[#001] sha256:aeee956c5b711c9a625e29934428eed20c294f7625e95fc295671c57db6b7b23 - 0.0% (1.08 KB)
[#002] sha256:9d7596e59ccad4684a7733ce7e8f018d1b75b7f7cf238bebe9d1b65f42f10011 - 0.0% (1.02 KB)
[#003] sha256:7721fd8b5f2703c57b89a0eb0d9b8439c9d92b17a1f6c6544a91873dcb3a3edc - 0.02% (70.2 KB)
[#004] sha256:413009a90a3c768d0964b567fa3cdad4651a1d99cec09bf6b7b1607458c5b142 - 0.0% (1.01 KB)
[#005] sha256:43e61af36d58326bffb912c234d9126f2ed7a27fe3b90678f6221273bcb11ca7 - 29.87% (96.8 MB)
[#006] sha256:b87d2f94dbf5ab2252075bf50956c554afda0d2c7f4c7fd90f6425289ab180b7 - 0.03% (99.4 KB)
[#007] sha256:568c687d989071cd237475fc84bb8b3912d42e1014726543a06e30d18d3b7aa7 - 0.0% (1.09 KB)
[#008] sha256:cd26822b4d42f8e4fa381a3b1fdb572d685f3f4fb5f3e82369877818608ffac9 - 0.0% (1.08 KB)
[#009] sha256:e9800d57c8d747a1969c72fc592769feb6366ed6ea08a23af69f134143c71901 - 0.01% (41.7 KB)
[#010] sha256:51dca7a9cc2ee031730833a6af81ed5bfd2a5fd0f470e0bcf28c945424354c18 - 0.01% (38.5 KB)
[#011] sha256:7b95856a861863bedefe1a4c3a3433a947c9125c3416606c4d14970870b948cb - 0.0% (1.04 KB)
[#012] sha256:63c5ef3020b250501c7b79841131f9ffa66bb36af7394891eb526d2e43075c59 - 0.0% (1.02 KB)
[#013] sha256:fdba23a112d39e1a073e340c845984f65c54065a0c3aa52c85eae6913eed1acc - 0.0% (1.04 KB)
[#014] sha256:a7d618a1af62e66905b2bc2c61591272e5051de909ad8ce6149facc3fd73fe89 - 29.49% (95.5 MB)
[#015] sha256:7c8e8a0183c491c277ee6218a70699d3e2ea79b87e29119ece301094dfb496fb - 0.0% (1.04 KB)
[#016] sha256:305e24367fb23cba65145a5ae34a69f2eb64f7b55593232b4476174e7c84f4db - 0.0% (1.04 KB)
[#017] sha256:ebc96657ca21aae97e13b71a34dd90a6d61d82448afe5f00c8b57997566a2d9c - 0.0% (1.05 KB)
[#018] sha256:543a6bc35374ee64535ad73849be332e19cac2d55ea8f39ccfea0e311046482d - 0.0% (1.04 KB)
[#019] sha256:e48ed46f6288aa44f11bc3ed127ed3e86463a70bea90d764a8e7e81d6f435198 - 8.5% (27.5 MB)
[#020] sha256:bfee64dd9462f1dcda1ad4405c791a47191e390a41a5006959c4eabf0882b24e - 0.0% (1.05 KB)
[#021] sha256:d61e46cb884e0c3632b43d963941e38dd347122a1763ae0902b0b96434fb8e32 - 1.34% (4.35 MB)
[#022] sha256:7809af279f60c3eca1a4bacfb6f8d454a2a5abe7496050deb11e10ee779705ad - 0.0% (1.04 KB)
[#023] sha256:b04ca882f29d3a71991266776243bfd7f2c42f23d28ca97a8716499b96427b39 - 0.0% (1.04 KB)
[#024] sha256:3e92f80ab72e58f9e216d5a5570cd9b2027ecf62b237163cfac604fb7e8a2552 - 0.0% (1.04 KB)
[#025] sha256:bad6ddbe420ec858821187f1e15eb2159501ad045721b4fb5ad99f1911c5808d - 0.0% (1.04 KB)
[#026] sha256:a572d7895ccf37048a413244d0d9ef08d167c2e9be56f93780d0d6dd449b4149 - 0.0% (1.05 KB)
[#027] sha256:b0e1f432f48f662759d1660a5ffc135c626d09f5f91f0abac00d3f0a08eea120 - 0.02% (71.4 KB)
[#028] sha256:3b446e6bd1ca726a27d52b24632356e837b48d8afe4172b5b2a23d824c3aa910 - 0.0% (1.04 KB)
[#029] sha256:49977be94407afc78fc13651a013ebbe0f6ed10a6e9f48d1375933c9efa2e74e - 0.0% (1.04 KB)
[#030] sha256:4fa7efba9830503b272176ca044a5a1b1ec415664344fe045cadda1b4fd58224 - 0.0% (1.05 KB)
[#031] sha256:2d3e2761848cd87b37aaed17f86e300de4a976cf9acfcecf321105ce68c0e327 - 0.42% (1.35 MB)
[#032] sha256:2bc04fce37437d4269d668998e9d74e1f72783f31846ddeab739e80034511a4c - 0.0% (1.03 KB)
[#033] sha256:2715f440bd0d3616eae40b517d719242803ad1468b540825ab2c9e0507b29475 - 0.02% (67.9 KB)
[#034] sha256:dda7ee25c9f12d26957886c5f084395292ee432b5f0b9896dfa49fd202258468 - 0.0% (1.03 KB)
[#035] sha256:cde8a4baca6cd0801034cf151c4df975fe9655d5aa73524653635e19e4d848ce - 0.0% (1.04 KB)
[#036] sha256:cc4b02caab0199a0d5568a1ca7ebd749c23bd1da253bdb273768a6e169e1023b - 0.0% (1.05 KB)
[#037] sha256:cd20224e2f783965c9c81eb9b6687a8f2b02db002f2ada7ea90891554f4014f2 - 0.0% (1.11 KB)
[#038] sha256:6d159a7700173d5b010bbead3935a6c519581af93fdc78a98818d91b476878b1 - 0.0% (1.1 KB)
[#039] sha256:2f4f0a79d0ca50d7254a7583d8d6cf49189e2e87af274fe4a127c24298d0ffe9 - 0.02% (68.9 KB)
[#040] sha256:0a47f42bd4d41ea5b9796d233bbed5f9755a659350dba67ac5f682e68747484f - 0.0% (4.18 KB)
[#041] sha256:acfb84c60c5e22014b70757e554e8772f007313b198af5c382d1e068798ee1ba - 0.0% (1.05 KB)
[#042] sha256:d38e2247b6f76ac62d7ac3dd0f4149a15481609d1cfb10c228c64060cc0d5d56 - 0.0% (1.04 KB)
Apply image 1809-amd64
2021-09-27 18:53:25 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-09-27 18:53:25 UTCcmd /S /C #(nop) USER ContainerAdministrator
2021-09-27 18:53:48 UTCcmd /S /C setx PATH "%PATH%;%ProgramFiles%\PowerShell;" /M
2021-09-27 18:53:49 UTCcmd /S /C #(nop) USER ContainerUser
2021-09-27 18:54:03 UTCcmd /S /C #(nop) COPY dir:ed826dc2ba0e470b41bbd56bcab0a17eb77ada2816498df2e3e5f76d0c048e2b in C:\Program Files\PowerShell
2021-09-27 18:54:41 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-09-27 18:54:42 UTCcmd /S /C #(nop) ENV POWERSHELL_TELEMETRY_OPTOUT=0
2021-09-27 18:54:42 UTCcmd /S /C #(nop) CMD ["pwsh.exe"]
2021-10-04 10:23:05 UTCcmd /S /C #(nop) COPY file:76b1942627751fbd694f412d5d02e819d5c5cd1532f9477eb4e66df636b289db in \windows\system32\netapi32.dll
2021-10-04 10:23:05 UTCcmd /S /C #(nop) COPY file:0702802eb68e1839b8fe976a8afd18525296626c7b45ac6e3c2f59d8dd208ad2 in \windows\system32\whoami.exe
2021-10-04 10:23:06 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-04 10:23:06 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk8u292-b10
2021-10-04 10:23:06 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER ContainerAdministrator
2021-10-04 10:23:20 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_windows_hotspot_8u292b10.zip ...'); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_windows_hotspot_8u292b10.zip -O 'openjdk.zip'; Write-Host ('Verifying sha256 (2405e11f9f3603e506cf7ab01fcb67a3e3a1cf3e7858e14d629a72c9a24c6c42) ...'); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne '2405e11f9f3603e506cf7ab01fcb67a3e3a1cf3e7858e14d629a72c9a24c6c42') { 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-04 10:23:20 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.9
2021-10-04 10:23:21 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.9
2021-10-04 10:23:21 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.31.0
2021-10-04 10:23:21 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=1
2021-10-04 10:23:29 UTC|3 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-04 10:23:30 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=2.13.2
2021-10-04 10:23:35 UTC|4 GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-04 10:23:35 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-04 10:23:35 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-04 10:23:36 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-04 10:23:36 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-10-04 10:23:36 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-10-04 10:23:39 UTC|7 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-04 10:23:39 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-10-04 10:23:40 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-04 10:23:40 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-04 10:23:45 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-04 10:23:45 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-04 10:23:48 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-04 10:23:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-10-04 10:23:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-10-04 10:23:49 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-05 06:57:32 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-05 06:57:32 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-05 06:57:39 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-05 06:57:39 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:96f2873921dc490a8dfff65a9bf389bd658768114c03673a119d463528c1593f in C:\ProgramData\Jenkins
2021-10-05 06:57:40 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-05 06:57:40 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.