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

Start provision only if it makes sense

XMLWordPrintable

      Currently the process of a new node provision is started when requested (always), but there are couple of situations when it doesn't make sense:

      • excessWorkload == 0
      • Jenkins.getInstance().isQuietingDown() == true
      • Jenkins.getInstance().isTerminating() == true

      In all above cases we should skip the procedure and return an empty Collection<PlannedNode>

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

              Created:
              Updated:
              Resolved: