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

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

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: