Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

David Shapiro
Contributor
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
TAGS
atlassian, out of office, loom, confluence, async collaboration, meeting recaps, remote teamwork, team alignment, knowledge sharing, AI-powered notes, productivity tools, workforce continuity, teamwork collection

Put your meeting notes on autopilot with Loom + Confluence

AI-powered meeting notes keep work moving even if you’re out of the office. Enjoy your well-deserved time off and return refreshed, confident you’ll catch up in no time.

Learn more
AUG Leaders

Atlassian Community Events