make sure projects get scheduled on newly available slaves.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1591 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke 2007-01-02 06:16:23 +00:00
parent 334405fb88
commit dc905fcb20
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ public final class Slave implements Node, Serializable {
});
logger.info("slave agent launched for "+slave.getNodeName());
Hudson.getInstance().getQueue().scheduleMaintenance();
} catch (IOException e) {
Util.displayIOException(e,listener);