Multiple agents (separate servers) are not able to be configured on Environment

I configure a deployment plan, added an environment, and setup two remote agents, each on separate Servers (Adobe and Application). Components need to be deployed on both servers for every deployment.

Under the environment I created Tasks. One for Adobe server and One for Application server)

When I config the Adobe Task I had to Disable the Application Task and vice versa. I'm getting the error "No agents meet the Environments's requirements."

1 answer

0 votes

If the deployments have different requirements, it will need different agents. And you won't be able to run both jobs together in a single agent.

Your options?

  1. See if you can create an agent that satisfies the requirements for both deployments
  2. Check options to run different deployments. Why run in a single environment?

Thank you for your quick response.

We do have separate agents for the Deployment.

Environment - UAT

  • Task
    • Deploy Adobe code - (Server A - AgentA)
    • Deploy Main App - (Server B - AgentB)

Both agents work fine when run individually but I get the error "No agents meet the Environments's requirements." when both are enable.

Any assistance given will be appreciated.

That is exactly the problem. You have 2 agents, not 1. When there are two agents, each with different capabilities, your task won't run any of them because the task requires capabilities from both agents.

Bamboo checks all the tasks in the environment before an agent is chosen.

Good morning Jobin. This is a flaw in Deployment. The Build section has Stages->Task which makes it easier to use multiple agents.

In a Deployment, Bamboo should realized that there would be multiple Servers with multiple agents.

Do you have any idea how I can resolve this issue?

Any assistance given will be appreciated.

Thank you.

I can only think of the two options I mentioned earlier.

Thank you very much for your assistance.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot