public class OutputsToInputsBuildStep extends CloudifyBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
OutputsToInputsBuildStep.Descriptor |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
OutputsToInputsBuildStep() |
Modifier and Type | Method and Description |
---|---|
String |
getInputsLocation() |
String |
getMapping() |
String |
getMappingLocation() |
String |
getOutputsLocation() |
protected boolean |
isCloudifyClientRequired()
This step doesn't use Cloudify at all, so no client is needed.
|
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 |
setInputsLocation(String inputsLocation) |
void |
setMapping(String mapping) |
void |
setMappingLocation(String mappingLocation) |
void |
setOutputsLocation(String outputsLocation) |
String |
toString() |
getCredentialsId, getTenant, perform, setCredentialsId, setTenant
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
public String getOutputsLocation()
@DataBoundSetter public void setMapping(String mapping)
public String getMapping()
@DataBoundSetter public void setMappingLocation(String mappingLocation)
public String getMappingLocation()
@DataBoundSetter public void setOutputsLocation(String outputsLocation)
public String getInputsLocation()
@DataBoundSetter public void setInputsLocation(String inputsLocation)
protected boolean isCloudifyClientRequired()
isCloudifyClientRequired
in class CloudifyBuildStep
true
If a CloudifyClient
instance should be
prepared and passed to the actual step.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.