public class AnsiblePlaybookBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
AnsiblePlaybookBuilder.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
String |
additionalParameters |
String |
ansibleName |
boolean |
colorizedOutput |
String |
credentialsId
The id of the credentials to use.
|
int |
forks |
boolean |
hostKeyChecking |
Inventory |
inventory |
String |
limit |
String |
playbook |
String |
skippedTags |
String |
startAtTask |
boolean |
sudo |
String |
sudoUser |
String |
tags |
boolean |
unbufferedOutput |
| Constructor and Description |
|---|
AnsiblePlaybookBuilder(String ansibleName,
String playbook,
Inventory inventory,
String limit,
String tags,
String skippedTags,
String startAtTask,
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 limit
public final String tags
public final String skippedTags
public final String startAtTask
public final String credentialsId
public final String playbook
public final Inventory inventory
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 AnsiblePlaybookBuilder(String ansibleName, String playbook, Inventory inventory, String limit, String tags, String skippedTags, String startAtTask, 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.