aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2011-12-05 17:34:08 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2011-12-05 17:34:08 +0200
commit2010c348baf70a150349c567c5981d8bc73e16a4 (patch)
treee406c1b308a3221e14d660b40ae43d1985e44aa5
parent430ceb991b8d05e95acb0d6a642861f09ec86eae (diff)
downloadjenkins-plugin-shell-status-2010c348baf70a150349c567c5981d8bc73e16a4.tar.gz
Add missing imports and other changes for standalone plugin.
-rw-r--r--src/main/java/hudson/plugins/shell/ShellWithStatus.java17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/main/java/hudson/plugins/shell/ShellWithStatus.java b/src/main/java/hudson/plugins/shell/ShellWithStatus.java
index 9b564fe..baf171e 100644
--- a/src/main/java/hudson/plugins/shell/ShellWithStatus.java
+++ b/src/main/java/hudson/plugins/shell/ShellWithStatus.java
@@ -23,13 +23,22 @@
*/
package hudson.plugins.shell;
+import hudson.EnvVars;
import hudson.FilePath;
import hudson.Functions;
+import hudson.Launcher;
import hudson.Util;
import hudson.Extension;
+import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
+import hudson.model.Result;
+import hudson.model.TaskListener;
import hudson.remoting.Callable;
import hudson.remoting.VirtualChannel;
+import hudson.tasks.Builder;
+import hudson.tasks.BuildStepDescriptor;
+import hudson.tasks.CommandInterpreter;
+import hudson.tasks.Messages;
import hudson.util.FormValidation;
import java.io.IOException;
import net.sf.json.JSONObject;
@@ -38,6 +47,7 @@ import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.QueryParameter;
import java.util.List;
+import java.util.Map;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.logging.Logger;
@@ -171,7 +181,12 @@ public class ShellWithStatus extends CommandInterpreter {
}
public String getDisplayName() {
- return Messages.Shell_DisplayName();
+ return "Execute shell and set build status";
+ }
+
+ @Override
+ public String getHelpFile() {
+ return "/plugin/shell-status/help.html";
}
@Override