About Template Variables

A template variable is designated in the template source in one of the following ways:

Syntax Description Example
$ { template_var }

This is a variable that must be set.

"${HOST}"

The HOST template variable must be set.

$ { template_var:default_setting } This is a variable that has a default value if it is not set. "${COMMIT:remote:1}"

The COMMIT template variable defaults to remote:1.

$ { template_var- } This type of variable is optional and is ignored if it is not set. "${SM_HOST_TAG-}"

If SM_HOST_TAG is not set then this process requirement is ignored.