Creating lockable resources

Lockable resources are resources that can be reserved by other objects, such as agents, when a process runs.

Locked resources cannot be accessed by other objects after the lock is acquired. Other requests for the resource are queued until the lock is released.

  1. From the IBM® UrbanCode™ Build dashboard, click System, then click Lockable Resources.
  2. Click Create New.
  3. Using the Edit Lock dialog box, type a name for the resource in the Name field.
  4. Specify the maximum number of simultaneous lock holders in the Maximum Number of Lock Holders field.

    The default value is 1, which means that only one process can obtain a lock on the resource. If you specify 2, for example, a maximum of two different processes can concurrently use the resource. This value can be overridden on individual processes.

  5. Click Save.
Lockable resources must be added to processes. Resources can be configured when you create build process templates. See Creating build process templates