Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,075
Community Members
 
Community Events
165
Community Groups

Running Bamboo app integration tests on a remote agent

Edited

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
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

942 views 3 8
Read article

Community Events

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

Events near you