The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo yaml specs - polling via cron expression

Aske Jenstrup Olsson
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
Contributor
May 22, 2020

Thanks

TAGS
AUG Leaders

Atlassian Community Events