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.
Hi,
I am developing a plan with bamboo-specs with a yaml file I want to make a commit to a repository (That is not the default repository).
So I am doing something like this:
tasks:
- any-task:
description: Commit
plugin-key: com.atlassian.bamboo.plugins.vcs:task.vcs.commit
configuration:
commitMessage: ${bamboo.buildResultKey}
selectedRepository: my-repo
So if I put like this bamboo tells me that selectedRepository must be a number, I cannot call them like the name I defined.
If I put like the id that I found on the previous bamboo.yml uploaded
selectedRepository: '41058518'
When I uploaded it, for the job the repo Id changed so I cannot define the proper ID for the plan.
So I cannot call it by name, and I cannot put by a number because it changes.
Can I make the commit?