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

Computer.getHostName() returns null when it is not

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      The current version of Computer.getHostName() returns null even if the fallback returns a value.

          [JENKINS-13185] Computer.getHostName() returns null when it is not

          Code changed in jenkins
          User: Andrew Stone
          Path:
          core/src/main/java/hudson/model/Computer.java
          http://jenkins-ci.org/commit/jenkins/3629aebce4ee0a432baefa9e95cdc31a316a1c78
          Log:
          Fix for JENKINS-13185: If there is a fallback host.name specified, it should return that and not null.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Stone Path: core/src/main/java/hudson/model/Computer.java http://jenkins-ci.org/commit/jenkins/3629aebce4ee0a432baefa9e95cdc31a316a1c78 Log: Fix for JENKINS-13185 : If there is a fallback host.name specified, it should return that and not null.

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          core/src/main/java/hudson/model/Computer.java
          http://jenkins-ci.org/commit/jenkins/951db7d589996fd6777a4468099b506e3828cb9c
          Log:
          Merge pull request #411 from thatguystone/master

          JENKINS-13185: Fix Computer.getHostName() to return the host.name value from the slave rather than null

          Compare: https://github.com/jenkinsci/jenkins/compare/398154f...951db7d

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: core/src/main/java/hudson/model/Computer.java http://jenkins-ci.org/commit/jenkins/951db7d589996fd6777a4468099b506e3828cb9c Log: Merge pull request #411 from thatguystone/master JENKINS-13185 : Fix Computer.getHostName() to return the host.name value from the slave rather than null Compare: https://github.com/jenkinsci/jenkins/compare/398154f...951db7d

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/196aadc61eefecf92fd78bd96b1c98f221e8a179
          Log:
          add changelog entry for JENKINS-13185

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html http://jenkins-ci.org/commit/jenkins/196aadc61eefecf92fd78bd96b1c98f221e8a179 Log: add changelog entry for JENKINS-13185

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1604
          add changelog entry for JENKINS-13185 (Revision 196aadc61eefecf92fd78bd96b1c98f221e8a179)

          Result = SUCCESS
          Olivier Lamy : 196aadc61eefecf92fd78bd96b1c98f221e8a179
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1604 add changelog entry for JENKINS-13185 (Revision 196aadc61eefecf92fd78bd96b1c98f221e8a179) Result = SUCCESS Olivier Lamy : 196aadc61eefecf92fd78bd96b1c98f221e8a179 Files : changelog.html

          dogfood added a comment -

          Integrated in jenkins_ui-changes_branch #21
          Fix for JENKINS-13185: If there is a fallback host.name specified, it should return that and not null. (Revision 3629aebce4ee0a432baefa9e95cdc31a316a1c78)
          add changelog entry for JENKINS-13185 (Revision 196aadc61eefecf92fd78bd96b1c98f221e8a179)

          Result = SUCCESS
          andrew : 3629aebce4ee0a432baefa9e95cdc31a316a1c78
          Files :

          • core/src/main/java/hudson/model/Computer.java

          Olivier Lamy : 196aadc61eefecf92fd78bd96b1c98f221e8a179
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_ui-changes_branch #21 Fix for JENKINS-13185 : If there is a fallback host.name specified, it should return that and not null. (Revision 3629aebce4ee0a432baefa9e95cdc31a316a1c78) add changelog entry for JENKINS-13185 (Revision 196aadc61eefecf92fd78bd96b1c98f221e8a179) Result = SUCCESS andrew : 3629aebce4ee0a432baefa9e95cdc31a316a1c78 Files : core/src/main/java/hudson/model/Computer.java Olivier Lamy : 196aadc61eefecf92fd78bd96b1c98f221e8a179 Files : changelog.html

            Unassigned Unassigned
            litith Andrew Stone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: