Class ProcHelper
- java.lang.Object
-
- io.jenkins.plugins.projectenv.proc.ProcHelper
-
public final class ProcHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcResult
execute(org.jenkinsci.plugins.workflow.steps.StepContext context, String... commands)
static String
executeAndGetStdOut(org.jenkinsci.plugins.workflow.steps.StepContext context, String... commands)
-
-
-
Method Detail
-
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
-
-