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>
Likely to disappear as we improve the rendering of Maven build details.
Renamed "MavenLinkerPublisher" into "MavenLinkerPublisher2" to prevent
WARNING: 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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Synchronize becauseActionable.addOrReplaceAction(hudson.model.Action)
is not thread safeMethods inherited from class org.jenkinsci.plugins.pipeline.maven.MavenPublisher
compareTo, getDescriptor, isDisabled, setDisabled, toString
-
Constructor Details
-
MavenLinkerPublisher2
@DataBoundConstructor public MavenLinkerPublisher2()
-
-
Method Details
-
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
-