Class AntTask

    • Constructor Detail

      • AntTask

        public AntTask()
    • Method Detail

      • target

        public AntTask target​(@NotNull
                              @NotNull java.lang.String target)
        Specifies Ant target(s).
      • buildFile

        public AntTask buildFile​(java.lang.String buildFile)
        Specifies Ant's build file.
      • environmentVariables

        public AntTask environmentVariables​(java.lang.String environmentVariables)
        Sets environment variables to be set when Ant is executed.
      • jdk

        public AntTask jdk​(java.lang.String jdk)
        Specifies which JDK to use. If not set default Bamboo JDK will be used.
      • executableLabel

        public AntTask executableLabel​(@NotNull
                                       @NotNull java.lang.String label)
        Sets label of Ant executable.
      • hasTests

        public AntTask hasTests​(boolean 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

        public AntTask testResultsPath​(java.lang.String testResultsDirectory)
        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 as test-reports/*.xml. Defaults to **\/test-reports/*.xml
      • workingSubdirectory

        public AntTask workingSubdirectory​(java.lang.String workingSubdirectory)
        Sets a directory the script should be executed in.