Class ProcHelper
java.lang.Object
io.jenkins.plugins.projectenv.proc.ProcHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProcResult
static String
executeAndGetStdOut
(org.jenkinsci.plugins.workflow.steps.StepContext context, String... commands)
-
Method Details
-
executeAndGetStdOut
public static String executeAndGetStdOut(org.jenkinsci.plugins.workflow.steps.StepContext context, String... commands) throws Exception - Throws:
Exception
-
execute
public static ProcResult execute(org.jenkinsci.plugins.workflow.steps.StepContext context, String... commands) throws Exception - Throws:
Exception
-