I know that Bamboo variables from a build plan can be accessed in bash but can i also set them ? I need to set a variable or metadata that would be saved with the build and can be retrieved with REST API afterwards if needed ? Is that possible if so how ?
Only indirectly (and partially), i.e. there is no REST API for management of Bamboo variables - please watch/vote/comment on the following issues to raise awareness for this surprising limitation:
@Mihai Marinescu - yeah, I understand and can feel your pain. Unfortunately I'm not in a position to do anything about this, which is why I referenced the related Atlassian issue.
Of course, depending on how important this is for your use case, you can always develop your own Bamboo add-on to implement a REST endpoint that exposes the desired variables (in case, I'd recommend to support variable namespaces and/or password masking so that you do not expose possibly sensitive information like passwords by default).
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs