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
  • Loading branch information
kutzi committed Aug 13, 2011
1 parent 7c1144b commit 307fca204598d2496325455ee49b1b634e71fdf2
@@ -55,6 +55,8 @@
* @since 1.416
*/
public abstract class ParserConfigurator implements ExtensionPoint, Serializable {
private static final long serialVersionUID = -2523542286453177108L;

/**
* Configures the given {@link SAXReader}
*
@@ -78,6 +80,9 @@ public static void applyConfiguration(SAXReader reader, Object context) throws I
Channel ch = Channel.current();
if (ch!=null)
all = ch.call(new Callable<Collection<ParserConfigurator>, IOException>() {

private static final long serialVersionUID = -2178106894481500733L;

public Collection<ParserConfigurator> call() throws IOException {
return new ArrayList<ParserConfigurator>(all());
}
@@ -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 307fca2

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