|
|
There are 0 changes. View first change.
h1. Situation | ||
Set up the build so that one agent runs only one build at a time. If all agents are occupied, the build should be waiting. | ||
h1. Demonstration | ||
# Check [grid tab|http://demo.pmease.com/grid/active_build_agents] on the demo site, and there are two agents available. | ||
# Visit the [demo project|http://demo.pmease.com/overview/100], and hit the run button three times to generate three builds. | ||
# The first two builds will be running, each occupying an agent. The third will be waiting. When one of two running builds finished, the third one will start to run. | ||
h1. Resolution | ||
# Switch to [resource tab|http://demo.pmease.com/resource] and a resource named "agent" is defined with each agent providing one resource. | ||
# Switch to [steps definition|http://demo.pmease.com/steps/100] of the demo project, and check the master step definition. The node selection property is set to run on the node with resource _agent_. | ||
# This also holds true for builds from different configurations as long as their master step is defined to run on node with the _agent_ resource. |