Versions Compared

Key

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

...

Tip

Recommend using Bamboo 6.3 and higher for nested variable support which makes configuration easier.

Pseudo Bamboo Variables

Some new pseudo Bamboo variables have been defined to provide some additional variables that can be used in CLI Notifications. 

Table plus


Pseudo VariableTypeValuesReference in CLI NotificationReference in Bamboo Variable
buildStateStringSuccessful, Failed, Unknown${bamboo.buildState}${bamboo_buildState}
isRebuildStringYes, No${bamboo.isBuild}${bamboo_isBuild}
restartCountIntegerNumber of times the build has been restarted${bamboo.restartCount}${bamboo.restartCount}


Tip

In order to avoid a Bamboo error when referencing a pseudo variable in a standard Bamboo variable, use the alternate form of reference. This is because Bamboo tries to validate strings that look like bamboo variables.