You can set the value of a tag to a completely new value during
the job by using the .retag command, which has the following syntax:
.retag <new tag value>
Here
is an example of simple usage:
.retag MyProject
More
complex usage is possible:
.retag Job_${B}_${BF_D}
This
example sets the tag to use the run increment and current date system
variables. You can use a command to the server's command interpreter
to set the result. To use a command within the dot command, enclose
the command in backtick or backquote (ˋ ˋ) characters:
.retag `hostname`
This
example sets the tag to the result of running a hostname command on
the server running the step.
Note: Do not mix the backtick form and
the standard assignment form of the command.