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?
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?
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.
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...
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