Predefined Variables

Predefined Variables

Several variables are defined and can be used for attributes.

NameDescriptionScope
terrabuild_configurationName of current configurationGlobal
terrabuild.branch_or_tagName of current branch or tagGlobal
terrabuild.head_commitHead commit commitGlobal
terrabuild.retrytrue if build is retried.Global
terrabuild.forcetrue if build is forced.Global
terrabuild.citrue if build is running in known CI.Global
terrabuild.debugtrue if debug is enabled.Global
terrabuild.tagTag provided by user or nothing.Global
terrabuild.noteNote provided by user or nothing.Global
terrabuild.projectName of current projectTarget
terrabuild.targetName of current targetTarget
terrabuild.hashHash of current projectTarget
project.<id>.versionHash of given project <id>Target
Last updated on