Klasse CoverageReporter

java.lang.Object
io.jenkins.plugins.coverage.model.CoverageReporter

public class CoverageReporter extends Object
Transforms the old model to the new model and invokes all steps that work on the new model. Currently, only the source code painting and copying has been moved to this new reporter class.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • CoverageReporter

      public CoverageReporter()
  • Methodendetails

    • run

      public void run(CoverageResult rootResult, Run<?,?> build, FilePath workspace, TaskListener listener, HealthReport healthReport, String scm, Set<String> sourceDirectories, String sourceCodeEncoding, io.jenkins.plugins.prism.SourceCodeRetention sourceCodeRetention) throws InterruptedException
      Transforms the old model to the new model and invokes all steps that work on the new model. In the final step, a new CoverageBuildAction will be attached to the build.
      Parameter:
      rootResult - the root result obtained from the old coverage API
      build - the build that owns these results
      workspace - the workspace on the agent that provides access to the source code files
      listener - logger
      healthReport - health report
      scm - the SCM which is used for calculating the code delta to a reference build
      sourceDirectories - the source directories that have been configured in the associated job
      sourceCodeEncoding - the encoding of the source code files
      sourceCodeRetention - the source code retention strategy
      Löst aus:
      InterruptedException - if the build has been aborted