Details
Description
When running the Bamboo agent without an explicit bamboo home, a spurious directory tree is created under bamboo-agent-home/bin/ directory with the following form "/home/bamboo/bamboo-agent-home", which can be traversed using bourne shell like so:
bamboo@VictoriaBitter:~/bamboo-agent-home/bin$ cd \" bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"$ cd home/ bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"/home$ cd bamboo/ bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"/home/bamboo$ cd bamboo-agent-home\"/
I would hazard that this directory is created between the service wrapper and the bootstrap JAR, as all the build information is created under here:
bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"/home/bamboo/bamboo-agent-home"$ ls bamboo-agent.cfg.xml xml-data
This is the command line used to launch the agent:
java -Dbamboo.agent.ignoreServerCertName=true -jar bamboo-agent-2.2-SNAPSHOT.jar https://atlassian18.private.atlassian.com/agentServer/