Registers are general-purpose buffers that steps can use for storing persistent data. Ordinary registers can have single-letter names, or multi-character names that begin with letters.
All register names are stored in uppercase. Although you can create a register named Alpha, it is stored as ALPHA and must be referenced in project steps or in the .pop command as ALPHA.
You can include register variables in notification templates; use the ${X} braced form when referencing registers in notification templates. Referencing an empty register returns an empty string.
Use the .push and .pop dot commands to store information in and retrieve it from registers. See also the .poptag command (.poptag), which makes the current job tag equal the contents of a register.
Register |
Contains |
---|---|
! |
Contains the command output lines that matched Fail filter patterns. |
@ |
Contains the command output lines that matched Pass filter patterns. |
= |
Specifies the notes database for a job. Allows steps to add data from a file as a note to a job. This register is different from the others:
|