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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,539
Community Members
 
Community Events
176
Community Groups

How to make a commit with bamboo-specs/bamboo.yml

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?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events