Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Problem retrieving customRevision from Bamboo

Patrick Gibo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2023

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!

1 answer

0 votes
Patrick Gibo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 11, 2023

Should've done more research before posting question. Appears problem is related to the way I'm trying to retrieve the value via CMake.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events