This documentation relates to QuickBuild 12.0.x
Select here if you are using a different version

Exclusive Deployment

Situation

Assume there are only one machine for deployment. Set up the build so that only one deployment step can run on the deployment machine even if multiple builds try to deploy.

Demonstration

  1. Visit the demo project, and hit the run button to trigger all children configurations concurrently.
  2. Check latest build of child project1 and child project2 respectively: only deploy step of the one build will run, another will be put into wait state until current running deploy step finishes.

Resolution

  1. Switch to resources tab and a resource named "Deployment Environment" is defined with only one agent providing the resource.
  2. Switch to steps definition of child project1 and child project2, and check definition of step deploy. The node selection property is set to run on the node with resource Deployment Environment.

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.