I'm trying to create a scheduled build. To check my syntax i tried to start the build manually, but got the following message:
My yaml file looks as follows:
name: $(Build.DefinitionName)_$(build.buildId)
trigger: none
schedules:
- cron: "0 2 * * Mon-Fri"
displayName: M-F 3:00 AM
branches:
include:
- master
Anybody a suggestion? Or is it simply impossible to start a scheduled build manually?
The problem is that YAML Scheduled Triggers are not supported in Azure DevOps Server 2019, only in Azure DevOps Service, see the official documentation:
Scheduled builds are not yet supported in YAML syntax. After you create your YAML build pipeline, you can use pipeline settings to specify a scheduled trigger.