How can use $BF_PROJECTNAME in the build tag?
2 answers
Hi
I set project build tag as follows but it's not working, any idea?
${BF_PROJECTNAME}_Build_$B became BF_PROJECTNAME_Build_1. I tried adding another $, still not working.
Thanks
Jirong
Hi Jirong,
Due to the hierarchy of variable resolution, the BF_PROJECTNAME is not available at the time the tag is created. The available system defined variables for use in
the tag are B, BF_D, BF_ENGINE, BF_J, BF_T, and BF_W. For more information check the docs trail: Working with projects -> Defining Tags -> System-defined variables for tags.
There is another option though. You can use the .retag dot command. If you add the following statements to an existing or new step, you will rename the tag and BF_PROJECTNAME is available.
.retag ${BF_PROJECTNAME}_BUILD_$B
bju