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?
G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events