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
-Djava.io.tmpdir=/path/to/tmpdir
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.