public class CloudFoundryPushPublisher
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudFoundryPushPublisher.DescriptorImpl |
static class |
CloudFoundryPushPublisher.EnvironmentVariable |
static class |
CloudFoundryPushPublisher.ManifestChoice
This class contains the choice of using either a manifest file or the optional Jenkins configuration.
|
static class |
CloudFoundryPushPublisher.Service |
static class |
CloudFoundryPushPublisher.ServiceName |
hudson.tasks.Publisher.DescriptorExtensionListImpl| 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.
|
int |
pluginTimeout
Timeout for all cloudfoundry api calls.
|
boolean |
resetIfExists
Whether to reset the app if it already existed.
|
boolean |
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 |
|---|
CloudFoundryPushPublisher(String target,
String organization,
String cloudSpace,
String credentialsId,
boolean selfSigned,
boolean resetIfExists,
int pluginTimeout,
List<CloudFoundryPushPublisher.Service> servicesToCreate,
CloudFoundryPushPublisher.ManifestChoice manifestChoice)
The constructor is databound from the Jenkins config page, which is defined in config.jelly.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Gets the required monitor service (NONE).
|
boolean |
isResetIfExists() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
This is the main method, which gets called when the plugin must run as part of a build.
|
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic String target
public String organization
public String cloudSpace
public String credentialsId
public boolean selfSigned
public boolean resetIfExists
public int pluginTimeout
public List<CloudFoundryPushPublisher.Service> servicesToCreate
public CloudFoundryPushPublisher.ManifestChoice manifestChoice
@DataBoundConstructor public CloudFoundryPushPublisher(String target, String organization, String cloudSpace, String credentialsId, boolean selfSigned, boolean resetIfExists, int pluginTimeout, List<CloudFoundryPushPublisher.Service> servicesToCreate, CloudFoundryPushPublisher.ManifestChoice manifestChoice)
target - the cloudfoundry api targetorganization - the cloudfoundry organizationcloudSpace - the cloudfoundry spacecredentialsId - the credentials to useselfSigned - true to ignore ssl validation errorsresetIfExists - true to reset the app if it already exists
(Note: since version 2.0 of the plugin, this setting has no effect).pluginTimeout - the timeout for cloudfoundry api callsservicesToCreate - services to create before pushingmanifestChoice - the manifest to usepublic boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - launcher - listener - public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean isResetIfExists()
Copyright © 2016–2017. All rights reserved.