From 00fc3548d1801f647a86648d7534ef34661dc918 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Tue, 9 Jan 2024 13:16:04 +0100 Subject: [PATCH] Add missing property in step. --- .../analysis/core/steps/RecordIssuesStep.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/plugin/src/main/java/io/jenkins/plugins/analysis/core/steps/RecordIssuesStep.java b/plugin/src/main/java/io/jenkins/plugins/analysis/core/steps/RecordIssuesStep.java index 9de54bd653..5955bfa5ab 100644 --- a/plugin/src/main/java/io/jenkins/plugins/analysis/core/steps/RecordIssuesStep.java +++ b/plugin/src/main/java/io/jenkins/plugins/analysis/core/steps/RecordIssuesStep.java @@ -90,6 +90,7 @@ public class RecordIssuesStep extends Step implements Serializable { private boolean isBlameDisabled; + private boolean skipPostProcessing; // @since 10.6.0: by default, post-processing will be enabled private boolean skipPublishingChecks; // by default, checks will be published private boolean publishAllIssues; // by default, only new issues will be published @@ -878,6 +879,20 @@ public void setForensicsDisabled(final boolean forensicsDisabled) { // do nothing } + /** + * Returns whether post-processing of the issues should be disabled. + * + * @return {@code true} if post-processing of the issues should be disabled. + */ + public boolean isSkipPostProcessing() { + return skipPostProcessing; + } + + @DataBoundSetter + public void setSkipPostProcessing(final boolean skipPostProcessing) { + this.skipPostProcessing = skipPostProcessing; + } + /** * Returns whether publishing checks should be skipped. * @@ -1140,6 +1155,7 @@ protected List run() throws IOException, InterruptedException { recorder.setEnabledForFailure(step.getEnabledForFailure()); recorder.setAggregatingResults(step.getAggregatingResults()); recorder.setBlameDisabled(step.getBlameDisabled()); + recorder.setSkipPostProcessing(step.isSkipPostProcessing()); recorder.setScm(step.getScm()); recorder.setSkipPublishingChecks(step.isSkipPublishingChecks()); recorder.setPublishAllIssues(step.isPublishAllIssues());