Hello,
How can I change location of temp directory for bamboo agent? Currently it is defaulting to /tmp, I want to change it into /abc/tmp
Thanks
You need to set the java tmp directory attribute
<span>-</span><span>Djava</span><span>.</span><span>io</span><span>.</span><span>tmpdir</span><span>=/</span><span>path</span><span>/</span><span>to</span><span>/</span><span>tmpdir</span>
I tried doing that and it simply did not work. I'm using cygwin to run the java command to install a bamboo remote agent on Windows Server 2012 R2. I need to have cygwin running for a bamboo plan to succeed a build on this remote agent, because it sticks the git temp drive in /cygdrive/e/remote-agent-1/xml-data/build-dir/DAR-DAR-JOB1/.git/. Weirdly all the other properties are in E:\remote-agent-1/etc... as they should be.
Slight correction to the previous answer ('*.additional', not "*.addition'). This worked for me in wrapper.conf on linux.
wrapper.java.additional.3=-Djava.io.tmpdir=/tmp/bamboo
It looks like you're new here. Sign in or register to get started.