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

Make hostname detection for Selenium RC nodes more reliable.

    XMLWordPrintable

    Details

    • Type: Patch
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: selenium-plugin
    • Labels:
      None
    • Environment:
      Windows slave with firewall and / or Active Directory DNS (it is known to suffer from amnezia).
    • Similar Issues:

      Description

      Sometimes it can happen that the selenium RC launcher can't determine the name of the host it is running. In these cases Hudson could fall back to some other methods hased on some system property or the name of the node.

        Attachments

          Activity

          lkishalmi lkishalmi created issue -
          lkishalmi lkishalmi made changes -
          Field Original Value New Value
          Attachment hudson-5373.patch [ 19060 ]
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          I think a better place to make this change is in the core, inside c.getHostName()

          Show
          kohsuke Kohsuke Kawaguchi added a comment - I think a better place to make this change is in the core, inside c.getHostName()
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/Computer.java
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/26364
          Log:
          [FIXED JENKINS-5373] in 1.343.
          Allow the administrator to control the host names via a system property "host.name" per slave, in case auto-detection fails.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/model/Computer.java trunk/www/changelog.html http://jenkins-ci.org/commit/26364 Log: [FIXED JENKINS-5373] in 1.343. Allow the administrator to control the host names via a system property "host.name" per slave, in case auto-detection fails.
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 135462 ] JNJira + In-Review [ 203498 ]

            People

            Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            lkishalmi lkishalmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: