Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Foster2015-07-06 16:45:26 -0400
committerBob Foster2015-07-06 16:45:26 -0400
commitfe4a34c4b879f93389ba86029a2dd72f6523f860 (patch)
treeed7598746bd49fa048f7a68e6cbcd1b4e655ce44
parentb56d5e86cd3c62ba7750066ff12ddcd4a689c30c (diff)
downloadorg.eclipse.hudson.core-fe4a34c4b879f93389ba86029a2dd72f6523f860.tar.gz
org.eclipse.hudson.core-fe4a34c4b879f93389ba86029a2dd72f6523f860.tar.xz
org.eclipse.hudson.core-fe4a34c4b879f93389ba86029a2dd72f6523f860.zip
Fix Bug 471471 - Triggering a delayed build prevents any new builds for other jobs from running
-rw-r--r--hudson-core/src/main/java/hudson/model/Queue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/hudson-core/src/main/java/hudson/model/Queue.java b/hudson-core/src/main/java/hudson/model/Queue.java
index 72db62f4..e17bd847 100644
--- a/hudson-core/src/main/java/hudson/model/Queue.java
+++ b/hudson-core/src/main/java/hudson/model/Queue.java
@@ -947,7 +947,7 @@ public class Queue extends ResourceController implements Saveable {
WaitingItem top = peek();
if (!top.timestamp.before(new GregorianCalendar())) {
- return; // finished moving all ready items from queue
+ break; // finished moving all ready items from queue
}
waitingList.remove(top);
Task p = top.task;

Back to the top