Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- afterDisconnect(SlaveComputer, TaskListener) - Method in class org.jenkinsci.plugins.slave_setup.SetupSlaveLauncher
C
- checkLabelsForComputerOrNull(Computer, SetupConfigItem) - Static method in class org.jenkinsci.plugins.slave_setup.SetupDeployer
-
Checks if this script should be executed on the target computer.
- Components - Class in org.jenkinsci.plugins.slave_setup
-
We are going to store in cache the master delimiter and each node delimiter while they are deployed.
- Components(FilePath, Computer) - Constructor for class org.jenkinsci.plugins.slave_setup.Components
-
Add construction description, Checks if config exists and creates it, then store all remote objects to be used at deploy time
- Components(Computer) - Constructor for class org.jenkinsci.plugins.slave_setup.Components
-
Call Components(slave.getNode().getRootPath(), slave) Add construction description, Checks if config exists and creates it, then store all remote objects to be used at deploy time
- ComputerListenerImpl - Class in org.jenkinsci.plugins.slave_setup
- ComputerListenerImpl() - Constructor for class org.jenkinsci.plugins.slave_setup.ComputerListenerImpl
- configure(StaplerRequest2, JSONObject) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfig
-
GlobalConfiguration override.
- copyFiles(File, FilePath) - Static method in class org.jenkinsci.plugins.slave_setup.SetupDeployer
-
Copy localPath into remotePath and return boolean if operation succeded
- createEnvVarsForComputer(Computer) - Static method in class org.jenkinsci.plugins.slave_setup.SetupDeployer
-
Gets the current enviroment variables for the given computer
D
- debug(String) - Static method in class org.jenkinsci.plugins.slave_setup.Components
-
Print only if debug enabled (debug purposes)
- DELIMITER - Static variable in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
- DescriptorImpl() - Constructor for class org.jenkinsci.plugins.slave_setup.SetupSlaveLauncher.DescriptorImpl
- disableDebug() - Static method in class org.jenkinsci.plugins.slave_setup.Components
-
Just disable debug Mode
- doAutoCompleteAssignedLabelString(String) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfig
-
Autocompletion string for jelly to autocomplete node label.
- doCheckAssignedLabelString(String) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfig
- doCheckFilesDir(String) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfig
- doConfig() - Method in class org.jenkinsci.plugins.slave_setup.Components
-
Iterates over all instance's SetupConfigItem performing/calling a singleSetup for each SetupConfigItem
- doConfigSetups(List<Computer>) - Static method in class org.jenkinsci.plugins.slave_setup.Components
-
Iterates over all given computers performing the doConfig for each computer
- doSetup() - Method in class org.jenkinsci.plugins.slave_setup.Components
-
Slave setup flow, here, the method iterates all SetupItems and if not installed jet, will call doDeploy
- doSetups(List<Computer>) - Static method in class org.jenkinsci.plugins.slave_setup.Components
-
Iterates over all the given computers list seting up or updating the installation if required.
E
- enableDebug() - Static method in class org.jenkinsci.plugins.slave_setup.Components
-
Just enable debug mode
- executeScriptOnMaster(TaskListener, String, EnvVars) - Static method in class org.jenkinsci.plugins.slave_setup.SetupDeployer
-
Executes the given script on Jenkins MasterNode with his envVars logging with given listener
- executeScriptOnSlave(TaskListener, String, FilePath, EnvVars) - Static method in class org.jenkinsci.plugins.slave_setup.SetupDeployer
-
Executes the given script on the given slave independently of their OSs.
G
- get() - Static method in class org.jenkinsci.plugins.slave_setup.SetupConfig
-
Get this SetupConfig class
- getAllActiveSlaves() - Static method in class org.jenkinsci.plugins.slave_setup.Utils
-
Gets all active (ONLINE) slaves running on the all jenkins instance.
- getAssignedLabelString() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Gets the textual representation of the assigned label as it was entered by the user.
- getCommandLine() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Returns the command line code.
- getDeployNow() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Returns true if the setup config should be deployed on save of the jenkins config page.
- getDisplayName() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem.SetupConfigItemDescriptor
- getDisplayName() - Method in class org.jenkinsci.plugins.slave_setup.SetupSlaveLauncher.DescriptorImpl
- getFilesDir() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Returns the directory containing the setup relevant files and sub directories
- getPrepareScript() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Returns the prepare script code.
- getSetupConfigItems() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfig
- getStartScript() - Method in class org.jenkinsci.plugins.slave_setup.SetupSlaveLauncher
-
Getters for Jelly
- getStopScript() - Method in class org.jenkinsci.plugins.slave_setup.SetupSlaveLauncher
H
- hashCode() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Every ConfigItem have a unique identifier for content which will match with slave hashCode
I
- info(String) - Static method in class org.jenkinsci.plugins.slave_setup.Components
-
Global printer to return logger to master
- isPrepareScriptExecuted() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Returns the prepare script executed status.
L
- labelMatches(String, Computer) - Static method in class org.jenkinsci.plugins.slave_setup.Utils
-
Improved function, this will check if label matches with one of slave labels or Will match if some reggex matches with all slave labels https://github.com/beerdn/slave-setup-plugin/commit/511b19f24d6a59902c6d6b6c838c7c8a85674d85
- launch(SlaveComputer, TaskListener) - Method in class org.jenkinsci.plugins.slave_setup.SetupSlaveLauncher
-
Delegated methods that plug the additional logic for on-demand slaves
M
- multiOsExecutor(TaskListener, String, FilePath, EnvVars) - Static method in class org.jenkinsci.plugins.slave_setup.Utils
-
Added Unix and Win32 Platform Handling to add support to Windows OS by using the BatchFile obj letting us to configure automated WIN machines on our Integration enviroments.
N
- newDeploy() - Method in class org.jenkinsci.plugins.slave_setup.Components
-
Check if slave contains some setup configured as false,it means that is first time connection or any designed setup.
O
- org.jenkinsci.plugins.slave_setup - package org.jenkinsci.plugins.slave_setup
- osLineSeparator(boolean) - Static method in class org.jenkinsci.plugins.slave_setup.Utils
-
With given boolean for isUnix operating System, returns OS end of line separator
- osLineSeparator(String) - Static method in class org.jenkinsci.plugins.slave_setup.Utils
-
Given full path from OS, returns os End of line separator
P
- preOnline(Computer, Channel, FilePath, TaskListener) - Method in class org.jenkinsci.plugins.slave_setup.ComputerListenerImpl
-
Prepares the slave before it gets online by copying the given content in root and executing the configured setup script.
R
- remoteCache() - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Useful function to get same name as needs to be under slave cache.
S
- setAssignedLabelString(String) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
sets the assigned slave's labels
- setCommandLine(String) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
sets the command line code.
- setDeployNow(boolean) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
sets the deploy flag.
- setFilesDir(File) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Sets the files dir.
- setLogger(TaskListener) - Static method in class org.jenkinsci.plugins.slave_setup.Components
-
Required method to define logging procedures
- setPrepareScript(String) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Sets the prepare script code
- setPrepareScriptExecuted(boolean) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
sets the prepare script executed status.
- setSetupConfigItems(List<SetupConfigItem>) - Method in class org.jenkinsci.plugins.slave_setup.SetupConfig
- SetupConfig - Class in org.jenkinsci.plugins.slave_setup
-
Keeps track of the configuration of slave_setup execution.
- SetupConfig() - Constructor for class org.jenkinsci.plugins.slave_setup.SetupConfig
- SetupConfigItem - Class in org.jenkinsci.plugins.slave_setup
-
Represents a setup config for one set of labels.
- SetupConfigItem() - Constructor for class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Default constructor
- SetupConfigItem(String, File, String, boolean, String) - Constructor for class org.jenkinsci.plugins.slave_setup.SetupConfigItem
-
Constructor uesd to create the setup config instance
- SetupConfigItem.SetupConfigItemDescriptor - Class in org.jenkinsci.plugins.slave_setup
- SetupConfigItemDescriptor() - Constructor for class org.jenkinsci.plugins.slave_setup.SetupConfigItem.SetupConfigItemDescriptor
- SetupDeployer - Class in org.jenkinsci.plugins.slave_setup
-
Executes a deployment to all or a single node of the given fileset and executes the command line.
- SetupDeployer() - Constructor for class org.jenkinsci.plugins.slave_setup.SetupDeployer
- SetupSlaveLauncher - Class in org.jenkinsci.plugins.slave_setup
-
Implements the custom logic for an on-demand slave, executing scripts before connecting and after disconnecting
- SetupSlaveLauncher(ComputerLauncher, String, String) - Constructor for class org.jenkinsci.plugins.slave_setup.SetupSlaveLauncher
- SetupSlaveLauncher.DescriptorImpl - Class in org.jenkinsci.plugins.slave_setup
- singleSetup(SetupConfigItem) - Method in class org.jenkinsci.plugins.slave_setup.Components
-
Performs the execution of the config item on the matching label nodes.
- stringFy(Object) - Static method in class org.jenkinsci.plugins.slave_setup.SetupDeployer
-
Linked with Utils StringFy Useful to print object data into string
- stringFy(Object) - Static method in class org.jenkinsci.plugins.slave_setup.Utils
-
Idea from https://stackoverflow.com/questions/1526826/printing-all-variables-value-from-a-class This class prints entire properies, methods, from any object, Useful to debug unkown objects
U
- Utils - Class in org.jenkinsci.plugins.slave_setup
-
Static methods class container used across the code.
- Utils() - Constructor for class org.jenkinsci.plugins.slave_setup.Utils
All Classes and Interfaces|All Packages|Constant Field Values