You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello Community!
Can we start a new fresh agent already dedicated to a plan/job/project?
Sometimes we hit a limit between the number of JOBs vs. Agents. We want to bring up an agent already dedicated to a Plan or a specific Job, because this one plan or job need to be processed first. There's any config on the agent side that forces the agent to register to Bamboo server already dedicated?
I know I could change my jobs to be "requirements" driven, but ignore that please.
ps. I wonder if there's something related to this via wrapper.conf, like we have the "disable capabilities auto detection".
Thx!
Hello @Jonathan Ghellere
The Agent dedication is controlled by the Bamboo Server and cannot be defined at the Agent level. No settings are available on the agent that would control how it is dedicated on startup.
Dedicating an Agent is not an Agent setting, but a Project/Plan/Job setting, so the Agents are not modified at all.
We have an FR https://jira.atlassian.com/browse/BAM-8741 that was closed due to low engagement which suggests that Agents could start in a disabled state.
As a workaround, you can "Pause" the server queue, add the Agent, set the dedication and "Unpause" the server. That will guarantee that no Builds will be triggered on the agent during the pause duration.
To Pause/Unpause the server:
curl -k -u admin:admin -H 'Accept: application/json' -X POST <bamboo_url>/rest/api/latest/server/pause?os_authType=basic
curl -k -u admin:admin -H 'Accept: application/json' -X POST <bamboo_url>/rest/api/latest/server/resume?os_authType=basic
You can also POST the Pause/Unpause commands through the UI:
Regards,
Eduardo Alvarenga
Atlassian Support APAC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.