Access not possible
Our Usecase:
Build (automatic trigger)
compile
promoteStage
(manual)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
Thank you for the fast answer.
Is the user who start a deployment to an evironment also available?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That'll be the same bamboo.ManualBuildTriggerReason.userName variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is available in bamboo.ManualBuildTriggerReason.userName
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.