public class CloudFoundryPushBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudFoundryPushBuilder.DescriptorImpl
Step descriptor.
|
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Modifier and Type | Field and Description |
|---|---|
String |
cloudSpace
The cloudfoundry space.
|
String |
credentialsId
The jenkins credentials id for cloudfoundry.
|
CloudFoundryPushPublisher.ManifestChoice |
manifestChoice
Manifest to use.
|
String |
organization
The cloudfoundry organization.
|
String |
pluginTimeout
Timeout for all cloudfoundry api calls.
|
String |
selfSigned
Whether to ignore ssl validation errors.
|
List<CloudFoundryPushPublisher.Service> |
servicesToCreate
Services to create before pushing.
|
String |
target
The cloudfoundry api target.
|
| Constructor and Description |
|---|
CloudFoundryPushBuilder(String target,
String organization,
String cloudSpace,
String credentialsId)
Creates a new CloudFoundryPushBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
CloudFoundryPushPublisher.ManifestChoice |
getManifestChoice() |
String |
getPluginTimeout() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
Collection<? extends hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
List<CloudFoundryPushPublisher.Service> |
getServicesToCreate() |
String |
isSelfSigned() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
void |
setManifestChoice(CloudFoundryPushPublisher.ManifestChoice manifestChoice) |
void |
setPluginTimeout(String pluginTimeout) |
void |
setSelfSigned(String selfSigned) |
void |
setServicesToCreate(List<CloudFoundryPushPublisher.Service> servicesToCreate) |
public String target
public String organization
public String cloudSpace
public String credentialsId
public String selfSigned
public String pluginTimeout
public List<CloudFoundryPushPublisher.Service> servicesToCreate
public CloudFoundryPushPublisher.ManifestChoice manifestChoice
@DataBoundConstructor public CloudFoundryPushBuilder(String target, String organization, String cloudSpace, String credentialsId)
target - the cloudfoundry api targetorganization - the cloudfoundry organizationcloudSpace - the cloudfoundry spacecredentialsId - the credentials to usepublic String isSelfSigned()
true if ssl validation errors should be ignored.@DataBoundSetter public void setSelfSigned(String selfSigned)
selfSigned - true to ignore ssl validation errorspublic String getPluginTimeout()
@DataBoundSetter public void setPluginTimeout(String pluginTimeout)
pluginTimeout - the timeout for cloudfoundry api callspublic List<CloudFoundryPushPublisher.Service> getServicesToCreate()
@DataBoundSetter public void setServicesToCreate(List<CloudFoundryPushPublisher.Service> servicesToCreate)
servicesToCreate - the services to create before pushingpublic CloudFoundryPushPublisher.ManifestChoice getManifestChoice()
@DataBoundSetter public void setManifestChoice(CloudFoundryPushPublisher.ManifestChoice manifestChoice)
manifestChoice - the manifest to usepublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic 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 prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayerpublic hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic Collection<? extends hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
getProjectActions in interface hudson.tasks.BuildStepgetProjectActions in class hudson.tasks.BuildStepCompatibilityLayerpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildStepgetRequiredMonitorService in class hudson.tasks.BuilderCopyright © 2016–2018. All rights reserved.