Discover modules > cue.dev/x/azurepipelines
v0.4.0
#Pipeline: ¶

Pipeline schema

A pipeline definition

#any: matchN(>=1, [string, [...#any], {...}]) ¶
#any_allowExpressions: matchN(>=1, [string, [...#any], {...}]) ¶
#boolean: matchN(>=1, [=~"^true$", =~"^y$", =~"^yes$", =~"^on$", =~"^false$", =~"^n$", =~"^no$", =~"^off$"]) ¶
#branchFilter: =~"^[^\\/~\\^\\: \\[\\]\\\\]+(\\/[^\\/~\\^\\: \\[\\]\\\\]+)*$" ¶

branch name or prefix filter

#branchFilterArray: [...#branchFilter] ¶
[...]: #branchFilter
#buildResource: ¶
"build"!: #referenceName ¶
"type"!: #nonEmptyString ¶
"connection"!: #nonEmptyString ¶
"source"!: #nonEmptyString ¶
"version"?: #string_allowExpressions ¶
"branch"?: #string_allowExpressions ¶
"trigger"?: #buildResourceTrigger ¶
#buildResourceTrigger: matchN(>=1, [=~"^none$", =~"^true$"]) ¶
#buildResources: [...#buildResource] ¶
[...]: #buildResource
"build"!: #referenceName
"type"!: #nonEmptyString
"connection"!: #nonEmptyString
"source"!: #nonEmptyString
"version"?: #string_allowExpressions
"branch"?: #string_allowExpressions
"trigger"?: #buildResourceTrigger
#canaryDeploymentIncrements: [...#nonEmptyString] ¶
[...]: #nonEmptyString
#canaryDeploymentStrategy: ¶
"increments"?: #canaryDeploymentIncrements ¶
"preDeploy"?: #preDeployHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"deploy"?: #deployHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"routeTraffic"?: #routeTrafficHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"postRouteTraffic"?: #postRouteTrafficHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"on"?: #onSuccessOrFailureHook ¶
"failure"?: #onFailureHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"success"?: #onSuccessHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#check: ¶
"type"?: #checkType ¶
#checkType: =~"^productionReadinessPolicy$" ¶

Production readiness check

#checks: [...#check] ¶
[...]: #check
"type"?: #checkType
#containerArtifactType: matchN(>=1, [=~"^ACR$", string]) ¶
#containerBase: ¶
"endpoint"?: #string_allowExpressions ¶
"env"?: #mappingOfStringString ¶
"image"!: #string ¶
"mapDockerSocket"?: #boolean ¶
"options"?: #string_allowExpressions ¶
"ports"?: #sequenceOfString_allowExpressions ¶
"volumes"?: #sequenceOfString_allowExpressions ¶
"mountReadOnly"?: #readOnlyMounts ¶
"work"?: #boolean ¶
"externals"?: #boolean ¶
"tools"?: #boolean ¶
"tasks"?: #boolean ¶
#containerResource: ¶
"container"!: #referenceName ¶
"type"?: #containerArtifactType ¶
"trigger"?: #containerResourceTrigger ¶
"azureSubscription"?: #nonEmptyString ¶
"resourceGroup"?: #nonEmptyString ¶
"registry"?: #nonEmptyString ¶
"repository"?: #nonEmptyString ¶
"localImage"?: #boolean ¶
"endpoint"?: #string_allowExpressions ¶
"env"?: #mappingOfStringString ¶
"image"!: #string ¶
"mapDockerSocket"?: #boolean ¶
"options"?: #string_allowExpressions ¶
"ports"?: #sequenceOfString_allowExpressions ¶
"volumes"?: #sequenceOfString_allowExpressions ¶
"mountReadOnly"?: #readOnlyMounts ¶
"work"?: #boolean ¶
"externals"?: #boolean ¶
"tools"?: #boolean ¶
"tasks"?: #boolean ¶
#containerResourceTrigger: matchN(>=1, [=~"^none$", =~"^true$", close({"enabled"?: #boolean, "tags"?: #includeExcludeStringFilters})]) ¶
#containerResources: [...#containerResource] ¶
[...]: #containerResource
#deployHook: ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#deploymentEnvironment:
click to see definition
matchN(>=1, [
	string,
	close({
		"name"?:         #nonEmptyString
		"resourceName"?: #nonEmptyString
		"resourceId"?:   #nonEmptyString
		"resourceType"?: #nonEmptyString
		"tags"?:         #nonEmptyString
	}),
])
¶

Environment details

#deploymentStrategy:
click to see definition
matchN(>=1, [close(
	{"runOnce"?: #runOnceDeploymentStrategy},
), close(
	{"rolling"?: #rollingDeploymentStrategy},
), close(
	{"canary"?: #canaryDeploymentStrategy},
)])
¶
#explicitResources: ¶
"repositories"?: #sequenceOfNonEmptyString ¶
"pools"?: #sequenceOfNonEmptyString ¶
#extends: ¶
"template"?: #nonEmptyString ¶
"parameters"?: #mapping ¶
#extendsParameters: [...#templateParameter] ¶
[...]: #templateParameter
"name"?: #nonEmptyString
"displayName"?: #string
"type"?: #templateParameterType
"default"?: #any
"values"?: #sequenceOfNonEmptyString
#extendsTemplate:
click to see definition
matchN(>=1, [close({
	"stages"?:     #stages
	"trigger"?:    #trigger
	"resources"?:  #resources
	"parameters"?: #extendsParameters
	"variables"?:  #variables
}), close({
	"jobs"?:       #jobs
	"trigger"?:    #trigger
	"resources"?:  #resources
	"parameters"?: #extendsParameters
	"variables"?:  #variables
}), close({
	"steps"?:      #steps
	"trigger"?:    #trigger
	"resources"?:  #resources
	"parameters"?: #extendsParameters
	"variables"?:  #variables
}), close({
	"trigger"?:    #trigger
	"resources"?:  #resources
	"parameters"?: #extendsParameters
	"extends"?:    #extends
})])
¶
#extendsTemplateBase: ¶
"trigger"?: #trigger ¶
"resources"?: #resources ¶
"parameters"?: #extendsParameters ¶
"variables"?: #variables ¶
#includeExcludeFilters: ¶
"include"?: #branchFilterArray ¶
"exclude"?: #branchFilterArray ¶
#includeExcludeStringFilters:
click to see definition
matchN(>=1, [[
	...#nonEmptyString
], close({
	"include"?: #sequenceOfNonEmptyString
	"exclude"?: #sequenceOfNonEmptyString
})])
¶
#job:
click to see definition
matchN(>=1, [close({
	"job"?:                    #referenceName
	"displayName"?:            #string
	"dependsOn"?:              #jobDependsOn
	"condition"?:              #string
	"continueOnError"?:        #jobContinueOnError
	"timeoutInMinutes"?:       #nonEmptyString
	"cancelTimeoutInMinutes"?: #nonEmptyString
	"variables"?:              #variables
	"strategy"?:               #jobStrategy
	"pool"?:                   #pool
	"container"?:              #jobContainer
	"services"?:               #jobServices
	"workspace"?:              #jobWorkspace
	"uses"?:                   #explicitResources
	"steps"?:                  #steps
	"templateContext"?:        #templateContext
}), close({
	"deployment"?:             #string
	"displayName"?:            #string
	"dependsOn"?:              #jobDependsOn
	"condition"?:              #string
	"continueOnError"?:        #jobContinueOnError
	"timeoutInMinutes"?:       #nonEmptyString
	"cancelTimeoutInMinutes"?: #nonEmptyString
	"variables"?:              #variables
	"pool"?:                   #pool
	"environment"?:            #deploymentEnvironment
	"strategy"?:               #deploymentStrategy
	"workspace"?:              #jobWorkspace
	"uses"?:                   #explicitResources
	"container"?:              #jobContainer
	"services"?:               #jobServices
	"templateContext"?:        #templateContext
}), close({
	"template"?:   #nonEmptyString
	"parameters"?: #mapping
})])
¶
#jobContainer:
click to see definition
matchN(>=1, [
	string,
	close({"alias"?: #string}), {
		"endpoint"?:        #string_allowExpressions
		"env"?:             #mappingOfStringString
		"image"!:           #string
		"mapDockerSocket"?: #boolean
		"options"?:         #string_allowExpressions
		"ports"?:           #sequenceOfString_allowExpressions
		"volumes"?:         #sequenceOfString_allowExpressions
		"mountReadOnly"?:   #readOnlyMounts
		...
	},
])
¶
#jobContinueOnError: string ¶
#jobDecoratorSteps: ¶
"steps"?: #tasks ¶
#jobDependsOn: matchN(>=1, [string, [...#string]]) ¶
#jobMatrix: matchN(>=1, [struct.MinFields(1) & {{[=~"^[A-Za-z0-9_]+$"]: #matrixProperties}, ...}, string]) ¶
#jobServices: {...} ¶
#jobStrategy: matchN(>=1, [close({"matrix"?: #jobMatrix, "maxParallel"?: #nonEmptyString}), close({"parallel"?: #nonEmptyString})]) ¶
#jobWorkspace: ¶
"clean"?: #string ¶
#jobs: [...#job] ¶
[...]: #job
#jobsTemplate:
click to see definition
matchN(>=1, [close({
	"parameters"?: #templateParameters
	"jobs"?:       #jobs
}), close({
	"parameters"?: #templateParameters
	"phases"?:     #phases
})])
¶
#legacyRepoResourceAlias: =~"^self$" ¶
#legacyResource: ¶
"repo"?: #legacyRepoResourceAlias ¶
"clean"?: #string ¶
"fetchDepth"?: #string ¶
"lfs"?: #string ¶
#lockBehavior: matchN(>=1, [=~"^sequential$", =~"^runLatest$"]) ¶
#mapping: {...} ¶
#mappingOfStringString: {...} ¶
#matrixProperties: {...} ¶

Variable-value pair to pass in this matrix instance

#nonEmptyString: string ¶
#onFailureHook: ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#onSuccessHook: ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#onSuccessOrFailureHook: ¶
"failure"?: #onFailureHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"success"?: #onSuccessHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#packageResource: ¶
"package"!: #referenceName ¶
"type"!: #nonEmptyString ¶
"connection"!: #nonEmptyString ¶
"name"!: #nonEmptyString ¶
"version"?: #string_allowExpressions ¶
"tag"?: #string_allowExpressions ¶
"trigger"?: #packageResourceTrigger ¶
#packageResourceTrigger: matchN(>=1, [=~"^none$", =~"^true$"]) ¶
#packageResources: [...#packageResource] ¶
[...]: #packageResource
"package"!: #referenceName
"type"!: #nonEmptyString
"connection"!: #nonEmptyString
"name"!: #nonEmptyString
"version"?: #string_allowExpressions
"tag"?: #string_allowExpressions
"trigger"?: #packageResourceTrigger
#parametersTemplate:
click to see definition
matchN(>=1, [close({
	"parameters"?: #templateParameters
	"steps"!:      #steps
}), close({
	"parameters"?: #templateParameters
	"jobs"?:       #jobs
}), close({
	"parameters"?: #templateParameters
	"stages"?:     #stages
}), close({
	"resources"?:  #resources
	"parameters"?: #templateParameters
	"extends"!:    #extends
})])
¶
#phase:
click to see definition
matchN(>=1, [close({
	"phase"?:           #referenceName
	"dependsOn"?:       #jobDependsOn
	"displayName"?:     #string
	"condition"?:       #string
	"continueOnError"?: #jobContinueOnError
	"queue"?:           #phaseQueueTarget
	"variables"?:       #variables
	"steps"?:           #steps
}), close({
	"phase"?:           #referenceName
	"dependsOn"?:       #jobDependsOn
	"displayName"?:     #string
	"condition"?:       #string
	"continueOnError"?: #jobContinueOnError
	"server"?:          #phaseServerTarget
	"variables"?:       #variables
	"steps"?:           #steps
}), close({
	"template"?:   #nonEmptyString
	"parameters"?: #mapping
})])
¶
#phaseQueueTarget:
click to see definition
matchN(>=1, [
	string,
	close({
		"cancelTimeoutInMinutes"?: #nonEmptyString
		"container"?:              #nonEmptyString
		"demands"?:                #phaseTargetDemands
		"matrix"?:                 #phaseTargetMatrix
		"name"?:                   #string
		"parallel"?:               #nonEmptyString
		"timeoutInMinutes"?:       #nonEmptyString
		"workspace"?:              #phaseTargetWorkspace
	}),
])
¶

Queue details

#phaseServerTarget:
click to see definition
matchN(>=1, [
	string,
	close({
		"cancelTimeoutInMinutes"?: #nonEmptyString
		"matrix"?:                 #phaseTargetMatrix
		"parallel"?:               #nonEmptyString
		"timeoutInMinutes"?:       #nonEmptyString
	}),
])
¶
#phaseTargetDemands: matchN(>=1, [string, [...#nonEmptyString]]) ¶
#phaseTargetMatrix: matchN(>=1, [{...}, string]) & (string | struct.MinFields(1) & {{[=~"^[A-Za-z0-9_]+$"]: #matrixProperties}, ...}) ¶

List of permutations of variable values to run

[=~"^[A-Za-z0-9_]+$"]: #matrixProperties ¶
#phaseTargetWorkspace: ¶
"clean"?: #string ¶
#phases: [...#phase] ¶
[...]: #phase
#pipeline:
click to see definition
matchN(>=1, [close({
	"stages"!:                       #stages
	"pool"?:                         #pool
	"name"?:                         #string_allowExpressions
	"appendCommitMessageToRunName"?: #boolean
	"trigger"?:                      #trigger
	"parameters"?:                   #pipelineTemplateParameters
	"pr"?:                           #pr
	"schedules"?:                    #schedules
	"resources"?:                    #resources
	"variables"?:                    #variables
	"lockBehavior"?:                 #lockBehavior
}), close({
	"extends"!:                      #extends
	"pool"?:                         #pool
	"name"?:                         #string_allowExpressions
	"appendCommitMessageToRunName"?: #boolean
	"trigger"?:                      #trigger
	"parameters"?:                   #pipelineTemplateParameters
	"pr"?:                           #pr
	"schedules"?:                    #schedules
	"resources"?:                    #resources
	"variables"?:                    #variables
	"lockBehavior"?:                 #lockBehavior
}), close({
	"jobs"!:                         #jobs
	"pool"?:                         #pool
	"name"?:                         #string_allowExpressions
	"appendCommitMessageToRunName"?: #boolean
	"trigger"?:                      #trigger
	"parameters"?:                   #pipelineTemplateParameters
	"pr"?:                           #pr
	"schedules"?:                    #schedules
	"resources"?:                    #resources
	"variables"?:                    #variables
	"lockBehavior"?:                 #lockBehavior
}), close({
	"phases"!:                       #phases
	"name"?:                         #string_allowExpressions
	"appendCommitMessageToRunName"?: #boolean
	"trigger"?:                      #trigger
	"parameters"?:                   #pipelineTemplateParameters
	"pr"?:                           #pr
	"schedules"?:                    #schedules
	"resources"?:                    #resources
	"variables"?:                    #variables
	"lockBehavior"?:                 #lockBehavior
}), close({
	"strategy"?:                     #jobStrategy
	"continueOnError"?:              #jobContinueOnError
	"pool"?:                         #pool
	"container"?:                    #jobContainer
	"services"?:                     #jobServices
	"workspace"?:                    #jobWorkspace
	"steps"!:                        #steps
	"name"?:                         #string_allowExpressions
	"appendCommitMessageToRunName"?: #boolean
	"trigger"?:                      #trigger
	"parameters"?:                   #pipelineTemplateParameters
	"pr"?:                           #pr
	"schedules"?:                    #schedules
	"resources"?:                    #resources
	"variables"?:                    #variables
	"lockBehavior"?:                 #lockBehavior
}), close({
	"continueOnError"?:              #jobContinueOnError
	"queue"?:                        #phaseQueueTarget
	"steps"!:                        #steps
	"name"?:                         #string_allowExpressions
	"appendCommitMessageToRunName"?: #boolean
	"trigger"?:                      #trigger
	"parameters"?:                   #pipelineTemplateParameters
	"pr"?:                           #pr
	"schedules"?:                    #schedules
	"resources"?:                    #resources
	"variables"?:                    #variables
	"lockBehavior"?:                 #lockBehavior
}), close({
	"continueOnError"?:              #jobContinueOnError
	"server"?:                       #phaseServerTarget
	"steps"!:                        #steps
	"name"?:                         #string_allowExpressions
	"appendCommitMessageToRunName"?: #boolean
	"trigger"?:                      #trigger
	"parameters"?:                   #pipelineTemplateParameters
	"pr"?:                           #pr
	"schedules"?:                    #schedules
	"resources"?:                    #resources
	"variables"?:                    #variables
	"lockBehavior"?:                 #lockBehavior
})])
¶
#pipelineAnyBase: ¶
"name"?: #any_allowExpressions ¶
"appendCommitMessageToRunName"?: #any_allowExpressions ¶
"trigger"?: #any_allowExpressions ¶
"parameters"?: #any_allowExpressions ¶
"pr"?: #any_allowExpressions ¶
"schedules"?: #any_allowExpressions ¶
"resources"?: #any_allowExpressions ¶
"variables"?: #any_allowExpressions ¶
"stages"?: #any_allowExpressions ¶
"jobs"?: #any_allowExpressions ¶
"extends"?: #any_allowExpressions ¶
"phases"?: #any_allowExpressions ¶
"strategy"?: #any_allowExpressions ¶
"continueOnError"?: #any_allowExpressions ¶
"pool"?: #any_allowExpressions ¶
"container"?: #any_allowExpressions ¶
"services"?: #any_allowExpressions ¶
"workspace"?: #any_allowExpressions ¶
"steps"?: #any_allowExpressions ¶
"queue"?: #any_allowExpressions ¶
"server"?: #any_allowExpressions ¶
"lockBehavior"?: #lockBehavior ¶
#pipelineBase: ¶
"name"?: #string_allowExpressions ¶
"appendCommitMessageToRunName"?: #boolean ¶
"trigger"?: #trigger ¶
"parameters"?: #pipelineTemplateParameters ¶
"pr"?: #pr ¶
"schedules"?: #schedules ¶
"resources"?: #resources ¶
"variables"?: #variables ¶
"lockBehavior"?: #lockBehavior ¶
#pipelinePR: ¶
"pr"?: #pr ¶
"name"?: #any_allowExpressions ¶
"appendCommitMessageToRunName"?: #any_allowExpressions ¶
"trigger"?: #any_allowExpressions ¶
"parameters"?: #any_allowExpressions ¶
"schedules"?: #any_allowExpressions ¶
"resources"?: #any_allowExpressions ¶
"variables"?: #any_allowExpressions ¶
"stages"?: #any_allowExpressions ¶
"jobs"?: #any_allowExpressions ¶
"extends"?: #any_allowExpressions ¶
"phases"?: #any_allowExpressions ¶
"strategy"?: #any_allowExpressions ¶
"continueOnError"?: #any_allowExpressions ¶
"pool"?: #any_allowExpressions ¶
"container"?: #any_allowExpressions ¶
"services"?: #any_allowExpressions ¶
"workspace"?: #any_allowExpressions ¶
"steps"?: #any_allowExpressions ¶
"queue"?: #any_allowExpressions ¶
"server"?: #any_allowExpressions ¶
"lockBehavior"?: #lockBehavior ¶
#pipelineParameters: ¶
"parameters"?: #pipelineTemplateParameters ¶
"name"?: #any_allowExpressions ¶
"appendCommitMessageToRunName"?: #any_allowExpressions ¶
"trigger"?: #any_allowExpressions ¶
"pr"?: #any_allowExpressions ¶
"schedules"?: #any_allowExpressions ¶
"resources"?: #any_allowExpressions ¶
"variables"?: #any_allowExpressions ¶
"stages"?: #any_allowExpressions ¶
"jobs"?: #any_allowExpressions ¶
"extends"?: #any_allowExpressions ¶
"phases"?: #any_allowExpressions ¶
"strategy"?: #any_allowExpressions ¶
"continueOnError"?: #any_allowExpressions ¶
"pool"?: #any_allowExpressions ¶
"container"?: #any_allowExpressions ¶
"services"?: #any_allowExpressions ¶
"workspace"?: #any_allowExpressions ¶
"steps"?: #any_allowExpressions ¶
"queue"?: #any_allowExpressions ¶
"server"?: #any_allowExpressions ¶
"lockBehavior"?: #lockBehavior ¶
#pipelineResource: ¶
"pipeline"!: #referenceName ¶
"project"?: #nonEmptyString ¶
"source"?: #nonEmptyString ¶
"version"?: #string_allowExpressions ¶
"branch"?: #string_allowExpressions ¶
"tags"?: #sequenceOfNonEmptyString ¶
"trigger"?: #pipelineResourceTrigger ¶
#pipelineResourceTrigger:
click to see definition
matchN(>=1, [
	=~"^none$",
	=~"^true$",
	close({
		"enabled"?:  #boolean
		"branches"?: #triggerBranchFilter
		"stages"?:   #sequenceOfNonEmptyString
		"tags"?:     #sequenceOfNonEmptyString
	}),
])
¶
#pipelineResources: [...#pipelineResource] ¶
[...]: #pipelineResource
"pipeline"!: #referenceName
"project"?: #nonEmptyString
"source"?: #nonEmptyString
"version"?: #string_allowExpressions
"branch"?: #string_allowExpressions
"tags"?: #sequenceOfNonEmptyString
"trigger"?: #pipelineResourceTrigger
#pipelineSchedules: ¶
"schedules"?: #schedules ¶
"name"?: #any_allowExpressions ¶
"appendCommitMessageToRunName"?: #any_allowExpressions ¶
"trigger"?: #any_allowExpressions ¶
"parameters"?: #any_allowExpressions ¶
"pr"?: #any_allowExpressions ¶
"resources"?: #any_allowExpressions ¶
"variables"?: #any_allowExpressions ¶
"stages"?: #any_allowExpressions ¶
"jobs"?: #any_allowExpressions ¶
"extends"?: #any_allowExpressions ¶
"phases"?: #any_allowExpressions ¶
"strategy"?: #any_allowExpressions ¶
"continueOnError"?: #any_allowExpressions ¶
"pool"?: #any_allowExpressions ¶
"container"?: #any_allowExpressions ¶
"services"?: #any_allowExpressions ¶
"workspace"?: #any_allowExpressions ¶
"steps"?: #any_allowExpressions ¶
"queue"?: #any_allowExpressions ¶
"server"?: #any_allowExpressions ¶
"lockBehavior"?: #lockBehavior ¶
#pipelineTemplateParameter: ¶
"name"?: #nonEmptyString ¶
"displayName"?: #string ¶
"type"?: #pipelineTemplateParameterType ¶
"default"?: #any ¶
"values"?: #sequenceOfNonEmptyString ¶
#pipelineTemplateParameterType:
click to see definition
matchN(>=1, [
	=~"^boolean$",
	=~"^container$",
	=~"^containerList$",
	=~"^deployment$",
	=~"^deploymentList$",
	=~"^environment$",
	=~"^filePath$",
	=~"^job$",
	=~"^jobList$",
	=~"^number$",
	=~"^object$",
	=~"^pool$",
	=~"^secureFile$",
	=~"^serviceConnection$",
	=~"^stage$",
	=~"^stageList$",
	=~"^step$",
	=~"^stepList$",
	=~"^string$",
	=~"^stringList$",
])
¶
#pipelineTemplateParameters: [...#pipelineTemplateParameter] ¶
[...]: #pipelineTemplateParameter
"name"?: #nonEmptyString
"displayName"?: #string
"type"?: #pipelineTemplateParameterType
"default"?: #any
"values"?: #sequenceOfNonEmptyString
#pipelineTrigger: ¶
"trigger"?: #trigger ¶
"name"?: #any_allowExpressions ¶
"appendCommitMessageToRunName"?: #any_allowExpressions ¶
"parameters"?: #any_allowExpressions ¶
"pr"?: #any_allowExpressions ¶
"schedules"?: #any_allowExpressions ¶
"resources"?: #any_allowExpressions ¶
"variables"?: #any_allowExpressions ¶
"stages"?: #any_allowExpressions ¶
"jobs"?: #any_allowExpressions ¶
"extends"?: #any_allowExpressions ¶
"phases"?: #any_allowExpressions ¶
"strategy"?: #any_allowExpressions ¶
"continueOnError"?: #any_allowExpressions ¶
"pool"?: #any_allowExpressions ¶
"container"?: #any_allowExpressions ¶
"services"?: #any_allowExpressions ¶
"workspace"?: #any_allowExpressions ¶
"steps"?: #any_allowExpressions ¶
"queue"?: #any_allowExpressions ¶
"server"?: #any_allowExpressions ¶
"lockBehavior"?: #lockBehavior ¶
#pool: matchN(>=1, [string, {"name"?: #nonEmptyString, "demands"?: #poolDemands, "vmImage"?: #nonEmptyString, ...}]) ¶

Pool details

#poolDemands: matchN(>=1, [string, [...#nonEmptyString]]) ¶
#postRouteTrafficHook: ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#pr:
click to see definition
matchN(>=1, [
	=~"^none$",
	[...#branchFilter], close({
		"autoCancel"?: #boolean
		"branches"?:   #includeExcludeFilters
		"paths"?:      #includeExcludeFilters
		"drafts"?:     #boolean
	}),
])
¶
#preDeployHook: ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#readOnlyMounts: ¶
"work"?: #boolean ¶
"externals"?: #boolean ¶
"tools"?: #boolean ¶
"tasks"?: #boolean ¶
#referenceName: =~"^[-_A-Za-z0-9]*$" ¶
#repositoryCheckoutOptions: ¶
"clean"?: #string ¶
"fetchDepth"?: #string ¶
"fetchTags"?: #string ¶
"lfs"?: #string ¶
"submodules"?: #string ¶
"persistCredentials"?: #string ¶
#repositoryResource: ¶
"repository"!: #referenceName ¶
"endpoint"?: #nonEmptyString ¶
"trigger"?: #trigger ¶
"checkoutOptions"?: #repositoryCheckoutOptions ¶
"clean"?: #string ¶
"fetchDepth"?: #string ¶
"fetchTags"?: #string ¶
"lfs"?: #string ¶
"submodules"?: #string ¶
"persistCredentials"?: #string ¶
"name"?: #nonEmptyString ¶
"ref"?: #string_allowExpressions ¶
"type"?: #string ¶
#repositoryResources: [...#repositoryResource] ¶
[...]: #repositoryResource
#resources:
click to see definition
matchN(>=1, [close({
	"builds"?:       #buildResources
	"containers"?:   #containerResources
	"pipelines"?:    #pipelineResources
	"repositories"?: #repositoryResources
	"webhooks"?:     #webhookResources
	"packages"?:     #packageResources
}), [
	...#legacyResource
]])
¶
#rollingDeploymentStrategy: ¶
"maxParallel"?: #nonEmptyString ¶
"preDeploy"?: #preDeployHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"deploy"?: #deployHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"routeTraffic"?: #routeTrafficHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"postRouteTraffic"?: #postRouteTrafficHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"on"?: #onSuccessOrFailureHook ¶
"failure"?: #onFailureHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"success"?: #onSuccessHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#routeTrafficHook: ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#runOnceDeploymentStrategy: ¶
"preDeploy"?: #preDeployHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"deploy"?: #deployHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"routeTraffic"?: #routeTrafficHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"postRouteTraffic"?: #postRouteTrafficHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"on"?: #onSuccessOrFailureHook ¶
"failure"?: #onFailureHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
"success"?: #onSuccessHook ¶
"steps"?: #steps ¶
"pool"?: #pool ¶
#schedule: ¶
"cron"?: #nonEmptyString ¶
"displayName"?: #string ¶
"branches"?: #includeExcludeFilters ¶
"include"?: #branchFilterArray ¶
"exclude"?: #branchFilterArray ¶
"batch"?: #boolean ¶
"always"?: #boolean ¶
#schedules: [...#schedule] ¶
[...]: #schedule
"cron"?: #nonEmptyString
"displayName"?: #string
"branches"?: #includeExcludeFilters
"include"?: #branchFilterArray
"exclude"?: #branchFilterArray
"batch"?: #boolean
"always"?: #boolean
#sequence: [...#any] ¶
[...]: #any
#sequenceOfNonEmptyString: [...#nonEmptyString] ¶
[...]: #nonEmptyString
#sequenceOfString_allowExpressions: [...#string_allowExpressions] ¶
[...]: #string_allowExpressions
#stage:
click to see definition
matchN(>=1, [close({
	"stage"?:           #string
	"group"?:           #string
	"displayName"?:     #string
	"pool"?:            #pool
	"dependsOn"?:       #jobDependsOn
	"condition"?:       #string
	"variables"?:       #variables
	"jobs"?:            #jobs
	"lockBehavior"?:    #lockBehavior
	"trigger"?:         #stageTrigger
	"isSkippable"?:     #boolean
	"templateContext"?: #templateContext
	"checks"?:          #checks
}), close({
	"template"?:   #nonEmptyString
	"parameters"?: #mapping
})])
¶
#stageTrigger: matchN(>=1, [=~"^manual$", =~"^automatic$"]) ¶
#stages: [...#stage] ¶
[...]: #stage
#stagesTemplate: ¶
"parameters"?: #templateParameters ¶
"stages"?: #stages ¶
#step:
click to see definition
matchN(>=1, [
	#task,
	close({
		"script"!:                  #string
		"failOnStderr"?:            #string
		"workingDirectory"?:        #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"powershell"!:              #string
		"errorActionPreference"?:   #string
		"failOnStderr"?:            #string
		"ignoreLASTEXITCODE"?:      #string
		"workingDirectory"?:        #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"pwsh"!:                    #string
		"errorActionPreference"?:   #string
		"failOnStderr"?:            #string
		"ignoreLASTEXITCODE"?:      #string
		"workingDirectory"?:        #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"bash"!:                    #string
		"failOnStderr"?:            #string
		"workingDirectory"?:        #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"checkout"?:                  #string
		"clean"?:                     #string
		"fetchDepth"?:                #string
		"fetchFilter"?:               #string
		"fetchTags"?:                 #string
		"lfs"?:                       #string
		"persistCredentials"?:        #string
		"submodules"?:                #string
		"path"?:                      #string
		"sparseCheckoutDirectories"?: #string
		"sparseCheckoutPatterns"?:    #string
		"workspaceRepo"?:             #string
		"condition"?:                 #string
		"continueOnError"?:           #boolean
		"displayName"?:               #string
		"target"?:                    #stepTarget
		"enabled"?:                   #boolean
		"env"?:                       #mappingOfStringString
		"name"?:                      #referenceName
		"timeoutInMinutes"?:          #nonEmptyString
		"retryCountOnTaskFailure"?:   #string
	}), close({
		"download"!:                #nonEmptyString
		"artifact"?:                #nonEmptyString
		"patterns"?:                #nonEmptyString
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"downloadBuild"?:           #nonEmptyString
		"artifact"?:                #string
		"path"?:                    #string
		"patterns"?:                #string
		"inputs"?:                  #mappingOfStringString
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"getPackage"?:              #nonEmptyString
		"path"?:                    #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"upload"?:                  #string
		"artifact"?:                #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"publish"?:                 #string
		"artifact"?:                #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}), close({
		"template"?:   #nonEmptyString
		"parameters"?: #mapping
	}), close({
		"reviewApp"?:               #string
		"condition"?:               #string
		"continueOnError"?:         #boolean
		"displayName"?:             #string
		"target"?:                  #stepTarget
		"enabled"?:                 #boolean
		"env"?:                     #mappingOfStringString
		"name"?:                    #referenceName
		"timeoutInMinutes"?:        #nonEmptyString
		"retryCountOnTaskFailure"?: #string
	}),
])
¶
#stepTarget:
click to see definition
matchN(>=1, [
	string,
	close({
		"container"?:         #nonEmptyString
		"commands"?:          #string
		"settableVariables"?: #variableRestrictions
	}),
])
¶

Step target

#steps: [...#step] ¶
[...]: #step
#stepsTemplate: ¶
"parameters"?: #templateParameters ¶
"steps"?: #steps ¶
#string: string ¶
#string_allowExpressions: string ¶
#task: ¶
"task"?:
click to see definition
matchN(>=1, [
	"PowerShell@2",
	"PowerShell@1",
	"AzurePowerShell@5",
	"AzurePowerShell@4",
	"AzurePowerShell@1",
	"AzurePowerShell@5",
	"AzurePowerShell@2",
	"MysqlDeploymentOnMachineGroup@1",
	"PipAuthenticate@1",
	"PipAuthenticate@0",
	"Maven@4",
	"Maven@2",
	"Maven@3",
	"Maven@1",
	"DotNetCoreCLI@2",
	"DotNetCoreCLI@0",
	"DotNetCoreCLI@1",
	"XamarinComponentRestore@0",
	"AzureRmWebAppDeployment@4",
	"AzureRmWebAppDeployment@2",
	"AzureRmWebAppDeployment@5",
	"AzureRmWebAppDeployment@3",
	"PowerShellOnTargetMachines@3",
	"PowerShellOnTargetMachines@1",
	"PowerShellOnTargetMachines@2",
	"PowerShellOnTargetMachines@2",
	"PublishCodeCoverageResults@2",
	"PublishCodeCoverageResults@1",
	"RunVisualStudioTestsusingTestAgent@1",
	"ManualIntervention@8",
	"InstallAppleProvisioningProfile@1",
	"InstallAppleProvisioningProfile@0",
	"SonarQubePostTest@1",
	"PyPIPublisher@0",
	"ChefKnife@1",
	"GoTool@0",
	"XcodePackageiOS@0",
	"Go@0",
	"PublishPipelineMetadata@0",
	"Docker@0",
	"Docker@2",
	"Docker@1",
	"JenkinsQueueJob@1",
	"JenkinsQueueJob@2",
	"FtpUpload@2",
	"FtpUpload@1",
	"WindowsMachineFileCopy@2",
	"WindowsMachineFileCopy@1",
	"AndroidBuild@1",
	"TwineAuthenticate@1",
	"TwineAuthenticate@0",
	"IISWebAppDeploymentOnMachineGroup@0",
	"PythonScript@0",
	"HelmInstaller@0",
	"HelmInstaller@1",
	"NodeTaskRunnerInstaller@0",
	"XamarinLicense@1",
	"NuGetAuthenticate@0",
	"NuGetAuthenticate@1",
	"DownloadGitHubNugetPackage@1",
	"MavenAuthenticate@0",
	"AzureAppConfigurationExport@10",
	"ReviewApp@0",
	"JavaToolInstaller@0",
	"JavaToolInstaller@1",
	"Chef@1",
	"AzureFunctionApp@1",
	"AzureFunctionApp@2",
	"npmAuthenticate@0",
	"MSBuild@1",
	"PackerBuild@0",
	"PackerBuild@1",
	"NuGetPackager@0",
	"AzureAppConfigurationSnapshot@1",
	"DuffleInstaller@0",
	"ServiceFabricUpdateAppVersions@1",
	"ServiceFabricUpdateManifests@2",
	"AzureMonitor@1",
	"AzureMonitor@0",
	"Notation@0",
	"AzureNLBManagement@1",
	"DockerCompose@0",
	"DockerCompose@1",
	"AzureMonitorAlerts@0",
	"XamarinTestCloud@1",
	"ServiceFabricDeploy@1",
	"Xcode@5",
	"Xcode@3",
	"Xcode@4",
	"Xcode@2",
	"NuGetPublisher@0",
	"queryWorkItems@0",
	"AzureWebAppContainer@1",
	"SqlDacpacDeploymentOnMachineGroup@0",
	"CacheBeta@1",
	"CacheBeta@0",
	"Cache@2",
	"CMake@1",
	"VSMobileCenterTest@0",
	"AppCenterTest@1",
	"DownloadSecureFile@1",
	"AzureContainerApps@0",
	"AzureContainerApps@1",
	"UseRubyVersion@0",
	"Grunt@0",
	"SqlAzureDacpacDeployment@1",
	"ContainerStructureTest@0",
	"IISWebAppDeployment@1",
	"KubectlInstaller@0",
	"CmdLine@2",
	"CmdLine@1",
	"NuGet@0",
	"ContainerBuild@0",
	"NuGetInstaller@0",
	"NuGetRestore@1",
	"NuGetCommand@2",
	"Delay@1",
	"XamariniOS@1",
	"XamariniOS@2",
	"PublishTestResults@2",
	"PublishTestResults@1",
	"AzureFileCopy@6",
	"AzureFileCopy@4",
	"AzureFileCopy@5",
	"AzureFileCopy@2",
	"AzureFileCopy@3",
	"AzureFileCopy@1",
	"PublishSymbols@2",
	"PublishSymbols@1",
	"CopyFilesOverSSH@0",
	"Gradle@2",
	"Gradle@3",
	"Gradle@4",
	"Gradle@1",
	"AzureTestPlan@0",
	"AppCenterDistribute@1",
	"AppCenterDistribute@2",
	"AppCenterDistribute@3",
	"AppCenterDistribute@0",
	"NuGetToolInstaller@0",
	"NuGetToolInstaller@1",
	"JenkinsDownloadArtifacts@2",
	"JenkinsDownloadArtifacts@1",
	"JenkinsDownloadArtifacts@2",
	"AzureFunctionAppContainer@1",
	"DecryptFile@1",
	"HelmDeploy@1",
	"HelmDeploy@0",
	"InstallAppleCertificate@2",
	"InstallAppleCertificate@1",
	"InstallAppleCertificate@0",
	"AzureFunction@1",
	"AzureFunction@0",
	"OpenPolicyAgentInstaller@0",
	"DownloadGitHubRelease@0",
	"SSH@0",
	"PublishPipelineArtifact@0",
	"PublishPipelineArtifact@1",
	"SonarQubePreBuild@1",
	"DownloadFileshareArtifacts@1",
	"Kubernetes@1",
	"Kubernetes@0",
	"AzureIoTEdge@2",
	"ServiceFabricComposeDeploy@0",
	"AndroidSigning@1",
	"AndroidSigning@2",
	"AndroidSigning@3",
	"DownloadPipelineArtifact@0",
	"DownloadPipelineArtifact@2",
	"DownloadPipelineArtifact@1",
	"UsePythonVersion@0",
	"ServiceFabricPowerShell@1",
	"VSTest@2",
	"VSTest@3",
	"VSTest@1",
	"ManualValidation@1",
	"ManualValidation@0",
	"Ant@1",
	"DeployVisualStudioTestAgent@2",
	"DeployVisualStudioTestAgent@1",
	"CondaEnvironment@0",
	"CondaEnvironment@1",
	"BatchScript@1",
	"DownloadGithubNpmPackage@1",
	"VSBuild@1",
	"AzureKeyVault@1",
	"AzureKeyVault@2",
	"UseDotNet@2",
	"DotNetCoreInstaller@0",
	"DotNetCoreInstaller@1",
	"UseDotNet@2",
	"AzureAppConfigurationImport@10",
	"AzureAppServiceManage@0",
	"KubeloginInstaller@0",
	"FuncToolsInstaller@0",
	"FileTransform@2",
	"FileTransform@1",
	"ExtractFiles@1",
	"XamarinAndroid@1",
	"CopyPublishBuildArtifacts@1",
	"DownloadPackage@0",
	"DownloadPackage@1",
	"AzureResourceGroupDeployment@1",
	"AzureResourceGroupDeployment@2",
	"AzureResourceManagerTemplateDeployment@3",
	"InvokeRESTAPI@0",
	"InvokeRESTAPI@1",
	"ArchiveFiles@1",
	"ArchiveFiles@2",
	"GitHubComment@0",
	"CopyFiles@2",
	"CopyFiles@1",
	"AzureMysqlDeployment@1",
	"Npm@1",
	"Npm@0",
	"AzureStaticWebApp@0",
	"UseNode@1",
	"NodeTool@0",
	"SqlServerDacpacDeployment@1",
	"VisualStudioTestPlatformInstaller@1",
	"PublishToAzureServiceBus@1",
	"PublishToAzureServiceBus@2",
	"PublishToAzureServiceBus@0",
	"KubernetesManifest@0",
	"KubernetesManifest@1",
	"DownloadBuildArtifacts@0",
	"DownloadBuildArtifacts@1",
	"CocoaPods@0",
	"AzureSpringCloud@0",
	"AzureWebApp@1",
	"AzureCLI@1",
	"AzureCLI@2",
	"AzureCLI@0",
	"AzureCLI@2",
	"GitHubRelease@1",
	"GitHubRelease@0",
	"cURLUploader@1",
	"cURLUploader@2",
	"AzureAppServiceSettings@1",
	"UniversalPackages@0",
	"AzurePolicyCheckGate@0",
	"AzureFunctionOnKubernetes@0",
	"AzureFunctionOnKubernetes@1",
	"ShellScript@2",
	"Bash@3",
	"PublishBuildArtifacts@1",
	"InstallSSHKey@0",
	"AzureVmssDeployment@0",
	"AzureVmssDeployment@1",
	"AzureWebPowerShellDeployment@1",
	"CondaAuthenticate@0",
	"AzureCloudPowerShellDeployment@2",
	"AzureCloudPowerShellDeployment@1",
	"CargoAuthenticate@0",
	"DeleteFiles@1",
	"gulp@0",
	"gulp@1",
	"IISWebAppManagementOnMachineGroup@0",
	"DockerInstaller@0",
])
¶
"displayName"?: string ¶

Human-readable name for the task

"name"?: =~"^[_A-Za-z0-9]*$" ¶

ID of the task instance

"condition"?: string ¶

Evaluate this condition expression to determine whether to run this task

"continueOnError"?: bool ¶

Continue running the parent job even on failure?

"enabled"?: string ¶

Run this task when the job runs?

"retryCountOnTaskFailure"?: int ¶

Number of retries if the task fails

"timeoutInMinutes"?: int ¶

Time to wait for this task to complete before the server kills it

"inputs"?: {...} ¶

Task-specific inputs

"env"?: {...} ¶

Variables to map into the process's environment

#taskBase: ¶
"condition"?: #string ¶
"continueOnError"?: #boolean ¶
"displayName"?: #string ¶
"target"?: #stepTarget ¶
"enabled"?: #boolean ¶
"env"?: #mappingOfStringString ¶
"name"?: #referenceName ¶
"timeoutInMinutes"?: #nonEmptyString ¶
"retryCountOnTaskFailure"?: #string ¶
#tasks: [...#task] ¶
[...]: #task
"task"?:
click to see definition
matchN(>=1, [
	"PowerShell@2",
	"PowerShell@1",
	"AzurePowerShell@5",
	"AzurePowerShell@4",
	"AzurePowerShell@1",
	"AzurePowerShell@5",
	"AzurePowerShell@2",
	"MysqlDeploymentOnMachineGroup@1",
	"PipAuthenticate@1",
	"PipAuthenticate@0",
	"Maven@4",
	"Maven@2",
	"Maven@3",
	"Maven@1",
	"DotNetCoreCLI@2",
	"DotNetCoreCLI@0",
	"DotNetCoreCLI@1",
	"XamarinComponentRestore@0",
	"AzureRmWebAppDeployment@4",
	"AzureRmWebAppDeployment@2",
	"AzureRmWebAppDeployment@5",
	"AzureRmWebAppDeployment@3",
	"PowerShellOnTargetMachines@3",
	"PowerShellOnTargetMachines@1",
	"PowerShellOnTargetMachines@2",
	"PowerShellOnTargetMachines@2",
	"PublishCodeCoverageResults@2",
	"PublishCodeCoverageResults@1",
	"RunVisualStudioTestsusingTestAgent@1",
	"ManualIntervention@8",
	"InstallAppleProvisioningProfile@1",
	"InstallAppleProvisioningProfile@0",
	"SonarQubePostTest@1",
	"PyPIPublisher@0",
	"ChefKnife@1",
	"GoTool@0",
	"XcodePackageiOS@0",
	"Go@0",
	"PublishPipelineMetadata@0",
	"Docker@0",
	"Docker@2",
	"Docker@1",
	"JenkinsQueueJob@1",
	"JenkinsQueueJob@2",
	"FtpUpload@2",
	"FtpUpload@1",
	"WindowsMachineFileCopy@2",
	"WindowsMachineFileCopy@1",
	"AndroidBuild@1",
	"TwineAuthenticate@1",
	"TwineAuthenticate@0",
	"IISWebAppDeploymentOnMachineGroup@0",
	"PythonScript@0",
	"HelmInstaller@0",
	"HelmInstaller@1",
	"NodeTaskRunnerInstaller@0",
	"XamarinLicense@1",
	"NuGetAuthenticate@0",
	"NuGetAuthenticate@1",
	"DownloadGitHubNugetPackage@1",
	"MavenAuthenticate@0",
	"AzureAppConfigurationExport@10",
	"ReviewApp@0",
	"JavaToolInstaller@0",
	"JavaToolInstaller@1",
	"Chef@1",
	"AzureFunctionApp@1",
	"AzureFunctionApp@2",
	"npmAuthenticate@0",
	"MSBuild@1",
	"PackerBuild@0",
	"PackerBuild@1",
	"NuGetPackager@0",
	"AzureAppConfigurationSnapshot@1",
	"DuffleInstaller@0",
	"ServiceFabricUpdateAppVersions@1",
	"ServiceFabricUpdateManifests@2",
	"AzureMonitor@1",
	"AzureMonitor@0",
	"Notation@0",
	"AzureNLBManagement@1",
	"DockerCompose@0",
	"DockerCompose@1",
	"AzureMonitorAlerts@0",
	"XamarinTestCloud@1",
	"ServiceFabricDeploy@1",
	"Xcode@5",
	"Xcode@3",
	"Xcode@4",
	"Xcode@2",
	"NuGetPublisher@0",
	"queryWorkItems@0",
	"AzureWebAppContainer@1",
	"SqlDacpacDeploymentOnMachineGroup@0",
	"CacheBeta@1",
	"CacheBeta@0",
	"Cache@2",
	"CMake@1",
	"VSMobileCenterTest@0",
	"AppCenterTest@1",
	"DownloadSecureFile@1",
	"AzureContainerApps@0",
	"AzureContainerApps@1",
	"UseRubyVersion@0",
	"Grunt@0",
	"SqlAzureDacpacDeployment@1",
	"ContainerStructureTest@0",
	"IISWebAppDeployment@1",
	"KubectlInstaller@0",
	"CmdLine@2",
	"CmdLine@1",
	"NuGet@0",
	"ContainerBuild@0",
	"NuGetInstaller@0",
	"NuGetRestore@1",
	"NuGetCommand@2",
	"Delay@1",
	"XamariniOS@1",
	"XamariniOS@2",
	"PublishTestResults@2",
	"PublishTestResults@1",
	"AzureFileCopy@6",
	"AzureFileCopy@4",
	"AzureFileCopy@5",
	"AzureFileCopy@2",
	"AzureFileCopy@3",
	"AzureFileCopy@1",
	"PublishSymbols@2",
	"PublishSymbols@1",
	"CopyFilesOverSSH@0",
	"Gradle@2",
	"Gradle@3",
	"Gradle@4",
	"Gradle@1",
	"AzureTestPlan@0",
	"AppCenterDistribute@1",
	"AppCenterDistribute@2",
	"AppCenterDistribute@3",
	"AppCenterDistribute@0",
	"NuGetToolInstaller@0",
	"NuGetToolInstaller@1",
	"JenkinsDownloadArtifacts@2",
	"JenkinsDownloadArtifacts@1",
	"JenkinsDownloadArtifacts@2",
	"AzureFunctionAppContainer@1",
	"DecryptFile@1",
	"HelmDeploy@1",
	"HelmDeploy@0",
	"InstallAppleCertificate@2",
	"InstallAppleCertificate@1",
	"InstallAppleCertificate@0",
	"AzureFunction@1",
	"AzureFunction@0",
	"OpenPolicyAgentInstaller@0",
	"DownloadGitHubRelease@0",
	"SSH@0",
	"PublishPipelineArtifact@0",
	"PublishPipelineArtifact@1",
	"SonarQubePreBuild@1",
	"DownloadFileshareArtifacts@1",
	"Kubernetes@1",
	"Kubernetes@0",
	"AzureIoTEdge@2",
	"ServiceFabricComposeDeploy@0",
	"AndroidSigning@1",
	"AndroidSigning@2",
	"AndroidSigning@3",
	"DownloadPipelineArtifact@0",
	"DownloadPipelineArtifact@2",
	"DownloadPipelineArtifact@1",
	"UsePythonVersion@0",
	"ServiceFabricPowerShell@1",
	"VSTest@2",
	"VSTest@3",
	"VSTest@1",
	"ManualValidation@1",
	"ManualValidation@0",
	"Ant@1",
	"DeployVisualStudioTestAgent@2",
	"DeployVisualStudioTestAgent@1",
	"CondaEnvironment@0",
	"CondaEnvironment@1",
	"BatchScript@1",
	"DownloadGithubNpmPackage@1",
	"VSBuild@1",
	"AzureKeyVault@1",
	"AzureKeyVault@2",
	"UseDotNet@2",
	"DotNetCoreInstaller@0",
	"DotNetCoreInstaller@1",
	"UseDotNet@2",
	"AzureAppConfigurationImport@10",
	"AzureAppServiceManage@0",
	"KubeloginInstaller@0",
	"FuncToolsInstaller@0",
	"FileTransform@2",
	"FileTransform@1",
	"ExtractFiles@1",
	"XamarinAndroid@1",
	"CopyPublishBuildArtifacts@1",
	"DownloadPackage@0",
	"DownloadPackage@1",
	"AzureResourceGroupDeployment@1",
	"AzureResourceGroupDeployment@2",
	"AzureResourceManagerTemplateDeployment@3",
	"InvokeRESTAPI@0",
	"InvokeRESTAPI@1",
	"ArchiveFiles@1",
	"ArchiveFiles@2",
	"GitHubComment@0",
	"CopyFiles@2",
	"CopyFiles@1",
	"AzureMysqlDeployment@1",
	"Npm@1",
	"Npm@0",
	"AzureStaticWebApp@0",
	"UseNode@1",
	"NodeTool@0",
	"SqlServerDacpacDeployment@1",
	"VisualStudioTestPlatformInstaller@1",
	"PublishToAzureServiceBus@1",
	"PublishToAzureServiceBus@2",
	"PublishToAzureServiceBus@0",
	"KubernetesManifest@0",
	"KubernetesManifest@1",
	"DownloadBuildArtifacts@0",
	"DownloadBuildArtifacts@1",
	"CocoaPods@0",
	"AzureSpringCloud@0",
	"AzureWebApp@1",
	"AzureCLI@1",
	"AzureCLI@2",
	"AzureCLI@0",
	"AzureCLI@2",
	"GitHubRelease@1",
	"GitHubRelease@0",
	"cURLUploader@1",
	"cURLUploader@2",
	"AzureAppServiceSettings@1",
	"UniversalPackages@0",
	"AzurePolicyCheckGate@0",
	"AzureFunctionOnKubernetes@0",
	"AzureFunctionOnKubernetes@1",
	"ShellScript@2",
	"Bash@3",
	"PublishBuildArtifacts@1",
	"InstallSSHKey@0",
	"AzureVmssDeployment@0",
	"AzureVmssDeployment@1",
	"AzureWebPowerShellDeployment@1",
	"CondaAuthenticate@0",
	"AzureCloudPowerShellDeployment@2",
	"AzureCloudPowerShellDeployment@1",
	"CargoAuthenticate@0",
	"DeleteFiles@1",
	"gulp@0",
	"gulp@1",
	"IISWebAppManagementOnMachineGroup@0",
	"DockerInstaller@0",
])
"displayName"?: string

Human-readable name for the task

"name"?: =~"^[_A-Za-z0-9]*$"

ID of the task instance

"condition"?: string

Evaluate this condition expression to determine whether to run this task

"continueOnError"?: bool

Continue running the parent job even on failure?

"enabled"?: string

Run this task when the job runs?

"retryCountOnTaskFailure"?: int

Number of retries if the task fails

"timeoutInMinutes"?: int

Time to wait for this task to complete before the server kills it

"inputs"?: {...}

Task-specific inputs

"env"?: {...}

Variables to map into the process's environment

#templateContext: {...} ¶
#templateParameter: ¶
"name"?: #nonEmptyString ¶
"displayName"?: #string ¶
"type"?: #templateParameterType ¶
"default"?: #any ¶
"values"?: #sequenceOfNonEmptyString ¶
#templateParameterType:
click to see definition
matchN(>=1, [
	=~"^boolean$",
	=~"^container$",
	=~"^containerList$",
	=~"^deployment$",
	=~"^deploymentList$",
	=~"^job$",
	=~"^jobList$",
	=~"^legacyObject$",
	=~"^number$",
	=~"^object$",
	=~"^stage$",
	=~"^stageList$",
	=~"^step$",
	=~"^stepList$",
	=~"^string$",
	=~"^stringList$",
])
¶
#templateParameters: matchN(>=1, [[...#templateParameter], {...}]) ¶
#trigger:
click to see definition
matchN(>=1, [
	=~"^none$",
	[...#branchFilter], close({
		"batch"?:    #boolean
		"branches"?: #includeExcludeFilters
		"paths"?:    #includeExcludeFilters
		"tags"?:     #includeExcludeFilters
	}),
])
¶
#triggerBranchFilter: matchN(>=1, [close({"include"?: #branchFilterArray, "exclude"?: #branchFilterArray}), [...#branchFilter]]) ¶
#variable:
click to see definition
matchN(>=1, [close({
	"name"?:     #nonEmptyString
	"value"?:    #string
	"readonly"?: #boolean
}), close(
	{"group"?: #nonEmptyString},
), close({
	"template"?:   #nonEmptyString
	"parameters"?: #mapping
})])
¶
#variableRestrictions: matchN(>=1, [=~"^none$", [...#nonEmptyString]]) ¶
#variables: matchN(>=1, [{...}, [...#variable]]) ¶
#variablesTemplate: ¶
"parameters"?: #templateParameters ¶
"variables"?: #variables ¶
#webhookFilter: ¶
"path"!: #nonEmptyString ¶
"value"!: #nonEmptyString ¶
#webhookFilters: [...#webhookFilter] ¶
[...]: #webhookFilter
"path"!: #nonEmptyString
"value"!: #nonEmptyString
#webhookResource: ¶
"webhook"!: #referenceName ¶
"connection"!: #nonEmptyString ¶
"type"?: #nonEmptyString ¶
"filters"?: #webhookFilters ¶
#webhookResources: [...#webhookResource] ¶
[...]: #webhookResource
"webhook"!: #referenceName
"connection"!: #nonEmptyString
"type"?: #nonEmptyString
"filters"?: #webhookFilters

Source files

  • schema.cue