From 53a31c31530166fc7a53900b58127c002a7e8cda Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Mon, 28 Feb 2011 23:52:14 -0800 Subject: [PATCH] [FIXED JENKINS-4220] fixed a dead lock. While the original report is in https://cloudbees.zendesk.com/tickets/427, this fix also takes care of JENKINS-4220. --- changelog.html | 3 +++ .../java/hudson/maven/MavenModuleSetBuild.java | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/changelog.html b/changelog.html index a6ce911d98..1243c31472 100644 --- a/changelog.html +++ b/changelog.html @@ -61,6 +61,9 @@ Upcoming changes
  • Environment variable not available for Maven build/POM parsing. (issue 8865) +
  • + Fixed a dead lock in concurrent builds of the same Maven projects. + (issue 4220)
  • thread dump now reports all the threads from all the slaves, not just the master.
  • diff --git a/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java b/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java index 17aeb3ac1a..f0a61fa973 100755 --- a/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java +++ b/maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java @@ -126,6 +126,8 @@ public class MavenModuleSetBuild extends AbstractMavenBuild actions = getActions(); @@ -1318,7 +1328,7 @@ public class MavenModuleSetBuild extends AbstractMavenBuild