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

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

David Shapiro March 2, 2021

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
AUG Leaders

Atlassian Community Events