Class MavenLinkerPublisher2
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<MavenPublisher>
-
- org.jenkinsci.plugins.pipeline.maven.MavenPublisher
-
- org.jenkinsci.plugins.pipeline.maven.publishers.MavenLinkerPublisher2
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<MavenPublisher>
,Serializable
,Comparable<MavenPublisher>
public class MavenLinkerPublisher2 extends MavenPublisher
Likely to disappear as we improve the rendering of Maven build details. Renamed "MavenLinkerPublisher" into "MavenLinkerPublisher2" to preventWARNING: could not load /var/lib/jenkins/jobs/github/jobs/apache.org/jobs/maven/branches/master/builds/38 java.lang.ClassCastException: org.jenkinsci.plugins.pipeline.maven.publishers.MavenLinkerPublisher cannot be cast to hudson.model.Action at hudson.model.Run.onLoad(Run.java:353) at org.jenkinsci.plugins.workflow.job.WorkflowRun.onLoad(WorkflowRun.java:594) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:500) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:482)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MavenLinkerPublisher2.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description MavenLinkerPublisher2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(org.jenkinsci.plugins.workflow.steps.StepContext context, Element mavenSpyLogsElt)
Synchronize becauseActionable.addOrReplaceAction(hudson.model.Action)
is not thread safe-
Methods inherited from class org.jenkinsci.plugins.pipeline.maven.MavenPublisher
compareTo, getDescriptor, isDisabled, setDisabled, toString
-
-
-
-
Method Detail
-
process
public void process(org.jenkinsci.plugins.workflow.steps.StepContext context, Element mavenSpyLogsElt) throws IOException, InterruptedException
Synchronize becauseActionable.addOrReplaceAction(hudson.model.Action)
is not thread safe- Specified by:
process
in classMavenPublisher
mavenSpyLogsElt
- maven spy report. WARNING experimental structure for the moment, subject to change.- Throws:
IOException
InterruptedException
-
-