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

Agent command isn't in sync with remoting agent options

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • amazon-ecs-plugin
    • None
    • OS: ECS-optimized AMI 2018.03.f
      Jenkins : v2.138.1
      ECS plugin v1.16

      Current versions of Jenkins remoting (3.x) do not appear to support the -url and -tunnel options any more and instead favor using the -jnlpUrl option with the tunnel being added to the JNLPLauncher.

       

      Suggest updating the command being used in the ECS Task to be more in line with current versions of Jenkins:

      -jnlpUrl <jenkinsUrl>/computer/<agentName>/slave-agent.jnlp -secret <agentSecret> -workDir <agentWorkdir>

       

      instead of:

      -url <jenkinsUrl> -tunnel <tunnel> <agentSecret> <agentName>

            pgarbe Philipp Garbe
            jtbouse Jeremy Bouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: