org.jenkinsci.plugins.slave_setup
Class SetupDeployer
java.lang.Object
org.jenkinsci.plugins.slave_setup.SetupDeployer
public class SetupDeployer
- extends Object
Executes a deployment to all or a single node of the given fileset and executes the command line.
- Author:
- Frederik Fromm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetupDeployer
public SetupDeployer()
getAllActiveSlaves
public List<hudson.model.Computer> getAllActiveSlaves()
- Returns a list of all active slaves connected to the master.
- Returns:
- a list of all active slaves connected to the master
deployToComputer
public void deployToComputer(hudson.model.Computer c,
hudson.FilePath root,
hudson.model.TaskListener listener,
SetupConfig config)
throws IOException,
InterruptedException
- Parameters:
c - the computer to upload th files toroot - the computer's target directorylistener - the listener for logging etc.config - the SetupConfig object containing the source dir and the command line
- Throws:
IOException
InterruptedException
deployToComputers
public void deployToComputers(List<hudson.model.Computer> computerList,
SetupConfig config)
- Parameters:
computerList - the list of computers to upload the setup files and execute command lineconfig - the SetupConfig object
Copyright © 2004-2012. All Rights Reserved.