How to propagate new bamboo tasks into remote agents?

I am developing a set of tasks for bamboo and regularly try them on a live installation with remote agents - the problem I am facing is that the latest version of the plugin do not get downloaded automatically by the remote agents. The plugin is a V2 plugin, uploaded via the Install function of the UPM. I tried bumping up the plugin version without success ( the first task failed, bamboo claining that there was no such task in the plugin). Re-starting the agent provoles a download of the new version.

Surely I don't need to write a ssh script that will go into every remote agent to reboot them - or should I?

2 answers

1 accepted

0 vote

OK, it's confirmed bug, it will be fixed in 5.3.

0 vote

I think you do, sorry about that. I've opened an improvement request for this:

Edit: I've consulted the developer who has written the plugin 2 support and he said it should work. Could you tell me which version of Bamboo you're using and which module descriptors are used in your plugin?

Alternatively, could I copy my plugin into the plugins folder of the agent? Would the agent pick it up? or should I rename the current existing one?

It's actually something I was wondering : is there a way to upload a version 2 plugin on a bamboo instance without going through the web interface - the typical scenario here is after running atlas-mvn package, deploy the plugin on my local instance to test it out.

I'm using Bamboo 3.4.3 and V2 plugin (tasks).

Let me know if you find a way to go about it - I experimented with one of your suggestion found here, aka creating one plan with 1 job / agent (and adding a name property to all agents) and then restarting the agent in the background, but I'm not facing much success

echo "agent will restart soon"
nohup sleep 10;/opt/bamboo/bin/bamboo-agent-init restart &
exit 0

The plan seems to ignore the nohup and the & and waits - the agent meanwhile shutsdown but does not come back up.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,096 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot