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

Built-In Node getDisplayName() sometimes returning "master" and sometimes "built-in"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • core
    • None
    • Jenkins Versoin 2.361.1

      When calling ComputerListener.onOnline(Computer c) with the built-in node on startup, getDisplayName() returns "built-in". (did probe with ==Jenkins.get().getComputers()[0] and it was the built-in node)

      When calling at any other time, getDisplayName() returns "master".

      Recreatable using the console.

      println Jenkins.instance.getComputers()[0].getDisplayName();

      => "master"

       

      At least critical, may be blocking for some plugins if i am not the only one with this issue.

            Unassigned Unassigned
            rockseisen Valentin Röckseisen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: