Examples of PlannedNode


Examples of hudson.slaves.NodeProvisioner.PlannedNode

        while(excessWorkload>0) {
            System.out.println("Provisioning");
            numProvisioned++;
            Future<Node> f = Computer.threadPoolForRemoting.submit(new Launcher(delay));
            r.add(new PlannedNode(name+" #"+numProvisioned,f,1));
            excessWorkload-=1;
        }
        return r;
    }
View Full Code Here

Examples of hudson.slaves.NodeProvisioner.PlannedNode

      while (excessWorkload > 0) {
        final int numExecutors = Math.min(excessWorkload, maxExecutors);
        excessWorkload -= numExecutors;
        LOGGER.info("Provisioning Jenkins Slave on Mesos with " + numExecutors +
                    " executors. Remaining excess workload: " + excessWorkload + " executors)");
        list.add(new PlannedNode(this.getDisplayName(), Computer.threadPoolForRemoting
            .submit(new Callable<Node>() {
              public Node call() throws Exception {
                MesosSlave s = doProvision(numExecutors);
                Hudson.getInstance().addNode(s);
                return s;
View Full Code Here

Examples of hudson.slaves.NodeProvisioner.PlannedNode

                Hudson.getInstance().addNode(newSlave);
                return newSlave;
            }
        });

        PlannedNode node = new PlannedNode(plannedNodeName, future, executors);
        result.add(node);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.