Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Running Bamboo app integration tests on a remote agent

Yahav Itzhak November 18, 2020

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?

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events