You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm a part of a team maintaining a Bamboo application, currently working on adding integration tests to our app.
I followed this guide to write integration/wired tests.
The integration tests run perfectly on the default local agent when I run atlas-integration-test.
I'm looking for a way to run the tests on a remote agent. The remote agent have to be in the same local machine, but using a different bamboo-agent-home directory.
I managed to start a remote agent running the following command in a Java thread:
java -jar <app-source>/target/container/tomcat8x/cargo-bamboo-home/webapps/bamboo/WEB-INF/classes/agent-installer.jar http://localhost:6990/bamboo/agentServer/ -Dbamboo.home=<temp-directory>
However, It feels like starting a remote agent this way is not the recommended way. I'd also prefer the remote agent to start automatically with the Bamboo server.
What is the recommended way to run integration tests in a remote agent?