Is there any way to find out which user triggered a manual stage in Bamboo? When I look at the Summary for that stage it tells me that the build was triggered by changed code. This was true for the first stage, but not for the manual stage at the end of the build.
Yeah this is something that'd be useful for us.. we use the Atlassian CLI on our agents to do things like "auto-comment" and "promote tasks", etc.. we use Manaul Stages for "Approval" steps... and it'd be nice to have our auto-commenter code say, "This build was approved by _________" and be able to access a variable that was whoever triggered the manual stage
It looks like Bamboo 4.0 has this feature...but it's not working. I triggered a manual build. Another user then triggered a manual stage after all the automatic stages had completed. The Dashboard now says "Manual build by Dave," listing the user who triggered the last manual stage. The build page sometimes says "Trigger: The build was manually triggered from the stage: Deploy by Dave" and sometime says "Trigger: The build was manually triggered from the stage: Deploy by Heather," changing as you click the various stages.
I fixed this with a PreJobAction and the example code from https://answers.atlassian.com/questions/35653/is-it-possible-to-set-bamboo-variables-in-one-stage-via-custom-task-and-retrieve-it-in-a-different-stage -- there really needs to be more flexible and comprehensive documentation on how to set variables in Bamboo.
Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...
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