Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64251

Remote.jar is not working anymore because of changed parameter slave.jar->agent.jar


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • docker-plugin

      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.

            pjdarton pjdarton
            frickeldave David Koenig
            2 Vote for this issue
            5 Start watching this issue