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

Compare with Current View Page History

« Previous Version 7 Next »

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

Basic properties


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"


Server-side only properties

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



LastBuild

The last build started on the current configurationBuild Summary

LastFinishedBuild

The last build finished on the current configurationBuild Summary

PendingPromotionBuildCount

The number of build currently pending promotion for the configuration

Integer



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

  • No labels