It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Agent says 'No builds can be executed' but instance and image say otherwise, what am I doing wrong?

I am evaluating Bamboo as a CI/CD option for my company, and I've run into a couple little snags.

When I spin up an instance of an elastic image, such as 'Ubuntu stock image' or 'Amazon Linux stock image', the Elastic Agent that it runs always has "No builds can be executed. The capabilities may not meet the requirements for any jobs or the agent may be dedicated to specific deployments." The actual elastic image, and the elastic instance itself do not have that message, in fact they correctly show that they can run my jobs, and the Agent Matrix correctly shows that they can run the jobs/plan that I had set up.

I have a secondary issue which I am not sure is related. I have my repository in BitBucket and I set it up to use the Bamboo hook so it can push changes to my Plan Branch, using my credentials. I also configured the Plan Source Repository settings to look at the proper repository, with all the proper credential values. However, when I push commits to a branch on BitBucket, it does not trigger the build plan for the branch. I can manually run the build and it does get the proper commit, and it even runs on the agent which says it can't run any jobs. I'm very confused here, and the online docs didn't really help.

3 answers

could really use an answer to either of my questions...

I managed to get my BitBucket repo to successfully tell Bamboo to run the plan branch upon pushing new code to a feature branch. Steps I took:

  1. Changed the value of the username field in the BitBucket Bamboo Hook Advanced Settings from an email address to actual username
  2. Added the outbound trigger IPs addresses from https://confluence.atlassian.com/display/BITBUCKET/What+are+the+Bitbucket+IP+addresses+I+should+use+to+configure+my+corporate+firewall to the Plan configuration - honestly, this should be something Bamboo does behind the scenes automatically. If it can't even integrate with its own systems correctly...

Still no explanation for why the Elastic Agents say they can't run any jobs even though they do...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

665 views 2 7
Read article

Community Events

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

Events near you