Skip to content

Conversation

@dduportal
Copy link
Contributor

@dduportal dduportal commented Jun 17, 2025

Cherry picking the change from #3998 where it was only done for EC2 agents.

Ref. https://matrix.to/#/!CXfiHlEKGLXlkMPLEN:gitter.im/$JYn3wdWAoAhTiWb4QiuXHLp0IJOP53lSmhQzob2PPTU?via=gitter.im&via=matrix.org&via=nani.wtf

It aims at fixing this kind of errors during Windows container builds:

20:31:04  Successfully built ea30f4deaf7b
20:31:04  Successfully tagged jenkins4eval/agent:jdk17-nanoserver-ltsc2022
20:31:04   Service agent_nanoserver-ltsc2022_jdk17  Built
20:31:58  unexpected EOF
20:31:58  = BUILD: Finished building all images.
script returned exit code 1

(from jenkinsci/docker-agents#962 logs)

Cherry picking the change from #3998 where it was only done for EC2 agents.
@dduportal dduportal requested a review from a team as a code owner June 17, 2025 19:19
@dduportal dduportal merged commit 48510e7 into production Jun 17, 2025
@dduportal dduportal deleted the dduportal-patch-1 branch June 17, 2025 19:21
Comment on lines 449 to 450

# Restart docker engine

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Restart docker engine

If no restart is needed, this comment can be removed.

'@ | Set-Content C:\ProgramData\Docker\config\daemon.json

# Restart docker engine
Restart-Service docker
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, I messed up this line (unrelated to the PR: I did a PEBKAC in the GitHub UI). Gotta restore it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what my suggestion above was about. Since I wasn't sure if you removed it by error or not, I just suggested removing the associated comment if it was voluntary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants