You can use the following predefined variables in your job tags:
Variable |
Value |
---|---|
B |
The job number: an integer value that starts at 1 and is incremented with every new job. |
BF_D |
Date, in the format set by the Tag: Date Format system setting. |
BF_J |
Day of the year |
BF_T |
Time, in the format set by the Tag: Time Format system setting. |
BF_W |
Day of the week (a numeric value, from 0 to 6) |
These variables are standard variables populated by the system every time it creates the environment for a step. For example, a tag format value of BUILD_$B.$BF_T produces tags like the following for successive jobs:
BUILD_9.120529
BUILD_10.120533