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. It is evaluated at execution time, so it cannot be evaluated in the Tag Example on a project start page. Enclose it in { } if you use it. |
BF_J |
Day of the year. It is evaluated at execution time, so it cannot be evaluated in the Tag Example on a project start page. Enclose it in { } if you use it. |
BF_T |
Time, in the format set by the Tag: Time Format system setting. It is evaluated at execution time, so it cannot be evaluated in the Tag Example on a project start page. Enclose it in { } if you use it. |
BF_W |
Day of the week (a numeric value, from 0 to 6). It is evaluated at execution time, so it cannot be evaluated in the Tag Example on a project start page. Enclose it in { } if you use it. |
Examples:
BUILD_$B.${BF_T}
BUILD_$B.${BF_D}.${BF_T}