Jenkins 2.266 (not solved in 267)
Docker plugin 1.2.1
OS Debian 9
Docker version 19.03.13
Jenkins in Docker container (Based on Debian)
Jenkins-Slave Docker Image (Based on Debian)
Java 11 is used in master and slave container
I use the docker plugin to execute jobs remote in another docker-container. I configured the cloud with default parameters and the "connect method": "Attach Docker container". When i execute a job, i get the message, that the used parameter "-slaveLog" is invalid.
The reason for that is, that Jeff removed the parameter alias in version 4.6 of remoting.jar so just "-agentLog" is valid now (pull request here). With jenkins 2.266 the remote-4.6.jar is the new default, so the docker-plugin's default settings (for the "Attach" method) are no longer viable - it's now necessary to override the defaults to make it work.