Class PipelineTestUtils
java.lang.Object
org.jenkinsci.test.acceptance.utils.PipelineTestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckScript(String script) static WorkflowJobcreatePipelineJobWithScript(JobsMixIn jobs, String script) static StringresolveScriptName(String scriptName) static StringscriptForPipelineFromResource(Class resourceOwner, String resourceName) static StringscriptForPipelineFromResourceWithParameters(Class resourceOwner, String resourceName, String... scriptParameters)
-
Constructor Details
-
PipelineTestUtils
public PipelineTestUtils()
-
-
Method Details
-
createPipelineJobWithScript
-
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
-
resolveScriptName
-