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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

927 views 3 9
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