• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core

      The buildOn property for a build should not be empty.

      Set to "master" or if set to the master's label by default would be great.

      "builtOn": "",
      "buildOn": "my master label"

          [JENKINS-26685] No empty value for a build's "buildOn" data

          Daniel Beck added a comment -

          The node name of the Jenkins master is the empty string (Jenkins.instance.nodeName), possibly to distinguish from slave nodes with any specific name. Not sure this should be changed as it would introduce ambiguity for users with particularly stupid slave node names.

          Daniel Beck added a comment - The node name of the Jenkins master is the empty string ( Jenkins.instance.nodeName ), possibly to distinguish from slave nodes with any specific name. Not sure this should be changed as it would introduce ambiguity for users with particularly stupid slave node names.

          This has led to problems in the past
          JENKINS-9671
          I think it would be more consitent to set buildOn to "master" if it was build there even if some naming ambiguities could occure for some users with "stupid" slave node names.

          Sebastian Feldmann added a comment - This has led to problems in the past JENKINS-9671 I think it would be more consitent to set buildOn to "master" if it was build there even if some naming ambiguities could occure for some users with " stupid " slave node names.

            Unassigned Unassigned
            sebastianfeldmann Sebastian Feldmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: