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

Slave-agent.jnlp does not obey httpPort or httpsPort settings

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • Windows: variety of versions
      Jenkins: 2.46.1

      Problem

      It doesn't matter what settings are passed in to Jenkins on the command line (i.e.--httpPort=8001 --httpsPort=8002) the slave-agent.jnlp file refers to port 8010, as do the instructions on the Node page.

      At the moment it's impossible to run a web-started node over https, or when Jenkins is running on a non-standard port.

      Expected behaviour

      If https is enabled then the instructions (and jnlp file) should all point to https, using the port set on the command line.  If not then the instructions (and jnlp file) should all point to http, using the port set on the command line.

          [JENKINS-43729] Slave-agent.jnlp does not obey httpPort or httpsPort settings

          Andrew Ducker created issue -
          Andrew Ducker made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Oleg Nenashev made changes -
          Component/s Original: remoting [ 15489 ]
          Oleg Nenashev made changes -
          Labels Original: https security New: https remoting security
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-33524 [ JENKINS-33524 ]

            oleg_nenashev Oleg Nenashev
            theandrewducker Andrew Ducker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: