hudson.plugins.swarm
Class Client

java.lang.Object
  extended by hudson.plugins.swarm.Client

public class Client
extends Object

Swarm client.

Discovers nearby Jenkins via UDP broadcast, and pick eligible one randomly and joins it.

Author:
Kohsuke Kawaguchi

Field Summary
protected  Options options
           
 
Constructor Summary
Client(Options options)
           
 
Method Summary
static void main(String... args)
           
 void run()
          Finds a Jenkins master that supports swarming, and join it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

protected final Options options
Constructor Detail

Client

public Client(Options options)
       throws IOException
Throws:
IOException
Method Detail

main

public static void main(String... args)
                 throws InterruptedException,
                        IOException
Throws:
InterruptedException
IOException

run

public void run()
         throws InterruptedException
Finds a Jenkins master that supports swarming, and join it.

This method never returns.

Throws:
InterruptedException


Copyright © 2004-2014. All Rights Reserved.