Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,220
Community Members
 
Community Events
168
Community Groups

How to determine who ran the bamboo deployment and how to send a link to the log

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?). 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

307 views 0 7
Read article

Atlassian Community Events