Class PipelineGraphPublisher

All Implemented Interfaces:
ExtensionPoint, Describable<MavenPublisher>, Serializable, Comparable<MavenPublisher>

public class PipelineGraphPublisher extends MavenPublisher
Fingerprint the dependencies of the maven project.
Author:
Cyrille Le Clerc
See Also:
  • Constructor Details

    • PipelineGraphPublisher

      @DataBoundConstructor public PipelineGraphPublisher()
  • Method Details

    • getIncludedScopes

      protected Set<String> getIncludedScopes()
    • process

      public void process(@NonNull org.jenkinsci.plugins.workflow.steps.StepContext context, @NonNull Element mavenSpyLogsElt) throws IOException, InterruptedException
      Specified by:
      process in class MavenPublisher
      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 artifacts
      executedLifecyclePhases - Maven lifecycle phases that have been gone through during the Maven execution (e.g. "..., compile, test, package..." )
      run -
      listener -
      dao -
    • toString

      public String toString()
      Overrides:
      toString in class MavenPublisher
    • 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

      public String getLifecycleThreshold()
    • setLifecycleThreshold

      @DataBoundSetter public void setLifecycleThreshold(String lifecycleThreshold)