Job is scheduled to agent event when agent lacks resources to complete job#816
|
|
I was briefly flummoxed by a hung job earlier; it turns out that I’d added a resource to the job, and not set it up for the agent. In this situation, I would expect:
|
|
|
Hey Pete Thanks for your feedback. If you have a resource configured on a job that is not configured on an agent, that agent should not pick up the job. Did you add the resource to the job after it had been scheduled? We are planning to add a warning for jobs that cannot be built because no agent has the available resources. |
|
|
I think the agent picked up the job in spite of not having the resource. I don’t remember whether I added the resource after the build was scheduled – but I don’t think so. |
|
|
Pete, If you see this happening again, could you let us know? I just took a look at the code, and I’m not able to find how that could have happened… Chris |
|
|
Will do. |
