Class AntTask
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.task.Task<AntTask,AntTaskProperties>
com.atlassian.bamboo.specs.builders.task.AntTask
Ant build task builder.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull AntTaskPropertiesbuild()Specifies Ant's build file.environmentVariables(String environmentVariables) Sets environment variables to be set when Ant is executed.booleanexecutableLabel(@NotNull String label) Sets label of Ant executable.inthashCode()hasTests(boolean hasTests) Specifies if given task produces tests.Specifies which JDK to use.Specifies Ant target(s).testResultsPath(String testResultsDirectory) Sets location where Bamboo will look for test results.workingSubdirectory(String workingSubdirectory) Sets a directory the script should be executed in.Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Constructor Details
-
AntTask
public AntTask()
-
-
Method Details
-
target
Specifies Ant target(s). -
buildFile
Specifies Ant's build file. -
environmentVariables
Sets environment variables to be set when Ant is executed. -
jdk
Specifies which JDK to use. If not set default Bamboo JDK will be used. -
executableLabel
Sets label of Ant executable. -
hasTests
Specifies if given task produces tests. If set to true the task will fail if no tests are found. If task is used for Deployment project validation will fail if it has value true. Test output must be in JUnit XML format. Defaults to false. -
testResultsPath
Sets location where Bamboo will look for test results. This is a coma separated list of directories. You can also use Ant style patterns such astest-reports/*.xml. Defaults to **\/test-reports/*.xml -
workingSubdirectory
Sets a directory the script should be executed in. -
build
- Specified by:
buildin classTask<AntTask,AntTaskProperties>
-
equals
- Overrides:
equalsin classTask<AntTask,AntTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCodein classTask<AntTask,AntTaskProperties>
-