public class ServiceFabricPublisher
extends hudson.tasks.Recorder
Publisher.
When the user configures the project and enables this publisher,
Descriptor.newInstance(StaplerRequest) is invoked
and a new ServiceFabricPublisher is created. The created
instance is persisted to the project configuration XML by using
XStream, so this allows you to use instance fields (like name)
to remember the configuration.
When a build is performed and is complete, the perform(AbstractBuild, Launcher, BuildListener)
method will be invoked.| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceFabricPublisher.DescriptorImpl
Descriptor for
ServiceFabricPublisher. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
ServiceFabricPublisher(String name,
String clusterType,
String clusterPublicIP,
String applicationName,
String applicationType,
String manifestPath,
String clientKey,
String clientCert) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName() |
String |
getApplicationType() |
String |
getClientCert() |
String |
getClientKey() |
String |
getClusterPublicIP() |
String |
getClusterType() |
ServiceFabricPublisher.DescriptorImpl |
getDescriptor() |
String |
getManifestPath() |
String |
getName()
We'll use this from the config.jelly.
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic String getName()
public String getClusterType()
public String getClusterPublicIP()
public String getApplicationName()
public String getApplicationType()
public String getManifestPath()
public String getClientKey()
public String getClientCert()
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic ServiceFabricPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerCopyright © 2016–2018. All rights reserved.