You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The configuration object $Configuration provides access to the properties of the current configuration. The properties available depends on where the expression is evaluated.

NameDescriptionTypeUsage Examples
DescriptionDescription of the configuration (as defined within the Configuration details page)String

IdA unique identifier for the configuration String

NameName 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

Integer

$Configuration.InitialisingBuilds$

1

InitialisingOrQueuedBuildCount

The number of currently initialising builds

Integer



LastBuild





LastFinishedBuild





PendingPromotionBuildCount

The number of build currently pending promotion

Integer



QueuedBuildCount

The number of currently queued builds

Integer

$Configuration.QueuedBuilds$

1

RunningBuildCount

The number of currently running builds

Integer

$Configuration.RunningBuilds$

1

  • No labels