Class ResultPublisher
- java.lang.Object
-
- com.synopsys.defensics.jenkins.result.ResultPublisher
-
public class ResultPublisher extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
REPORT_NAME
-
Constructor Summary
Constructors Constructor Description ResultPublisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
publishResults(Run<?,?> jenkinsRun, Run defensicsRun, HtmlReport report, Logger logger, FilePath workspace)
Publish HTML report from file in workspace.
-
-
-
Field Detail
-
REPORT_NAME
public static final String REPORT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
publishResults
public void publishResults(Run<?,?> jenkinsRun, Run defensicsRun, HtmlReport report, Logger logger, FilePath workspace) throws InterruptedException
Publish HTML report from file in workspace.- Parameters:
jenkinsRun
- The Jenkins run to publish report for.defensicsRun
- The defensics run for which results are to be published.report
- The html report to publishlogger
- The Defensics Plugin logger.workspace
- The Jenkins workspace.- Throws:
InterruptedException
- If publishing is interrupted.
-
-