提交 e4abef20 编写于 作者: A Andrew Bayer

Merge pull request #419 from Vlatombe/jenkins-12994

[FIX JENKINS-12994] Quiet period is blocking other jobs in queue
......@@ -55,7 +55,9 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=bug>
Quiet period is blocking other jobs in queue.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-12994">issue 12994</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -910,12 +910,12 @@ public class Queue extends ResourceController implements Saveable {
}
}
// waitingList -> buldable/blocked
// waitingList -> buildable/blocked
while (!waitingList.isEmpty()) {
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册