Bitbucket pipeline has the following Variables Listed Here
https://confluence.atlassian.com/bitbucket/variables-in-pipelines-794502608.html
I am not seeing any variables to understand the user activity.
Can you guys please tell if it is possible to know who triggered a pipeline, it will also be greatly helpful to know the linked JIRA story of this pipeline. Is there a way to know these things in the runtime ( i.e. when the pipeline is executing )
When i integrate bitbucket with slack i can see that these things are coming in the slack notification, however i donot know how can i access these from the pipeline.
thank you
Hi Pawel,
As you noted, there is currently no environment variable to indicate which user triggered a pipeline.
We have an open feature request to add this as an environment variable: https://bitbucket.org/site/master/issues/14006/environment-variable-for-user-who
For the time being, you could perhaps look at the author of the most recent commit to determine a user to send a notification to.
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.