hudson
Class Main

java.lang.Object
  extended by hudson.Main

public class Main
extends Object

Entry point to Hudson from command line.

This tool runs another process and sends its result to Hudson.

Author:
Kohsuke Kawaguchi

Field Summary
static boolean isDevelopmentMode
          Set to true if we are running inside "mvn hpi:run" or "mvn hudson-dev:run"
static boolean isUnitTest
          Set to true if we are running unit tests.
static int TIMEOUT
          Time out for socket connection to Hudson.
 
Constructor Summary
Main()
           
 
Method Summary
static void main(String[] args)
           
static int remotePost(String[] args)
          Run command and place the result to a remote Hudson installation
static int run(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isUnitTest

public static boolean isUnitTest
Set to true if we are running unit tests.


isDevelopmentMode

public static boolean isDevelopmentMode
Set to true if we are running inside "mvn hpi:run" or "mvn hudson-dev:run"


TIMEOUT

public static final int TIMEOUT
Time out for socket connection to Hudson.

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String[] args)

run

public static int run(String[] args)
               throws Exception
Throws:
Exception

remotePost

public static int remotePost(String[] args)
                      throws Exception
Run command and place the result to a remote Hudson installation

Throws:
Exception


Copyright © 2004-2013. All Rights Reserved.