public class UploadBlueprintBuildStep extends CloudifyBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
UploadBlueprintBuildStep.Descriptor |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
UploadBlueprintBuildStep() |
Modifier and Type | Method and Description |
---|---|
String |
getArchivePath() |
String |
getArchiveUrl() |
String |
getBlueprintId() |
String |
getMainFileName() |
String |
getRootDirectory() |
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 |
setArchivePath(String archivePath) |
void |
setArchiveUrl(String archiveUrl) |
void |
setBlueprintId(String blueprintId) |
void |
setMainFileName(String mainFileName) |
void |
setRootDirectory(String rootDirectory) |
String |
toString() |
getCredentialsId, getTenant, isCloudifyClientRequired, perform, setCredentialsId, setTenant
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
public String getBlueprintId()
@DataBoundSetter public void setBlueprintId(String blueprintId)
public String getArchiveUrl()
@DataBoundSetter public void setArchiveUrl(String archiveUrl)
public String getArchivePath()
@DataBoundSetter public void setArchivePath(String archivePath)
public String getRootDirectory()
@DataBoundSetter public void setRootDirectory(String rootDirectory)
public String getMainFileName()
@DataBoundSetter public void setMainFileName(String mainFileName)
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.