File match appveyor.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/appveyor-yml/latest.json
Source https://www.schemastore.org/appveyor.json

Validate with Lintel

npx @lintel/lintel check

All of

1. job object

Definitions

possiblySecretString string | number | object
commitFilter object
message string

Regex for matching commit message

format=regex
author string | string

Commit author's username, name, email or regexp matching one of these.

files string[]

Only specific files (glob patterns)

command string | object | object | object | object
envVarHash Record<string, string | number | object>
platform enum
configuration string
imageName enum
image imageName[] | imageName

Build worker image (VM template) -DEV_VERSION

jobScalars object

Build worker image (VM template) -DEV_VERSION

platform platform | platform[]

Build platform, i.e. x86, x64, Any CPU. This setting is optional

configuration configuration | configuration[]

Build Configuration, i.e. Debug, Release, etc.

job object
version string

Version format

branches object

Branches to build

2 nested properties
only string[]

Whitelist

except string[]

Blacklist

skip_tags boolean

Do not build on tags (GitHub and BitBucket)

skip_non_tags boolean

Start builds on tags only (GitHub and BitBucket)

skip_commits object
3 nested properties
message string

Regex for matching commit message

format=regex
author string | string

Commit author's username, name, email or regexp matching one of these.

files string[]

Only specific files (glob patterns)

only_commits object
3 nested properties
message string

Regex for matching commit message

format=regex
author string | string

Commit author's username, name, email or regexp matching one of these.

files string[]

Only specific files (glob patterns)

skip_branch_with_pr boolean

Do not build feature branch with open Pull Requests

max_jobs integer

Maximum number of concurrent jobs for the project

notifications object[]

Build worker image (VM template) -DEV_VERSION

init command[]

Scripts that are called at very beginning, before repo cloning

clone_folder string

Clone directory

shallow_clone boolean

Fetch repository as zip archive

Default: false
clone_depth integer

Set git clone depth

hosts Record<string, string>

Setting up etc\hosts file

environment object | envVarHash

Environment variables

matrix object
3 nested properties
fast_finish boolean

Set this flag to immediately finish build once one of the jobs fails

allow_failures jobScalars[]

This is how to allow failing jobs in the matrix

exclude job[]

Exclude configuration from the matrix. Works similarly to 'allow_failures' but build not even being started for excluded combination.

cache string[]

Build cache to preserve files/folders between builds

services enum[]

Enable service required for build/tests

install command[]

Scripts that run after cloning repository

assembly_info object

Enable patching of AssemblyInfo.* files

5 nested properties
patch boolean
file string
assembly_version string
assembly_file_version string
assembly_informational_version string
nuget object

Automatically register private account and/or project AppVeyor NuGet feeds

3 nested properties
account_feed boolean
project_feed boolean
disable_publish_on_pr boolean

Disable publishing of .nupkg artifacts to account/project feeds for pull request builds

platform platform | platform[]

Build platform, i.e. x86, x64, Any CPU. This setting is optional

configuration configuration | configuration[]

Build Configuration, i.e. Debug, Release, etc.

build boolean | object
before_build command[]

Scripts to run before build

before_package command[]

Scripts to run after solution is built and before automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)

after_build command[]

Scripts to run after build

build_script command[]

To run your custom scripts instead of automatic MSBuild

before_test command[]

Scripts to run before tests

test boolean | object
test_script command[]

To run your custom scripts instead of automatic tests

after_test command[]

Scripts to run after tests

artifacts object[]
before_deploy command[]

Scripts to run before deployment

deploy enum | object[]
deploy_script command[]

To run your custom scripts instead of provider deployments

after_deploy command[]

Scripts to run after deployment

on_success command[]

On successful build

on_failure command[]

On build failure

on_finish command[]

After build failure or success