public class SaltAPIBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
SaltAPIBuilder.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
SaltAPIBuilder(String servername,
String authtype,
BasicClient clientInterface,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArguments() |
String |
getAuthtype() |
String |
getBatchSize() |
boolean |
getBlockbuild() |
BasicClient |
getClientInterface() |
String |
getCredentialsId() |
SaltAPIBuilder.DescriptorImpl |
getDescriptor() |
String |
getFunction() |
int |
getJobPollTime() |
String |
getMods() |
String |
getPillarvalue() |
String |
getPost() |
boolean |
getSaveEnvVar() |
String |
getServername() |
String |
getSubset() |
String |
getTag() |
String |
getTarget() |
String |
getTargettype() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
boolean |
perform(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
net.sf.json.JSONArray |
performRequest(hudson.model.Run build,
String token,
String serverName,
net.sf.json.JSONObject saltFunc,
hudson.model.TaskListener listener,
boolean blockBuild) |
net.sf.json.JSONObject |
prepareSaltFunction(hudson.model.Run build,
hudson.model.TaskListener listener,
String myClientInterface,
String mytarget,
String myfunction,
String myarguments) |
void |
setSaveEnvVar(boolean saveEnvVar) |
void |
setServername(String servername) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public SaltAPIBuilder(String servername, String authtype, BasicClient clientInterface, String credentialsId)
public String getServername()
@DataBoundSetter public void setServername(String servername)
public String getAuthtype()
public String getTarget()
public String getTargettype()
public String getFunction()
public String getArguments()
public boolean getBlockbuild()
public String getBatchSize()
public int getJobPollTime()
public String getMods()
public String getPillarvalue()
public String getSubset()
public String getCredentialsId()
@DataBoundSetter public void setSaveEnvVar(boolean saveEnvVar)
public boolean getSaveEnvVar()
public BasicClient getClientInterface()
public String getPost()
public String getTag()
public void perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic boolean perform(hudson.model.Run<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic net.sf.json.JSONArray performRequest(hudson.model.Run build,
String token,
String serverName,
net.sf.json.JSONObject saltFunc,
hudson.model.TaskListener listener,
boolean blockBuild)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic net.sf.json.JSONObject prepareSaltFunction(hudson.model.Run build,
hudson.model.TaskListener listener,
String myClientInterface,
String mytarget,
String myfunction,
String myarguments)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic SaltAPIBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2017. All rights reserved.