Hudson online nodes count


/ Published in: Groovy
Save to your folder(s)

Returns, how many hudson slaves is connected and working now


Copy this code and paste it in your HTML
  1. hudson.model.Hudson.instance.nodes.findAll{! it.toComputer().offline}.size()

URL: hudson_online_nodes

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.