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

use Jar file or ADB don't terminate on the bamboo agent will waits around 20-30 minutes.

sylvia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2024

We often have a case when we  Usually use Jar file or ADB don't terminate on the bamboo agent will waits around 20-30 minutes.

1 answer

2 votes
Anik Sengupta
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2024

Hello Sylvia,

Welcome to Atlassian community


Looks like when you are trying to install an agent using the jar command the jar on the new agent continues to install you have to hit CTL +C to exit from the screen and you want to avoid that .

Please let me know if my understanding is correct.

The easy way to achieve this without running the agent supervisor would be to use nohup to disconnect the process from your terminal session, and & to run it in the background.

nohup java -jar atlassian-bamboo-agent-installer-9.2.1.jar <Bamboo Base URL>/agentServer/ &


So the above command would effectively start the agent in the background and ensure the agent process keeps running after you disconnect from the server or exit the terminal.

You can also make use of the below command which should work as well :-


java -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar <Bamboo Base URL>/agentServer/ install

Regards,

Anik Sengupta

**please don't forget to Accept the answer if your query was answered**

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events