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 | $Configuration.Description$ | "The configuration is for building and testing SuperFineApp" |
Id | A unique identifier for the configuration | String | $Configuration.Id$ | "eb26ab96-1c98-4b4e-8931-8c45716321a2" |
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 also have access to the following properties.
This includes 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 for the configuration | Integer | $Configuration.InitialisingBuilds$ | 1 |
InitialisingOrQueuedBuildCount | The number of currently initialising builds for the configuration | Integer | $Configuration.InitialisingOrQueuedBuildCount$ | 2 |
LastBuild | The last build started on the current configuration | Build Summary | $Configuration.LastBuild. | see Build Summary |
LastFinishedBuild | The last build finished on the current configuration | Build Summary | $Configuration.LastFinishedBuild. | see Build Summary |
PendingPromotionBuildCount | The number of build currently pending promotion for the configuration | Integer | $Configuration.PendingPromotionBuildCount$ | 6 |
QueuedBuildCount | The number of currently queued builds for the configuration | Integer | $Configuration.QueuedBuilds$ | 1 |
RunningBuildCount | The number of currently running builds for the configuration | Integer | $Configuration.RunningBuilds$ | 1 |