Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Do all agents need to have all the capabilities a job requires


I've set up Bamboo on a separate host and now I'm playing with. So far, I've been able to check out a sample source code and build it with maven successfully.  Then I added a remote agent, which is my local machine with Docker executable on it. Bamboo shows Docker among many other capabilities of the remote agent. Now, I add a third task to my job, which is a Docker image build and save it. I get `No agents meet this job's requirements.` warning. What's weird is in the Requirements tab it shows 1 agent with the Docker capability, which is my local machine. I've followed  this atlassian troubleshooting guide but it didn't help (I have no dedicated agents.) Now I'm kinda confused, do I need to have all the required capabilities in all agents? Or, maybe at least one of the agents has to have all the capabilities? If no, then what's the reason I get this warning?

I have Jenkins background and in Jenkins I am able to specify which agent must execute which part of a job. Isn't that or similar possible in Bamboo?


1 answer

1 accepted

1 vote
Answer accepted
Jimmy Seddon Community Leader May 17, 2019

@mikayil-abdullah ,

Agents run jobs.  So a single agent needs to be capable of running all the tasks contained within a single job.  If you can, you will want to split out the docker task you created into it's own job and then you can have both tasks run in parallel.

I hope that helps, let me know if you have any other questions.


Oh, I see. But in that case, I won't be able to access the artifacts produces as a result of maven build as:

1. They run in parallel and the Docker build job will reach the point it needs the artifacts much earlier than the build is finished.

2. Can one job access files of another job?

Oh, maybe I should have a separate stage for it?

Jimmy Seddon Community Leader May 17, 2019

Hi @mikayil-abdullah,

I was just about to say that.  Yes, build the maven code first in it's own stage/job.  Then, have the docker stage/job run after that which can use the artifacts built in the maven stage.


Thanks, @Jimmy Seddon Can you btw give me a quick tip on how to use artifacts of the previous stage?

Jimmy Seddon Community Leader May 17, 2019

Absolutely!  So what you will want to do is use the "Artifact Downlad" task type and you are going to select the build plan you are currently in and it sill give you the option to select all artifact or you can specify which shared artifacts you wish to download.


Oh, I got that. Thanks.

Like Jimmy Seddon likes this

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
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