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 Configuration' sub-tab.
The 'Builder Configuration' sub-tab will be displayed (see screenshot below).
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.
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.
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: