Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Single: A single read or write lock. Only one build or stage can acquire a lock on this Shared Resource at any time. This is useful if build actions require exclusive access to a resource on a server or agent 

Infinite: Any number of read locks. A single write lock. Any number of builds or stages can acquire read locks on this Shared Resource. Only one build or stage can acquire a write lock on this Shared Resource at any time. A write lock can only be acquired if no read locks are held.

Quota: Fixed number of read locks. A single write lock. A specified number of builds or stages can acquire read locks on this Shared Resource. Only one build or stage can acquire a write lock on this Shared Resource at any time. A write lock can only be acquired if no read locks are held.

Quota List: The quota allocation is split into a number of labelled quotas. Fixed number of read locks per label. A single write lock per label. A specified number of builds or stages can acquire read locks on each label defined on this Shared Resource. Only one build or stage can acquire a write lock on each label of this Shared Resource at any time. A write lock can only be acquired if no read locks are held on the specified label. You can acquire locks on all labels at once or acquire any available label.