Class PipelineTestUtils

java.lang.Object
org.jenkinsci.test.acceptance.utils.PipelineTestUtils

public class PipelineTestUtils extends Object
  • Constructor Details

    • PipelineTestUtils

      public PipelineTestUtils()
  • Method Details

    • createPipelineJobWithScript

      public static WorkflowJob createPipelineJobWithScript(JobsMixIn jobs, String script)
    • scriptForPipelineFromResource

      public static String scriptForPipelineFromResource(Class resourceOwner, String resourceName) throws IOException
      Throws:
      IOException
    • scriptForPipelineFromResourceWithParameters

      public static String scriptForPipelineFromResourceWithParameters(Class resourceOwner, String resourceName, String... scriptParameters) throws IOException
      Throws:
      IOException
    • checkScript

      public static void checkScript(String script)
    • resolveScriptName

      public static String resolveScriptName(String scriptName)