Manage Semaphore activity library
The Manage Semaphore activity library enables you to lock the deployment activities between the processes, so that activities between different processes run in a desired order. For example, locking activities can be used for blocking processes from a build directory during one of the process built. When you enclose a process deployment activities within the semaphore lock, other processes are waiting until the process is finished and the lock is released to run their own activities. While enclosing the process activities within the semaphore lock, you add the success/failure dependancies to the deployment activities, so that when the set of the desired activities is performed successfully, the semaphore lock is released, and the next processes may start.
Parameter | Description |
---|---|
Semaphore Action |
|
Semaphore Name | Name of the selected semaphore lock. |
To enclose the deployment activity into the semaphore lock
- Add a new activity with the Manage Semaphore activity library selected.
- Select Get from the Semaphore Action field.
- Enter a semaphore name in the Semaphore Name field.
- Add several new deployment activities with the desired activity libraries selected.
- Add dependancies between the Manage Semaphore activity and other deployment activities by clicking the Add New Dependency
icon.
- Add one more activity with the Manage Semaphore activity library selected.
- Enter the same semaphore name you entered in step 2.
- Select Release from the Semaphore Action field.
- Add a dependancy to the Manage Semaphore Release activity, so that it runs after the last activity in a set it performed successfully.
Related topic