Skip to content
Permalink
Browse files

[FIXED JENKINS-10030] builds failing while JUnit result archiving if …

…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 da1597b76f1dc9530d8a20b8a58441bb39bdfa83
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/hudson/maven/reporters/SurefireArchiver.java
@@ -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)

0 comments on commit da1597b

Please sign in to comment.
You can’t perform that action at this time.