we currently want to introduce a loadbalancing on the Jenkins server and our nodes. I have already created several nodes.
Currently it is also so that if a node is blocked accordingly, that the next free option is chosen. But only if a node is issued. Unfortunately, this is only part of what the whole task looks like.
Task to be solved:
If a node is under load, the next free option should be selected automatically.
If a node is issued, then the next inactive node should be taken.
For security reasons, you do not want us to use the loadbalancing plugin. So there has to be a solution that we have through a script or some other solution