Package hudson.plugins.deploy
Class DeployPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
hudson.plugins.deploy.DeployPublisher
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep,Serializable,SimpleBuildStep
Deploys WAR to a container.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
FieldsFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionDeployPublisher(List<ContainerAdapter> adapters, String war) DeployPublisher(List<ContainerAdapter> adapters, String war, String contextPath, boolean onFailure) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionGet the value of the adapterWrappers propertygetWar()booleanvoidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidsetContextPath(String contextPath) voidsetOnFailure(boolean onFailure) Methods inherited from class hudson.tasks.Notifier
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
adapter
Deprecated.UsegetAdapters()
-
-
Constructor Details
-
DeployPublisher
-
DeployPublisher
@Deprecated public DeployPublisher(List<ContainerAdapter> adapters, String war, String contextPath, boolean onFailure) Deprecated.
-
-
Method Details
-
getWar
-
isOnFailure
public boolean isOnFailure() -
setOnFailure
@DataBoundSetter public void setOnFailure(boolean onFailure) -
getContextPath
-
setContextPath
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
readResolve
-
getAdapters
Get the value of the adapterWrappers property- Returns:
- The value of adapterWrappers
-
getAdapters()