When you configure a plan, you need to specify which builder should be used for the plan's builds. If you specify an Ant builder, you will also need to choose a JDK.
The 'Configuration' tab will be displayed. Click the 'Builder' sub-tab.
The 'Builder' sub-tab will be displayed.
In the 'Builder' dropdown, select the Ant builder that you wish to configure for this plan (e.g. "Ant"). The builder that you select will become one of the plan's capability requirements. For details please see Specifying a Plan's Capability Requirements. Tip: If you want to configure a new shared local builder capability in Bamboo, you can do so by clicking the 'Add New Builder' link and entering the builder details in the window that displays. Once you have added the new builder, it will be available for you to select from the 'Builder' dropdown.
The screen will refresh to display the builder settings specific to Ant:
'Target' — Specify the Ant target that you want Bamboo to execute each time the source code changes. For example: test (this will run the Ant target 'test'). You can also use '-D' to define one or more JVM parameters, e.g.: -Djava.awt.headless=true (this will pass the parameter 'java.awt.headless' with a value of 'true'). You can also include variables (see Using Global or Build-specific Variables).
'Build JDK' — Choose a JDK from the list. The JDK that you select will become one of the plan's capability requirements. For details please see Specifying a Plan's Capability Requirements. Tip: If you want to configure a new shared local JDK capability in Bamboo, you can do so by clicking the 'Add New JDK' link and entering the JDK details in the window that displays. Once you have added the new JDK, it will be available for you to select from the 'JDK' dropdown.
You can then specify these generic JDK capabilities as requirements for your plan.
Update the system environment variables and working directory. These are optional settings: