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.
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**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.