Forums

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

is the Bitbucket Pipeline Variables list exhaustive?

Yeasin Ar Rahman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 18, 2019

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

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events