Reputation: 55
I'm trying to create a pipeline in Azure DevOps that would trigger every month regardless if there are changes on the git branches. This is what I have, but it's not executing.
trigger: none
# YAML file in the main branch
schedules:
- cron: "0 0 1 * *"
displayName: Monthly build
branches:
include:
- master
- development
always: true
Upvotes: 0
Views: 1334
Reputation: 40543
You expression should be like 0 0 1 */1 *
which means At 00:00 on day-of-month 1 in every month.
. Please check this expression on cron guru.
trigger: none
# YAML file in the main branch
schedules:
- cron: "0 0 1 */1 *"
displayName: Monthly build
branches:
include:
- master
- development
always: true
Upvotes: 1