Agent command isn't in sync with remoting agent options

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: amazon-ecs-plugin
    • None
    • Environment:
      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>

            Assignee:
            Philipp Garbe
            Reporter:
            Jeremy Bouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: