提交 e2517499 编写于 作者: S Stephen Connolly

Merge pull request #1866 from aheritier/updateNode

Jenkins.updateNode(): Call getQueue().scheduleMaintenance() to be sure to update builds in the queue with the change done in the node (+  Add since 1.634)
......@@ -1754,6 +1754,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
/**
* Updates an existing {@link Node} on disk.
* @see Nodes#updateNode
* @since 1.634
*/
public boolean updateNode(Node n) throws IOException {
return nodes.updateNode(n);
......
......@@ -176,6 +176,7 @@ public class Nodes implements Saveable {
}
});
persistNode(node);
jenkins.getQueue().scheduleMaintenance();
return true;
}
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册