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

“Took…on master” shown for a build which ran on a slave which was since deleted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      1.424
    • Similar Issues:

      Description

      If you run a build on a slave, then delete the slave node and revisit the build page, it will claim to have been built on master even though build.xml says otherwise in <builtOn>. The reason is that node.jelly takes a Node rather than a String.

      A corner case for dumb slaves, but quite common when using a cloud plugin, and rather confusing.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/resources/hudson/model/AbstractBuild/index.jelly
          core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly
          core/src/main/resources/lib/hudson/node.jelly
          http://jenkins-ci.org/commit/jenkins/53f21774888e4354c367120eec56c20271184bff
          Log:
          [FIXED JENKINS-15042] “Took…on master” shown for a build which ran on a slave which was since deleted.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/resources/hudson/model/AbstractBuild/index.jelly core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly core/src/main/resources/lib/hudson/node.jelly http://jenkins-ci.org/commit/jenkins/53f21774888e4354c367120eec56c20271184bff Log: [FIXED JENKINS-15042] “Took…on master” shown for a build which ran on a slave which was since deleted.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #1890
          [FIXED JENKINS-15042] “Took…on master” shown for a build which ran on a slave which was since deleted. (Revision 53f21774888e4354c367120eec56c20271184bff)

          Result = SUCCESS
          Jesse Glick : 53f21774888e4354c367120eec56c20271184bff
          Files :

          • core/src/main/resources/hudson/model/AbstractBuild/index.jelly
          • core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly
          • changelog.html
          • core/src/main/resources/lib/hudson/node.jelly
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1890 [FIXED JENKINS-15042] “Took…on master” shown for a build which ran on a slave which was since deleted. (Revision 53f21774888e4354c367120eec56c20271184bff) Result = SUCCESS Jesse Glick : 53f21774888e4354c367120eec56c20271184bff Files : core/src/main/resources/hudson/model/AbstractBuild/index.jelly core/src/main/resources/hudson/model/Job/buildTimeTrend.jelly changelog.html core/src/main/resources/lib/hudson/node.jelly

            People

            Assignee:
            jglick Jesse Glick
            Reporter:
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: