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,459,367
Community Members
 
Community Events
176
Community Groups

Explicitly set 'on linked repository change'-trigger via YAML specs

Edited

How to explicitly set the 'on linked repository change'-trigger, just like the default? I want to do this in order to combine it with other trigger(s). The default trigger seems to be removed when setting other triggers.

The documentation (https://docs.atlassian.com/bamboo-specs-docs/8.1.1/specs.html?yaml#repository-triggers-a-build-on-commit) seems not to indicate how? Or am I misinterpreting something?

Also see https://jira.atlassian.com/browse/BAM-20932.


1 answer

1 accepted

1 vote
Answer accepted

It's possible by defining few triggers

 

...
triggers: - cron: expression: 0 0 1 ? * * - polling: period: '180'

Thanks for your reply.

I did that as a workaround, but this is based on polling and not a trigger on commit? Or is that what happens by default? I think not because with polling you get the following 'Repository Polling' trigger (when viewing the configuration via GUI):
repo_polling.jpg


And not this `Bitbucket Server repository triggered` trigger:
repo_triggered.jpg

Yes, missed that part when made improvements to Triggers support in YAML Specs.

Will address it shortly, please track https://jira.atlassian.com/browse/BAM-21559 for updates.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events