Class PipelineGraphPublisher
java.lang.Object
hudson.model.AbstractDescribableImpl<MavenPublisher>
org.jenkinsci.plugins.pipeline.maven.MavenPublisher
org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher
- All Implemented Interfaces:
ExtensionPoint
,Describable<MavenPublisher>
,Serializable
,Comparable<MavenPublisher>
Fingerprint the dependencies of the maven project.
- Author:
- Cyrille Le Clerc
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
protected void
recordDependencies
(List<org.jenkinsci.plugins.pipeline.maven.MavenDependency> dependencies, List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> generatedArtifacts, Run run, TaskListener listener, org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao dao) protected void
recordGeneratedArtifacts
(List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> generatedArtifacts, List<String> executedLifecyclePhases, Run run, TaskListener listener, org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao dao) protected void
recordParentProject
(List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> parentProjects, Run run, TaskListener listener, org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao dao) void
setIgnoreUpstreamTriggers
(boolean ignoreUpstreamTriggers) void
setIncludeReleaseVersions
(boolean includeReleaseVersions) void
setIncludeScopeCompile
(boolean includeScopeCompile) void
setIncludeScopeProvided
(boolean includeScopeProvided) void
setIncludeScopeRuntime
(boolean includeScopeRuntime) void
setIncludeScopeTest
(boolean includeScopeTest) void
setIncludeSnapshotVersions
(boolean includeSnapshotVersions) void
setLifecycleThreshold
(String lifecycleThreshold) void
setSkipDownstreamTriggers
(boolean skipDownstreamTriggers) toString()
Methods inherited from class org.jenkinsci.plugins.pipeline.maven.MavenPublisher
compareTo, getDescriptor, isDisabled, setDisabled
-
Constructor Details
-
PipelineGraphPublisher
@DataBoundConstructor public PipelineGraphPublisher()
-
-
Method Details
-
getIncludedScopes
-
process
public void process(@NonNull org.jenkinsci.plugins.workflow.steps.StepContext context, @NonNull Element mavenSpyLogsElt) throws IOException, InterruptedException - Specified by:
process
in classMavenPublisher
mavenSpyLogsElt
- maven spy report. WARNING experimental structure for the moment, subject to change.- Throws:
IOException
InterruptedException
-
recordParentProject
protected void recordParentProject(List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> parentProjects, @NonNull Run run, @NonNull TaskListener listener, @NonNull org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao dao) -
recordDependencies
protected void recordDependencies(List<org.jenkinsci.plugins.pipeline.maven.MavenDependency> dependencies, List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> generatedArtifacts, @NonNull Run run, @NonNull TaskListener listener, @NonNull org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao dao) -
recordGeneratedArtifacts
protected void recordGeneratedArtifacts(List<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> generatedArtifacts, List<String> executedLifecyclePhases, @NonNull Run run, @NonNull TaskListener listener, @NonNull org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginDao dao) - Parameters:
generatedArtifacts
- deployed artifactsexecutedLifecyclePhases
- Maven lifecycle phases that have been gone through during the Maven execution (e.g. "..., compile, test, package..." )run
-listener
-dao
-
-
toString
- Overrides:
toString
in classMavenPublisher
-
isIncludeSnapshotVersions
public boolean isIncludeSnapshotVersions() -
setIncludeSnapshotVersions
@DataBoundSetter public void setIncludeSnapshotVersions(boolean includeSnapshotVersions) -
isIncludeReleaseVersions
public boolean isIncludeReleaseVersions() -
setIncludeReleaseVersions
@DataBoundSetter public void setIncludeReleaseVersions(boolean includeReleaseVersions) -
isIncludeScopeCompile
public boolean isIncludeScopeCompile() -
setIncludeScopeCompile
@DataBoundSetter public void setIncludeScopeCompile(boolean includeScopeCompile) -
isIncludeScopeRuntime
public boolean isIncludeScopeRuntime() -
setIncludeScopeRuntime
@DataBoundSetter public void setIncludeScopeRuntime(boolean includeScopeRuntime) -
isIncludeScopeTest
public boolean isIncludeScopeTest() -
setIncludeScopeTest
@DataBoundSetter public void setIncludeScopeTest(boolean includeScopeTest) -
isIncludeScopeProvided
public boolean isIncludeScopeProvided() -
setIncludeScopeProvided
@DataBoundSetter public void setIncludeScopeProvided(boolean includeScopeProvided) -
isSkipDownstreamTriggers
public boolean isSkipDownstreamTriggers() -
setSkipDownstreamTriggers
@DataBoundSetter public void setSkipDownstreamTriggers(boolean skipDownstreamTriggers) -
isIgnoreUpstreamTriggers
public boolean isIgnoreUpstreamTriggers() -
setIgnoreUpstreamTriggers
@DataBoundSetter public void setIgnoreUpstreamTriggers(boolean ignoreUpstreamTriggers) -
getLifecycleThreshold
-
setLifecycleThreshold
-