Skip to content

Commit

Permalink
[FIXED JENKINS-10030] builds failing while JUnit result archiving if …
Browse files Browse the repository at this point in the history
…build is running in different VM than Jenkins is

Originally-Committed-As: 307fca204598d2496325455ee49b1b634e71fdf2
  • Loading branch information
kutzi committed Aug 13, 2011
1 parent baec3cd commit da1597b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/hudson/maven/reporters/SurefireArchiver.java
Expand Up @@ -140,6 +140,8 @@ public boolean postExecute(MavenBuildProxy build, MavenProject pom, MojoInfo moj
result.parse(System.currentTimeMillis() - build.getMilliSecsSinceBuildStart(), reportsDir, reportFiles);

int failCount = build.execute(new BuildCallable<Integer, IOException>() {
private static final long serialVersionUID = -1023888330720922136L;

public Integer call(MavenBuild build) throws IOException, InterruptedException {
SurefireReport sr = build.getAction(SurefireReport.class);
if(sr==null)
Expand Down

0 comments on commit da1597b

Please sign in to comment.