public class AnsibleAdHocCommandBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
AnsibleAdHocCommandBuilder.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
String |
additionalParameters |
String |
ansibleName |
boolean |
colorizedOutput |
String |
command |
String |
credentialsId
The id of the credentials to use.
|
int |
forks |
boolean |
hostKeyChecking |
String |
hostPattern |
Inventory |
inventory
Path to the inventory file.
|
String |
module |
boolean |
sudo |
String |
sudoUser |
boolean |
unbufferedOutput |
| Constructor and Description |
|---|
AnsibleAdHocCommandBuilder(String ansibleName,
String hostPattern,
Inventory inventory,
String module,
String command,
String credentialsId,
boolean sudo,
String sudoUser,
int forks,
boolean unbufferedOutput,
boolean colorizedOutput,
boolean hostKeyChecking,
String additionalParameters) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getDescriptor, getRequiredMonitorService, prebuildpublic final String ansibleName
public final String credentialsId
public final String hostPattern
public final Inventory inventory
public final String module
public final String command
public final boolean sudo
public final String sudoUser
public final int forks
public final boolean unbufferedOutput
public final boolean colorizedOutput
public final boolean hostKeyChecking
public final String additionalParameters
@DataBoundConstructor public AnsibleAdHocCommandBuilder(String ansibleName, String hostPattern, Inventory inventory, String module, String command, String credentialsId, boolean sudo, String sudoUser, int forks, boolean unbufferedOutput, boolean colorizedOutput, boolean hostKeyChecking, String additionalParameters)
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2004-2015. All Rights Reserved.