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

It is possible to get the username, who start a manual stage?

Torsten Stach November 19, 2015

we have some manual  stages. In a task we need the username who start a manual stage.  

3 answers

1 vote
Torsten Stach November 19, 2015

Access not possible

Our Usecase:

Build (automatic trigger)

  • Stage: compile
  • Stage: promoteStage (manual)
    • Task promoteTask

The value bamboo.ManualBuildTriggerReason.userName is set after run the manual stage promoteStage. The value is set in the metadata from the build but not in the metadata from promoteStage. I don't have access to the value in the promoteTask. I tried to get access with the environment from promoteTask and with configuration the promoteTask environment with ManUserName=${bamboo.ManualBuildTriggerReason.username}


example.png

 

Result:

ManUserName=${bamboo.ManualBuildTriggerReason.userName}

Value is not replaced

0 votes
Torsten Stach November 19, 2015

Thank you for the fast answer.

Is the user who start a deployment to an evironment also available?

rverschoor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2015

That'll be the same bamboo.ManualBuildTriggerReason.userName variable.

0 votes
rverschoor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2015

This is available in bamboo.ManualBuildTriggerReason.userName

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events