You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Use conditionals maybe and then use the I below variable to do a check?
bamboo_planRepository_#_name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.