You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am looking for a way to get the username of the user running the bamboo deployment and also a variable that would allow me to have the deployment log.
It appears that for our windows bamboo servers username is set by default to SYSTEM, and set shows just SYSTEM's environment. Windows 2008+ seems to have USERNAME set to SYSTEM in environments. Trying to use ${systems.username} also returns SYSTEM.
We are trying to avoid setting a bamboo custom variable for every one of our bamboo projects/deployments. After all, we want to know who ran the deployment.
The 2nd part was if we have a failure, we want the task to create a ticket saying deployment failed and why. The easiest thing would be to pass in the deployment log (how long do logs stick around by they way?).