The configuration object $Configuration provides access to the properties of the current configuration. The properties available depends on where the expression is evaluated.
Name | Description | Type | Usage Examples | |
---|---|---|---|---|
Description | Description of the configuration (as defined within the Configuration details page) | String | ||
Id | A unique identifier for the configuration | String | ||
Name | Name of the configuration (as defined within the Configuration details page) | String | $Configuration.Name$ | "New Configuration 1" |
Most fields which are expanded on the server so have access to the following properties. This include expandable fields on the Edit Variable dialog (for variable types other than Expression), on the Variables and Artifacts tabs for Build Completed triggers, when editing Configuration Conditions in the Conditions step of the configuration wizard, in the Edit Build Event Handlers dialog, and in Agent Conditions on the Agent page under Administration.
Name | Description | Type | Usage Examples | |
---|---|---|---|---|
InitialisingBuildCount | The number of currently initialising builds | $Configuration.InitialisingBuilds$ | 1 | |
InitialisingOrQueuedBuildCount | The number of currently initialising builds | |||
LastBuild | ||||
LastFinishedBuild | ||||
PendingPromotionBuildCount | The number of build currently pending promotion | |||
QueuedBuildCount | The number of currently queued builds | $Configuration.QueuedBuilds$ | 1 | |
RunningBuildCount | The number of currently running builds | $Configuration.RunningBuilds$ | 1 |