Noting functionality which really ought to have been factored out into external-monitor-job but could not be.

This commit is contained in:
Jesse Glick committed 2017-05-31 15:26:15 -04:00
1 parent fb5c899ec9
commit 1c7d422a12
1 file changed
+5 -1
+5 -1
View File
@@ -53,6 +53,8 @@ import java.nio.charset.Charset;
* @author Kohsuke Kawaguchi
*/
public class Main {
/** @see #remotePost */
public static void main(String[] args) {
try {
System.exit(run(args));
@@ -62,6 +64,7 @@ public class Main {
}
}
/** @see #remotePost */
public static int run(String[] args) throws Exception {
String home = getHudsonHome();
if (home==null) {
@@ -83,7 +86,8 @@ public class Main {
}
/**
* Run command and place the result to a remote Hudson installation
* Run command and send result to {@code ExternalJob} in the {@code external-monitor-job} plugin.
* Obsoleted by {@code SetExternalBuildResultCommand} but kept here for compatibility.
*/
public static int remotePost(String[] args) throws Exception {
String projectName = args[0];