Skip to content

Commit

Permalink
[FIXED JENKINS-15120]
Browse files Browse the repository at this point in the history
- integrated the newer release of remoting
- jar caching won't work with class file directory, so plugin
  WEB-INF/classes are now exploded as WEB-INF/lib/classes.jar
  (This should also solve the problem of slow plugin extraction in the
  presene of Anti-virus software on Windows.)
- because the structure of the exploded jar file has changed, I changed
  the up-to-date check timestamp file name to force re-extraction in
  existing installations.

Originally-Committed-As: f7330d7a158eff6705706b1f812993a9b918c351
  • Loading branch information
kohsuke committed Jun 8, 2013
1 parent 7e17b3d commit 97b452e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/hudson/maven/Maven3Builder.java
Expand Up @@ -160,6 +160,9 @@ public Result call() throws IOException {
throw new IOException2(e);
} catch (Exception e) {
throw new IOException2(e);
} finally {
if (DUMP_PERFORMANCE_COUNTERS)
Channel.current().dumpPerformanceCounters(listener.error("Remoting stats"));
}
}

Expand Down Expand Up @@ -571,4 +574,6 @@ private String mojoExec(ExecutionEvent event) {
private static final long serialVersionUID = 1L;

private static final Logger LOGGER = Logger.getLogger(Maven3Builder.class.getName());

public static boolean DUMP_PERFORMANCE_COUNTERS = Boolean.getBoolean(Maven3Builder.class.getName()+".dumpPerformanceCounters");
}

0 comments on commit 97b452e

Please sign in to comment.