Uses of Class
hudson.Launcher.ProcStarter
-
Uses of Launcher.ProcStarter in hudson
Modifier and TypeMethodDescriptionLauncher.ProcStarter.buildStep
(EnvVarsFilterableBuilder envVarsFilterableBuilder) Specify the build step that want to run the command to enable the environment filtersLauncher.ProcStarter.cmdAsSingleString
(String s) Passes a white-space separated single-string command (like "cat abc def") and parse them as a command argument.Launcher.ProcStarter.cmds
(ArgumentListBuilder args) Launcher.ProcStarter.copy()
Copies aLauncher.ProcStarter
.Sets the environment variable overrides.final Launcher.ProcStarter
Launcher.launch()
Launches a process by using a builder-pattern to configure the parameters.Launcher.ProcStarter.masks
(boolean... masks) Hide parts of the command line from being printed to the log.Sets the current directory.Launcher.ProcStarter.quiet
(boolean quiet) AllowsLauncher.maskedPrintCommandLine(List, boolean[], FilePath)
to be suppressed fromLauncher.LocalLauncher.launch(hudson.Launcher.ProcStarter)
.Launcher.ProcStarter.readStderr()
In addition to the effect ofreadStdout()
, indicate that the caller will pumpstderr
from the child process separately fromstdout
.Launcher.ProcStarter.readStdout()
Indicates that the caller will pumpstdout
from the child process viaProc.getStdout()
(whereas by default you callstdout(OutputStream)
and let Jenkins pump stdout into yourOutputStream
of choosing.Launcher.ProcStarter.stderr
(OutputStream err) Controls where the stderr of the process goes.Launcher.ProcStarter.stdin
(InputStream in) Controls where the stdin of the process comes from.Launcher.ProcStarter.stdout
(TaskListener out) Sends the stdout to the givenTaskListener
.Launcher.ProcStarter.stdout
(OutputStream out) Sets STDOUT destination.Launcher.ProcStarter.writeStdin()
Indicates that the caller will directly write to the child processstdin()
viaProc.getStdin()
.Modifier and TypeMethodDescriptionLauncher.DecoratedLauncher.launch
(Launcher.ProcStarter starter) Launcher.DummyLauncher.launch
(Launcher.ProcStarter starter) abstract Proc
Launcher.launch
(Launcher.ProcStarter starter) Primarily invoked fromstart()
to start a process with a specific launcher.Launcher.LocalLauncher.launch
(Launcher.ProcStarter ps) Launcher.RemoteLauncher.launch
(Launcher.ProcStarter ps) -
Uses of Launcher.ProcStarter in hudson.util
Modifier and TypeMethodDescriptionFills aLauncher.ProcStarter
with all the parameters configured by this builder.