public class Main extends Object
This tool runs another process and sends its result to Hudson.
Modifier and Type | Field and Description |
---|---|
static boolean |
isDevelopmentMode
Set to true if we are running inside
mvn jetty:run . |
static boolean |
isUnitTest
Set to true if we are running unit tests.
|
static int |
TIMEOUT
Time out for socket connection to Hudson.
|
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static int |
remotePost(String[] args)
Run command and send result to
ExternalJob in the external-monitor-job plugin. |
static int |
run(String[] args) |
public static boolean isUnitTest
public static boolean isDevelopmentMode
mvn jetty:run
.
This is also set if running inside mvn hpi:run
since plugins parent POM 2.30.public static final int TIMEOUT
public static void main(String[] args)
remotePost(java.lang.String[])
public static int run(String[] args) throws Exception
Exception
remotePost(java.lang.String[])
Copyright © 2004–2021. All rights reserved.