Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[FIXED JENKINS-13797] Evaluate build result for each parser.
  • Loading branch information
uhafner committed Jun 12, 2012
1 parent e7ee872 commit 99a1e9248417df67cb7722f5a51741320e0c43ef
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/main/java/hudson/plugins/warnings/WarningsPublisher.java
@@ -237,14 +237,21 @@ public BuildResult perform(final AbstractBuild<?, ?> build, final PluginLogger l
add(totals, consoleResults);
add(totals, fileResults);

return new WarningsResult(build, new WarningsBuildHistory(build, null), totals,
getDefaultEncoding(), null);
return new WarningsResult(build, new WarningsBuildHistory(build, null), totals, getDefaultEncoding(), null);
}
catch (ParsingCanceledException exception) {
throw createInterruptedException();
}
}

@Override
protected void updateBuildResult(final BuildResult result, final PluginLogger logger) {
for (WarningsResultAction action : result.getOwner().getActions(WarningsResultAction.class)) {
action.getResult().evaluateStatus(getThresholds(), getUseDeltaValues(), canComputeNew(), logger,
action.getUrlName());
}
}

private boolean hasFileParsers() {
return getParserConfigurations().length > 0;
}

1 comment on commit 99a1e92

@buildhive
Copy link

@buildhive buildhive commented on 99a1e92 Jun 12, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jenkins » warnings-plugin #38 FAILURE
Looks like this commit caused a build failure
(what's this?)

Please sign in to comment.