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

Getting commit message of commit that triggered my bamboo build job.

Adrian Soovary
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!
January 28, 2020

Hey dear community,

 

I have a build plan, that is triggered by a new commit from repository A (it's set up using a 'Bitbucket Server repository trigger'). The plan does a source code checkout on ANOTHER linked repository B and conducts multiple update tasks.

However, I only want the plan to run if the commit that was done to repository A and triggered the build was done by a certain user. So far I tried to access this information through the $bamboo.planRepository variables but these refer to repository B where the build is running and not to repository A from where the build was triggered.

Any ideas on this?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events