Skip to content

Instantly share code, notes, and snippets.

@makewhatis
Last active November 6, 2015 17:45
Show Gist options
  • Save makewhatis/0be8cd36610186cd8d51 to your computer and use it in GitHub Desktop.
Save makewhatis/0be8cd36610186cd8d51 to your computer and use it in GitHub Desktop.
hudson = Hudson.instance
for (i = 0; i < 1000; i++) {
for (slave in hudson.slaves) {
def computer = slave.computer
print slave.computer
print "\n"
slave.computer.connect(true)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment