Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-10820] Don't add an action if there is no result yet.
  • Loading branch information
uhafner committed Oct 18, 2011
1 parent 1734649 commit b6217a9
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -239,6 +239,11 @@ public final boolean postExecute(final MavenBuildProxy build, final MavenProject
final ParserResult result;
try {
result = perform(build, pom, mojo, logger);

if (result.getModules().isEmpty()) {
logger.log("No report found for mojo " + mojo.getGoal());
return true;
}
}
catch (InterruptedException exception) {
logger.log(exception.getMessage());
Expand Down

0 comments on commit b6217a9

Please sign in to comment.