Hey, I have a pipeline setup with the following trigger-
trigger: event: include: - push - cron exclude: - promote - rollback - pull_request cron: - nightly-build branch: - branch-name
While my cron job is triggering this, the pipeline does not trigger in case of a code push.
If I remove the cron trigger, as so-
trigger: event: include: - push - cron exclude: - promote - rollback - pull_request branch: - branch-name
This trigger works for both push and cron events, but I loose the functionality to filter the cron triggering this.
I am assuming this is because the cron trigger is evaluating to false for push event, therefore blocking the trigger.
However, quoting the documentation
The cron trigger limits step execution based on the cron name that triggered the pipeline. This only applies to cron events.
The above statement leads me to think this is a bug.
I have my drone running on the drone/drone:1.9.0 image.