When I look at the properties of my remote agent, the users home directory is being set to C:\Users\TEMP. Is there a way to set it to the C:\Users\<user running bamboo> ?
I'm referring to the users home directory. Not the bamboo build directory.
Hi @Hector Magnanao,
If you already have a remote agent running, you could:
wrapper.java.additional.1=-Dbamboo.home=C:\Users\TEMP
If you are installing a new remote agent, you can provide <bamboo-remote-home> directory in java command:
java -Dbamboo.home=/path/to/bamboo-remote-home -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar http://bamboo-host-server:8085/agentServer/
Please, refer to the following documentation for further information:
Note: User running Bamboo remote agent must have full access to the directory specified.
Kind regards,
Rafael
Hi Rafael,
the bamboo home directory is set correctly. It's the bamboo users home directory that is being set to C:\Users\TEMP. It should be set to C:\Users\<bamboo account>
This is causing the builds to fail because it can't find the settings.xml file in the correct folder. I can't use the current directory because it might be removed one day.
The system properties of the bamboo agent is attached. The problem is circled in red.
That is the temp directory and you can updated it by:
wrapper.java.additional.X=-Djava.io.tmpdir=C:\Users\TEMP
It looks like you're new here. Sign in or register to get started.