I've got a bamboo ant task, runs the build.xml and pass the java.io.tmpdir into the build.
You can see the bamboo command line the parameter is set:
command 07-Jun-2016 22:29:03 Beginning to execute external process for build 'Bamboo-Test - Integration Build - Sales - Test - Build Business Logic #31 (BAMTST-IBST-BL-31)'\n ...
running command line: \n/qad/web/server/ant-1.8.4/bin/ant -Djava.io.tmpdir=/tmp/BAMTST-IBST-BL -f build.xml buildbl -v\n ... in: /dr01/bamboo/xml-data/build-dir/BAMTST-IBST-BL\n ... using extra environment variables: \nbamboo_capability_system_jdk_JDK_1_6_32=/usr/java/jdk1.6.0_33-
But I've checked the log that in fact, the build take java.io.tmpdir to /tmp and I guess its a default config from somewhere.
So do you guys nows why this can not pass correctly?
Also, I cannot find the place where this -Djava.io.tmpdir is configured, its not in Plan Configuration -> Tasks
and also cannot found in global variables, task->requirement, task->artifact.
image2016-6-8 14:30:31.png