Posted By

alces on 11/29/13


Tagged

groovy nodes Hudson jenkins


Versions (?)

Hudson online nodes count


 / Published in: Groovy
 

URL: hudson_online_nodes

Returns, how many hudson slaves is connected and working now

  1. hudson.model.Hudson.instance.nodes.findAll{! it.toComputer().offline}.size()

Report this snippet  

You need to login to post a comment.