public class ExecuteWorkflowBuildStep extends CloudifyBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
ExecuteWorkflowBuildStep.Descriptor |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
ExecuteWorkflowBuildStep() |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentId() |
String |
getExecutionParameters() |
String |
getWorkflowId() |
boolean |
isDebugOutput() |
boolean |
isPrintLogs() |
boolean |
isWaitForCompletion() |
protected void |
performImpl(hudson.model.Run<?,?> run,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath workspace,
hudson.EnvVars envVars,
co.cloudify.rest.client.CloudifyClient cloudifyClient)
This should be the main, "real" implementation of
BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener) . |
void |
setDebugOutput(boolean debugOutput) |
void |
setDeploymentId(String deploymentId) |
void |
setExecutionParameters(String executionParameters) |
void |
setPrintLogs(boolean printLogs) |
void |
setWaitForCompletion(boolean waitForCompletion) |
void |
setWorkflowId(String workflowId) |
String |
toString() |
getCredentialsId, getTenant, isCloudifyClientRequired, perform, setCredentialsId, setTenant
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
public String getDeploymentId()
@DataBoundSetter public void setDeploymentId(String deploymentId)
public String getWorkflowId()
@DataBoundSetter public void setWorkflowId(String workflowId)
public String getExecutionParameters()
@DataBoundSetter public void setExecutionParameters(String executionParameters)
public boolean isWaitForCompletion()
@DataBoundSetter public void setWaitForCompletion(boolean waitForCompletion)
public boolean isPrintLogs()
@DataBoundSetter public void setPrintLogs(boolean printLogs)
public boolean isDebugOutput()
@DataBoundSetter public void setDebugOutput(boolean debugOutput)
protected void performImpl(hudson.model.Run<?,?> run, hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.FilePath workspace, hudson.EnvVars envVars, co.cloudify.rest.client.CloudifyClient cloudifyClient) throws Exception
CloudifyBuildStep
BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener)
. Implementations
need not worry about using the listener, or handle top-level exceptions; this
is done by the wrapper.performImpl
in class CloudifyBuildStep
run
- build object, as given by Jenkinslauncher
- launcher object, as given by Jenkinslistener
- listener object, as given by Jenkinsworkspace
- path to Jenkins workspaceenvVars
- build's environment variablescloudifyClient
- a CloudifyClient
instance pointing at the
Cloudify Manager installation, populated during
configurationException
- May be anything; unified handling is done in
BuildStepCompatibilityLayer.perform(AbstractBuild, Launcher, BuildListener)
public String toString()
toString
in class CloudifyBuildStep
Copyright © 2016–2020. All rights reserved.