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?
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.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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!
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