Versions Compared

Key

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

...

Shared resources are used in Continua CI to limit restrict the number of builds or stages accessing the same resource concurrently. This can be useful if you wish to limit the number of times a particular tool is run due to a license or memory limit, or to prevent concurrency issues with multiple build stages simultaneously writing to the same file, folder or network resource. 

...

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. 

Creating and Editing Shared Resources

...

The number of read locks allocated for a Quota Shared Resource. 

 

Label and Quota

You can add multiple labels to a Quota List Shared Resource each with a separate quota allocation. 

...

A tick next to the shared resource indicates that it has locks allocateda quota is allocated to it. A shared resource created for one agent will be shown on Shared Resources tab for other agents but without any allocation. 

...