Share via

multi agent conditional job starting depending on dynamic agent capabilities

2022-05-31T12:47:10.567+00:00

Hi, I have configured multi-agent for DevOps Release Pipelines.

Now , I have four agents with different configurations /SW loads on same TestPC. This works fine during manual triggerin the correct Release Pipeline.

But now I want to automate this. I need a TestPC indicator (state variable) that this PC is "in_use" by at least 1 of the four available agents on this TestPC.
Because in this case the other agents shouldn't be selectable by DevOPS Jobhandler.

e.G. I would do a Pipeline demand like TestPCx = IDLE
When the first agent got the job, this agent should be able to set "TestPC" to "in_use"
Only if all configured agents on this TestPC .are "IDLE" the job handler should be able to assigne a new Pipeline to this TestPC.

Do you think this makes sense and is possible within Azure DevOps and related agents?

Currently DevOps Jobhandler handles static capabilities and full parallel working agents, this works fine and is tested in my case upto to 4 agents on one PC.

But I am struggling a little bit with "dynamic" capabilities , like agent is "idle" but his machine is "busy" by another agent on this machine.

Many thx in advance for your help and ideas

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 37,256 Reputation points Microsoft Employee Moderator
    2022-05-31T16:29:14.243+00:00

    @Mueller, Arnd (ext) (DI FA HMI VS ARC)
    Thank you for your post!
    DevOps is currently not supported here on the Q&A forums, our DevOps experts are actively answering questions in dedicated forums here:

    https://developercommunity.visualstudio.com/spaces/21/index.html

    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.