public class CloudFormationBuildStep extends IntegrationBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
CloudFormationBuildStep.Descriptor |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
envDataLocation, operationInputs
Constructor and Description |
---|
CloudFormationBuildStep() |
Modifier and Type | Method and Description |
---|---|
String |
getAwsCredentialsId() |
protected BlueprintUploadSpec |
getBlueprintUploadSpec() |
protected String |
getIntegrationName() |
protected String |
getIntegrationVersion() |
Map<String,Object> |
getParameters() |
String |
getParametersAsString() |
String |
getParametersFile() |
String |
getRegionName() |
String |
getStackName() |
String |
getTemplateUrl() |
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 |
setAwsCredentialsId(String awsCredentialsId) |
void |
setParameters(Map<String,Object> parameters) |
void |
setParametersAsString(String parameters) |
void |
setParametersFile(String parametersFile) |
void |
setRegionName(String regionName) |
void |
setStackName(String stackName) |
void |
setTemplateUrl(String templateUrl) |
String |
toString() |
generateBlueprintId, getDeploymentId, getEnvDataLocation, isDebugOutput, isEchoEnvData, isEchoInputs, putIfNonNullValue, setDebugOutput, setDeploymentId, setEchoEnvData, setEchoInputs, setEnvDataLocation
getCredentialsId, getTenant, isCloudifyClientRequired, perform, setCredentialsId, setTenant
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
public String getAwsCredentialsId()
@DataBoundSetter public void setAwsCredentialsId(String awsCredentialsId)
public String getRegionName()
@DataBoundSetter public void setRegionName(String regionName)
public String getStackName()
@DataBoundSetter public void setStackName(String stackName)
public String getParametersAsString()
@DataBoundSetter public void setParametersAsString(String parameters)
public String getParametersFile()
@DataBoundSetter public void setParametersFile(String parametersFile)
public String getTemplateUrl()
@DataBoundSetter public void setTemplateUrl(String templateUrl)
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 IntegrationBuildStep
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)
protected String getIntegrationName()
getIntegrationName
in class IntegrationBuildStep
protected String getIntegrationVersion()
getIntegrationVersion
in class IntegrationBuildStep
protected BlueprintUploadSpec getBlueprintUploadSpec() throws IOException
getBlueprintUploadSpec
in class IntegrationBuildStep
IOException
public String toString()
toString
in class IntegrationBuildStep
Copyright © 2016–2020. All rights reserved.