Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Identifying which repository was updated in Trigger

Edited

Hello,

 

I have a bamboo plan that contains around 20 different repositories.  

I have configured a trigger to monitor all of those repositories and kick off the Job if it detects any changes to the master branch on any of those repositories.

Inside of the job, I was hoping there was a way for me to identify which repository was changed, as I want to pass that as a value to my script that runs.

The only option I see for this in the documentation is calling a variable like - 

${bamboo.planRepository.<position>.name}

 

Unfortunately, since the trigger monitors 20 repositories, this isnt helpful since I wont know what the position of the repo that was updated was (since it could be any one of them).

Is there another way to get the name of the repository that had an update pushed to it when it is in a list other repos in the same trigger?

 

Thanks.

1 answer

Use conditionals maybe and then use the I below variable to do a check?

bamboo_planRepository_#_name

  

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

156 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you