public final class BourneShellScript extends FileMonitoringTask
nohup.| Modifier and Type | Class and Description |
|---|---|
static class |
BourneShellScript.DescriptorImpl |
FileMonitoringTask.FileMonitoringController| Constructor and Description |
|---|
BourneShellScript(String script) |
| Modifier and Type | Method and Description |
|---|---|
void |
captureOutput()
Requests that standard output of the task be captured rather than streamed to
Controller.writeLog(hudson.FilePath, java.io.OutputStream). |
String |
getScript() |
protected FileMonitoringTask.FileMonitoringController |
launchWithCookie(hudson.FilePath ws,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.EnvVars envVars,
String cookieVariable,
String cookieValue) |
doLaunch, escape, launchgetDescriptor@DataBoundConstructor public BourneShellScript(String script)
public String getScript()
public void captureOutput()
DurableTaskController.writeLog(hudson.FilePath, java.io.OutputStream).
If so, you may call Controller.getOutput(hudson.FilePath, hudson.Launcher).
Standard error should still be streamed to the log.
Should be called prior to DurableTask.launch(hudson.EnvVars, hudson.FilePath, hudson.Launcher, hudson.model.TaskListener) to take effect.captureOutput in class DurableTaskprotected FileMonitoringTask.FileMonitoringController launchWithCookie(hudson.FilePath ws, hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.EnvVars envVars, String cookieVariable, String cookieValue) throws IOException, InterruptedException
launchWithCookie in class FileMonitoringTaskIOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.