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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.