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.
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):
And not this `Bitbucket Server repository triggered` trigger:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.