I was wondering whether anyone had / has a secret formula for automating Bamboo agent dedications. As a Support Function, we had to restrict what the users can do due to security. Unfortunately, this means every time an Agent needs approving, it also needs dedicating. If the Agent previously had dedications, we have to manually go in and add them. With some Agents have 200+ dedications, this causes a lot of wasted time waiting for the list to populate from the search field (last time I did this it took over two hours!)
Has anyone done anything like this before? ...and if so, how did you do it?
Any help would be gratefully appreciated :)
I have not done this before, but it's an interesting challenge :)
To expand on @Alexey Chystoprudov's answer (+1), here's how I'd try to tackle an end to end automation based on our own (commercial) add-on (which currently requires that you have an AWS account yourself):
Please note one important caveat regarding 5:
The 'Automate with AWS' notification recipient provides a $notification entity variable for access to the default Bamboo templates, which can be used to parse the required info out of the message (e.g. the elastic instance ID), though not everything you need might be available within the agent notification already.
However, we are also offering variables like $resultSummary (incl. 'buildAgentId') and $deploymentResult (incl. 'agentId') so that you can compose a payload with the exact information you need. Similarly we should be able to provide an '$agent' variable that exposes the details available via the AgentRegisteredEvent, i.e. the fields in a PipelineDefinition - let me know if you'd be interested in this approach and I'd be happy to explore it with my team.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events