2021-10-05 07:22:52 UTC
407 MB
C:/Users/jenkins/Work
PATHC:\Windows\system32;C:\Windows;C:\Program Files\PowerShell;C:\jdk-11.0.6+10\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:bc8517709e9cfff223cb034ff5be8fcbfa5409de286cdac9ae1b8878ebea6b84 - 24.09% (98 MB)
[#001] sha256:edefde4092132876f0c0de8b6bb49cce0a65293266552f03f25365b582390afc - 0.0% (1.05 KB)
[#002] sha256:28887e2ce2755fa6f9e2689bd32f9884000f2ef4bae6a60cd14692d8fef8e5d2 - 0.0% (1.02 KB)
[#003] sha256:c8df4421fbb82a7ce3527506129a56598904ac38fded871c7e492dec06342e98 - 0.02% (66 KB)
[#004] sha256:0fc0ae9fd43722948a20277dc83401e25e411c58386fb53c86352e5a1d896f25 - 0.0% (1.02 KB)
[#005] sha256:25b70c5ea22f722afb553ac0a2d5a8a6175d57fafa0ce3718d80b18a619395cc - 23.79% (96.8 MB)
[#006] sha256:34a2d237c2762009fd14235c47559b55c12559ca0809de203cde952312461824 - 0.03% (129 KB)
[#007] sha256:61cef563e9fdfdc1a6eabf922ddf0ea3857a01620fb66a31fac5040b11aa4405 - 0.0% (1.02 KB)
[#008] sha256:e1c7ae22d9575e7b6282ded4590f9f89bcd87a5fd840d6e6fd06d4b5f8fe3c27 - 0.0% (1.02 KB)
[#009] sha256:98373650c2539ce73fbb27612bebe3a252d420a1c86349eb7e8935d7710f43a4 - 0.0% (1.05 KB)
[#010] sha256:be66babbe057259494b4996769a5692056e32d83e703a12e2598792a3f1d35b2 - 0.0% (1.06 KB)
[#011] sha256:984c6d5c22e8d0244965a0795ee8fc4d970622e61bf40e21acbcf16d79ee7d4c - 0.0% (1.05 KB)
[#012] sha256:2b0f2a71d342978cd6e30fcb2855d4090b82f1af569878002836e0d9003baf54 - 0.0% (1.05 KB)
[#013] sha256:4da6304c34c1bd9835d0a725c1c4fd5becf7f639225946c5227f573edf2e3273 - 0.0% (1.07 KB)
[#014] sha256:a8f8f45a65ac49a6b0189980b29ae3a70359a5e367163a9dee2c39312a0a4b53 - 45.74% (186 MB)
[#015] sha256:ef37082a0daa6a2bdd6e286dc63d4311570c8fb6303a7b1a05990fc5f472c4ca - 0.0% (1.05 KB)
[#016] sha256:1137510ac541dad7ed39d4114e60d7b37bac61676d4348e4af77ac26e3299048 - 0.0% (1.05 KB)
[#017] sha256:fa5b8007588f06cc9e7eff9c3e1bce88f31108909ae8fcecf43d536aa12965c8 - 0.0% (1.05 KB)
[#018] sha256:434ab9982bff7bac8204256405df0e627d524f26648ed3c5a3d4779c5ddf0355 - 0.0% (1.06 KB)
[#019] sha256:912cfec79352463328fc8bc8b40c6740e88a707fba0fc9d496402bad03b65975 - 4.88% (19.9 MB)
[#020] sha256:637a206f810e16274af2eff6b39e2bcf007e69bf2e2515bff2d49e2f66f6141c - 0.0% (1.07 KB)
[#021] sha256:8b5e4ae7ff86fd567e9301b58507ab09ebdef64b3ad292310b1c225c8b8d003f - 1.05% (4.28 MB)
[#022] sha256:cdf12542f683afb494a39648baf29f5ad208e53de5dddcac5c618580e659fae9 - 0.0% (1.07 KB)
[#023] sha256:f9e4a6911e2b8d19131289a3fdd54d05843b3925fb63c68ff196f419100a8de8 - 0.0% (1.04 KB)
[#024] sha256:a8d36316066dddb307241b2b33b154a229f3da1e054dca1e594e50436a9d018a - 0.0% (1.05 KB)
[#025] sha256:a812d39baae2634d5d6f19ec412e9d5eb3e7ec07594e987ea50a2f0a87dfb110 - 0.0% (1.05 KB)
[#026] sha256:8821304f83df03b1aaf854573a81cf8956c47ab0a8bf33474ffe330e6add6e35 - 0.0% (1.04 KB)
[#027] sha256:bda96eb2f48732a6fba839f599bc4a5f2e18cfe5b150a3b5c01795d51126e2dd - 0.0% (1.05 KB)
[#028] sha256:6c34d8b4b0e5de9fd2d1e0b85f904d3b009b9d9f8585cf9e84235360b7480818 - 0.02% (70.4 KB)
[#029] sha256:162638dfd8cd5292c75f4251de311c410f0fce25e6a173c74bfa7f628ee7a7e5 - 0.0% (1.04 KB)
[#030] sha256:690be94050e4978e62bb395422457578184b33765345e8e526d134b79fff519d - 0.0% (1.08 KB)
[#031] sha256:be547c39f7eeae06883639373c23aa96b723cda5ab3ba5dcd0ce83b517ba84bd - 0.0% (1.05 KB)
[#032] sha256:8fff3ce652b983545fd12a354b806b95225ba5e2b0b5d731988f859059fe68db - 0.33% (1.36 MB)
[#033] sha256:a66ac4c685a0433de70789321df9ee503ee49aed035f8c02f707d79d05dab2d1 - 0.0% (1.04 KB)
[#034] sha256:1751353b6d6c8e5d2223dbd3fd963167d07d0c0316d963a65a068700a0515742 - 0.02% (65.9 KB)
[#035] sha256:4e3c2e1e010dba903df70bbb63313bc690f399c0b3a4ac42ddeb3ddcba6bec04 - 0.0% (1.04 KB)
[#036] sha256:a9ddb9b8d0d13919e6d173351e72ca396bef7c7c59c7887ba83927dad819589d - 0.0% (1.07 KB)
[#037] sha256:8cf25b435020cb004e922c4a356faf43be00fdfb351caa2f7bec5bc3e920aff2 - 0.0% (1.07 KB)
[#038] sha256:459e9cd2170c1903b33daea57d18ddff6bd0110bc9464067ca9228d4657e2a20 - 0.0% (1.07 KB)
[#039] sha256:78b4e8b504ce335ef3762b0b16c1b6a79d3d03dfd8ce207b2207e38dcc141153 - 0.0% (1.04 KB)
[#040] sha256:0ad13fe2b0a10adb03254725633117ea382173a6525dea8f49ca58815e4dc9ef - 0.0% (1.04 KB)
[#041] sha256:f7c23c1c96d05daad0d12595d144ec53e61b15cd20de6325b856eb0de704c049 - 0.02% (66.2 KB)
[#042] sha256:547b5f239b11457baaf279820e79db5e4744bd26a33c0c985d03c427d0e9b897 - 0.0% (4.08 KB)
[#043] sha256:29a9d9eb1ecee1b61de1010f07bdf3b53a4b1fb9ea3777eed62bc737311acb2b - 0.0% (1.04 KB)
[#044] sha256:e669a7a2285b0093d77f664f6dda7ce82c0a2ebe32aef82aedc5f983ee297545 - 0.0% (1.05 KB)
Apply image 1809-amd64
2021-08-19 17:25:03 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-08-19 17:25:04 UTCcmd /S /C #(nop) USER ContainerAdministrator
2021-08-19 17:25:33 UTCcmd /S /C setx PATH "%PATH%;%ProgramFiles%\PowerShell;" /M
2021-08-19 17:25:34 UTCcmd /S /C #(nop) USER ContainerUser
2021-08-19 17:25:54 UTCcmd /S /C #(nop) COPY dir:ed826dc2ba0e470b41bbd56bcab0a17eb77ada2816498df2e3e5f76d0c048e2b in C:\Program Files\PowerShell
2021-08-19 17:26:33 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-08-19 17:26:34 UTCcmd /S /C #(nop) ENV POWERSHELL_TELEMETRY_OPTOUT=0
2021-08-19 17:26:34 UTCcmd /S /C #(nop) CMD ["pwsh.exe"]
2021-08-27 09:32:27 UTCcmd /S /C #(nop) ARG JAVA_VERSION=11.0.6+10
2021-08-27 09:32:28 UTCcmd /S /C #(nop) ARG JAVA_SHA256=6fb8b6c254ec0e1091acd421ac79c1bb07b295de0b679c0595fd284caf7734e5
2021-08-27 09:32:29 UTCcmd /S /C #(nop) ARG JAVA_HOME=C:\jdk-11.0.6+10
2021-08-27 09:32:30 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-08-27 09:32:31 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER ContainerAdministrator
2021-08-27 09:33:05 UTC|3 JAVA_HOME=C:\jdk-11.0.6+10 JAVA_SHA256=6fb8b6c254ec0e1091acd421ac79c1bb07b295de0b679c0595fd284caf7734e5 JAVA_VERSION=11.0.6+10 pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; $javaRoot = 'OpenJDK11U-jdk_x64_windows_hotspot_{0}' -f $env:JAVA_VERSION.Replace('+', '_') ; $url = 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-{0}/{1}.zip' -f [System.Uri]::EscapeDataString($env:JAVA_VERSION), $javaRoot ; Write-Host "Retrieving $url..." ; Invoke-WebRequest $url -OutFile 'openjdk.zip' -UseBasicParsing ; if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Error 'Java SHA256 mismatch' ; exit 1} ; Expand-Archive openjdk.zip -DestinationPath C:/ ; Remove-Item -Path openjdk.zip
2021-08-27 09:33:09 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.3
2021-08-27 09:33:10 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.3
2021-08-27 09:33:11 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.26.0
2021-08-27 09:33:12 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=1
2021-08-27 09:33:24 UTC|6 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 JAVA_HOME=C:\jdk-11.0.6+10 JAVA_SHA256=6fb8b6c254ec0e1091acd421ac79c1bb07b295de0b679c0595fd284caf7734e5 JAVA_VERSION=11.0.6+10 VERSION=4.3 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}-busybox-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-08-27 09:33:25 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=2.10.0
2021-08-27 09:33:34 UTC|7 GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 JAVA_HOME=C:\jdk-11.0.6+10 JAVA_SHA256=6fb8b6c254ec0e1091acd421ac79c1bb07b295de0b679c0595fd284caf7734e5 JAVA_VERSION=11.0.6+10 VERSION=4.3 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
2021-08-27 09:33:34 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV ProgramFiles=C:\Program Files
2021-08-27 09:33:35 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV WindowsPATH=C:\Windows\system32;C:\Windows
2021-08-27 09:33:36 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PATH=C:\Windows\system32;C:\Windows;C:\Program Files\PowerShell;C:\jdk-11.0.6+10\bin;C:\mingit\cmd
2021-08-27 09:33:37 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-08-27 09:33:38 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-08-27 09:33:39 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-08-27 09:33:44 UTC|10 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 JAVA_HOME=C:\jdk-11.0.6+10 JAVA_SHA256=6fb8b6c254ec0e1091acd421ac79c1bb07b295de0b679c0595fd284caf7734e5 JAVA_VERSION=11.0.6+10 VERSION=4.3 user=jenkins pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; net user "$env:user" /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; setx /M PATH '%PATH%;%JAVA_HOME%\bin' ; New-Item -ItemType Directory -Path C:/ProgramData/Jenkins | Out-Null
2021-08-27 09:33:45 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-08-27 09:33:46 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-08-27 09:33:47 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-08-27 09:33:55 UTC|11 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 JAVA_HOME=C:\jdk-11.0.6+10 JAVA_SHA256=6fb8b6c254ec0e1091acd421ac79c1bb07b295de0b679c0595fd284caf7734e5 JAVA_VERSION=11.0.6+10 VERSION=4.3 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-08-27 09:33:56 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-08-27 09:34:01 UTC|11 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 JAVA_HOME=C:\jdk-11.0.6+10 JAVA_SHA256=6fb8b6c254ec0e1091acd421ac79c1bb07b295de0b679c0595fd284caf7734e5 JAVA_VERSION=11.0.6+10 VERSION=4.3 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-08-27 09:34:02 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-08-27 09:34:03 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-08-27 09:34:04 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-05 07:22:47 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION
2021-10-05 07:22:47 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=4.3-4
2021-10-05 07:22:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-05 07:22:51 UTC|2 VERSION=4.3-4 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 07:22:51 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:301769251ed29c14574f1d82ec7b119bacbdab65fa19dffbd9f969ac48051fa7 in C:\ProgramData\Jenkins
2021-10-05 07:22:52 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-05 07:22:52 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.