public abstract class MavenPublisher extends hudson.model.AbstractDescribableImpl<MavenPublisher> implements hudson.ExtensionPoint, Comparable<MavenPublisher>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MavenPublisher.DescriptorImpl |
| Constructor and Description |
|---|
MavenPublisher() |
| Modifier and Type | Method and Description |
|---|---|
static MavenPublisher |
buildConfiguredMavenPublisher(MavenPublisher pipelinePublisher,
MavenPublisher globallyConfiguredPublisher,
MavenPublisher defaultPublisher,
hudson.model.TaskListener listener) |
static List<MavenPublisher> |
buildPublishersList(List<MavenPublisher> configuredPublishers,
hudson.model.TaskListener listener)
Build the list of
MavenPublishers that should be invoked for the build execution of the given TaskListener
with the desired configuration. |
int |
compareTo(MavenPublisher o) |
MavenPublisher.DescriptorImpl |
getDescriptor() |
boolean |
isDisabled() |
abstract void |
process(org.jenkinsci.plugins.workflow.steps.StepContext context,
Element mavenSpyLogsElt) |
void |
setDisabled(boolean disabled) |
String |
toString() |
public boolean isDisabled()
@DataBoundSetter public void setDisabled(boolean disabled)
public abstract void process(@Nonnull org.jenkinsci.plugins.workflow.steps.StepContext context, @Nonnull Element mavenSpyLogsElt) throws IOException, InterruptedException
context - mavenSpyLogsElt - maven spy report. WARNING experimental structure for the moment, subject to change.IOExceptionInterruptedExceptionpublic MavenPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<MavenPublisher>getDescriptor in class hudson.model.AbstractDescribableImpl<MavenPublisher>public int compareTo(MavenPublisher o)
compareTo in interface Comparable<MavenPublisher>@Nonnull public static List<MavenPublisher> buildPublishersList(@Nonnull List<MavenPublisher> configuredPublishers, @Nonnull hudson.model.TaskListener listener)
Build the list of MavenPublishers that should be invoked for the build execution of the given TaskListener
with the desired configuration.
The desired configuration is based on:
withMaven(options=[...]) stepconfiguredPublishers - listener - public static MavenPublisher buildConfiguredMavenPublisher(@Nullable MavenPublisher pipelinePublisher, @Nullable MavenPublisher globallyConfiguredPublisher, @Nonnull MavenPublisher defaultPublisher, @Nonnull hudson.model.TaskListener listener)
Copyright © 2016–2017. All rights reserved.