Predefined Variables
Several variables are defined and can be used for attributes.
Name | Description | Scope |
---|---|---|
terrabuild_configuration | Name of current configuration | Global |
terrabuild.branch_or_tag | Name of current branch or tag | Global |
terrabuild.head_commit | Head commit commit | Global |
terrabuild.retry | true if build is retried. | Global |
terrabuild.force | true if build is forced. | Global |
terrabuild.ci | true if build is running in known CI. | Global |
terrabuild.debug | true if debug is enabled. | Global |
terrabuild.tag | Tag provided by user or nothing . | Global |
terrabuild.note | Note provided by user or nothing . | Global |
terrabuild.project | Name of current project | Target |
terrabuild.target | Name of current target | Target |
terrabuild.hash | Hash of current project | Target |
project.<id>.version | Hash of given project <id> | Target |
Last updated on