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

Extract list of available nodes to Utils

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • cli
    • None

      The aim of this JIRA is to create a new static function in Utils which serves the list of the currently available computers which contain a name. This functionality iterates over all available Computers (-> is can be a bit expensive operation! so it could be a good idea to cache the list on the caller side) and if a Computer has a name, is it added to the returned list.

      In the Jenkins core there are places where we need the fresh list of available Computers with their names (for ex. when we would provide an advice). This effort includes the attempt to identify possible places where the former impl. can be changed to using this new function.

            pajasoft Pavel Janoušek
            pajasoft Pavel Janoušek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: