public class DeployPublisher extends hudson.tasks.Notifier implements jenkins.tasks.SimpleBuildStep, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DeployPublisher.DescriptorImpl |
static class |
DeployPublisher.Migrator |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
ContainerAdapter |
adapter
Deprecated.
Use
getAdapters() |
Constructor and Description |
---|
DeployPublisher(List<ContainerAdapter> adapters,
String war) |
DeployPublisher(List<ContainerAdapter> adapters,
String war,
String contextPath,
boolean onFailure)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<ContainerAdapter> |
getAdapters()
Get the value of the adapterWrappers property
|
String |
getContextPath() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getWar() |
boolean |
isOnFailure() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
Object |
readResolve() |
void |
setContextPath(String contextPath) |
void |
setOnFailure(boolean onFailure) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
public final ContainerAdapter adapter
getAdapters()
@DataBoundConstructor public DeployPublisher(List<ContainerAdapter> adapters, String war)
@Deprecated public DeployPublisher(List<ContainerAdapter> adapters, String war, String contextPath, boolean onFailure)
public String getWar()
public boolean isOnFailure()
@DataBoundSetter public void setOnFailure(boolean onFailure)
public String getContextPath()
@DataBoundSetter public void setContextPath(String contextPath)
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public Object readResolve()
public List<ContainerAdapter> getAdapters()
Copyright © 2016–2020. All rights reserved.