Oswald
Oswald

Reputation: 1262

Azure DevOps Server start a scheduled build manually

I'm trying to create a scheduled build. To check my syntax i tried to start the build manually, but got the following message:

Printscreen Error 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?

Upvotes: 1

Views: 438

Answers (1)

Amittai Shapira
Amittai Shapira

Reputation: 3827

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.

Upvotes: 1

Related Questions