Class ProcHelper

java.lang.Object
io.jenkins.plugins.projectenv.proc.ProcHelper

public final class ProcHelper extends Object
  • 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