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
Last updated on