Class PipelineTestUtils
java.lang.Object
org.jenkinsci.test.acceptance.utils.PipelineTestUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkScript
(String script) static WorkflowJob
createPipelineJobWithScript
(JobsMixIn jobs, String script) static String
resolveScriptName
(String scriptName) static String
scriptForPipelineFromResource
(Class resourceOwner, String resourceName) static String
scriptForPipelineFromResourceWithParameters
(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
-