Class TestTaskSpecsHelper
java.lang.Object
com.atlassian.bamboo.testutils.specs.TestTaskSpecsHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.atlassian.bamboo.specs.builders.task.AntTask
ant()
static com.atlassian.bamboo.specs.builders.task.VcsCheckoutTask
static com.atlassian.bamboo.specs.builders.task.VcsCheckoutTask
static com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask
static com.atlassian.bamboo.specs.builders.task.ScriptTask
generateArtifactTask
(String filename, String location) Create task that generates artifactstatic com.atlassian.bamboo.specs.builders.task.MavenTask
maven3()
static com.atlassian.bamboo.specs.builders.task.MavenTask
maven3
(boolean hasTests) static com.atlassian.bamboo.specs.builders.task.ScriptTask
static com.atlassian.bamboo.specs.builders.task.ScriptTask
static com.atlassian.bamboo.specs.builders.task.ScriptTask
scriptTask
(String body) static com.atlassian.bamboo.specs.builders.task.ScriptTask
scriptTask
(String... commands)
-
Constructor Details
-
TestTaskSpecsHelper
public TestTaskSpecsHelper()
-
-
Method Details
-
scriptSuccess
public static com.atlassian.bamboo.specs.builders.task.ScriptTask scriptSuccess() -
scriptFailure
public static com.atlassian.bamboo.specs.builders.task.ScriptTask scriptFailure() -
checkoutTask
public static com.atlassian.bamboo.specs.builders.task.VcsCheckoutTask checkoutTask() -
scriptTask
-
scriptTask
-
generateArtifactTask
public static com.atlassian.bamboo.specs.builders.task.ScriptTask generateArtifactTask(String filename, String location) Create task that generates artifact -
ant
public static com.atlassian.bamboo.specs.builders.task.AntTask ant() -
maven3
public static com.atlassian.bamboo.specs.builders.task.MavenTask maven3() -
maven3
public static com.atlassian.bamboo.specs.builders.task.MavenTask maven3(boolean hasTests) -
checkoutDefaultRepository
public static com.atlassian.bamboo.specs.builders.task.VcsCheckoutTask checkoutDefaultRepository() -
cleanWorkingDirectory
public static com.atlassian.bamboo.specs.builders.task.CleanWorkingDirectoryTask cleanWorkingDirectory()
-