Package hudson

Class Main

java.lang.Object
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

    Fields
    Modifier and Type
    Field
    Description
    static boolean
    Set to true if we are running inside mvn jetty:run.
    static boolean
    Set to true if we are running unit tests.
    static final int
    Time out for socket connection to Hudson.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    static int
    Run command and send result to ExternalJob in the external-monitor-job plugin.
    static int
    run(String[] args)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 jetty:run. This is also set if running inside mvn hpi:run since plugins parent POM 2.30.
    • TIMEOUT

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

    • Main

      public Main()
  • Method Details