This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Description
After the initial setup of Jenkins, slave agent can't be created by Kubernetes plugin. Below is the error message from Jenkins.
Connection #84 failed
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readFully(DataInputStream.java:169)
at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:216)
Work around is going to Manage Jenkins -> Configure System page and clicking "Save" button. Then slave agent can be created successfully afterwards.
Meanwhile, below is the error message when saving the configuration page.
Father of PodEnvVar [getValue()=36, getKey()=GROUP_SUFFIX] and its getDescriptor() points to two different instances. Probably malplaced @Extension. See http://hudson.361315.n4.nabble.com/Help-Hint-needed-Post-build-action-doesn-t-stay-activated-td2308833.html
Initial suspect is this is a bug from Jenkins Kubernetes Plugin.