Normally, our builds are started via a TagTrigger in the PlanSpec.java. We can then get the Tag name in CMakeLists.txt using $ENV{bamboo_TagBuildTriggerReason_tagName}, then use that to construct the name of the generated Artifact.
There are some instances where we'd like to perform the same using Customized builds. I see the 'customRevision' variable and value getting set in the log, but when I try to retrieve the value using $ENV{bamboo_customRevision} nothing gets returned.
Is there a different way to retrieve this variable? I'm on v 8.1.9
Appreciate any help!
Community moderators have prevented the ability to post new answers.
Should've done more research before posting question. Appears problem is related to the way I'm trying to retrieve the value via CMake.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.