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

Bamboo yaml specs - polling via cron expression

Aske Jenstrup Olsson May 18, 2020

Hi,

 

How do I configure my yaml spec to do cron based polling? Form the reference it seems to be:

---
version: 2
triggers:
  - cron: 0 0 0 ? * *

 

However this configures cron based scheduling, which in the documentation also is configured as:

---
version: 2

#short syntax
triggers:
  - cron: 0 * * * ? *
---
version: 2

#long syntax
triggers:
  - cron:
      expression: 0 0 * * ? *

 

 

Regards,

 

1 answer

1 accepted

0 votes
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2020

It's a bug in documentation. YAML Specs doesn't support cron expression for polling trigger. Created https://jira.atlassian.com/browse/BAM-20953 to track it

Aske Jenstrup Olsson May 22, 2020

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events