set up / view elastic agents

I've got Bamboo picking up github commits and starting up an elastic instance of an EC2 AMI image.

On the build queue I can see my job, but it says that "No agent can build this job".

When I click the lightning-flash to manage elastic instances I can see an instance running, but the elastic agent is "pending".

When I look at the job/plan there are no unmet requirements, but it says it can be built on No Agents / 1 elastic image.

 

So I assume I need to set up an agent. The docs at https://confluence.atlassian.com/display/AOD/Viewing+your+elastic+agents say there should be an Agents link in the left panel of the Bamboo Overview page, but I don't have one. Are there some other pre-reqs I haven't set up? How do I set up an agent to run on my elastic instance?

 

Thanks

Rich

2 answers

This widget could not be displayed.

OK, so I realised I need an agent on my EC2 machine. I followed advice at https://confluence.atlassian.com/display/BAMBOO/Creating+a+custom+elastic+image+-+Windows to get that going. Tested it on-box and then manually starting from Bamboo. All good - I can spin up the instance OK.

Then I set up a trigger for a github repo change to build using the AMI I have made. When ti runs it spins up the AMI on EC2 as it should, but leaves the build status in Bamboo saying "No agent can build this job". All I'm trying to do is MSBuild the solution... and the Agents Matrix shows that the requirements are met by my AMI.

 

Does anybody know what I need to do next to invoke MSBuild on the .sln?

This widget could not be displayed.

I made sure that the correct version of MSBuild is in the path on the AMI, so that the agent should be able to find it, but still no joy.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted an hour ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

13 views 0 2
Join discussion

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