1package azurepipelines
2
3import "struct"
4
5// Pipeline schema
6//
7// A pipeline definition
8#Pipeline: {
9 @jsonschema(schema="http://json-schema.org/draft-07/schema#")
10 @jsonschema(id="https://github.com/Microsoft/azure-pipelines-vscode/blob/main/service-schema.json")
11 matchN(1, [#pipeline, =~"^$"])
12
13 #any: matchN(>=1, [string, [...#any], {...}])
14
15 #any_allowExpressions: matchN(>=1, [string, [...#any], {...}])
16
17 #boolean: matchN(>=1, [=~"^true$", =~"^y$", =~"^yes$", =~"^on$", =~"^false$", =~"^n$", =~"^no$", =~"^off$"])
18
19 // branch name or prefix filter
20 #branchFilter: =~"^[^\\/~\\^\\: \\[\\]\\\\]+(\\/[^\\/~\\^\\: \\[\\]\\\\]+)*$"
21
22 #branchFilterArray: [...#branchFilter]
23
24 #buildResource: close({
25 build!: #referenceName
26 type!: #nonEmptyString
27 connection!: #nonEmptyString
28 source!: #nonEmptyString
29 version?: #string_allowExpressions
30 branch?: #string_allowExpressions
31 trigger?: #buildResourceTrigger
32 })
33
34 #buildResourceTrigger: matchN(>=1, [=~"^none$", =~"^true$"])
35
36 #buildResources: [...#buildResource]
37
38 #canaryDeploymentIncrements: [...#nonEmptyString]
39
40 #canaryDeploymentStrategy: close({
41 increments?: #canaryDeploymentIncrements
42 preDeploy?: #preDeployHook
43 deploy?: #deployHook
44 routeTraffic?: #routeTrafficHook
45 postRouteTraffic?: #postRouteTrafficHook
46 on?: #onSuccessOrFailureHook
47 })
48
49 #check: close({type?: #checkType})
50
51 // Production readiness check
52 #checkType: =~"^productionReadinessPolicy$"
53
54 #checks: [...#check]
55
56 #containerArtifactType: matchN(>=1, [=~"^ACR$", string])
57
58 #containerBase: close({
59 endpoint?: #string_allowExpressions
60 env?: #mappingOfStringString
61 image!: #string
62 mapDockerSocket?: #boolean
63 options?: #string_allowExpressions
64 ports?: #sequenceOfString_allowExpressions
65 volumes?: #sequenceOfString_allowExpressions
66 mountReadOnly?: #readOnlyMounts
67 })
68
69 #containerResource: {
70 container!: #referenceName
71 type?: #containerArtifactType
72 trigger?: #containerResourceTrigger
73 azureSubscription?: #nonEmptyString
74 resourceGroup?: #nonEmptyString
75 registry?: #nonEmptyString
76 repository?: #nonEmptyString
77 localImage?: #boolean
78 endpoint?: #string_allowExpressions
79 env?: #mappingOfStringString
80 image!: #string
81 mapDockerSocket?: #boolean
82 options?: #string_allowExpressions
83 ports?: #sequenceOfString_allowExpressions
84 volumes?: #sequenceOfString_allowExpressions
85 mountReadOnly?: #readOnlyMounts
86 ...
87 }
88
89 #containerResourceTrigger: matchN(>=1, [
90 =~"^none$",
91 =~"^true$",
92 close({
93 enabled?: #boolean
94 tags?: #includeExcludeStringFilters
95 })
96 ])
97
98 #containerResources: [...#containerResource]
99
100 #deployHook: close({
101 steps?: #steps
102 pool?: #pool
103 })
104
105 // Environment details
106 #deploymentEnvironment: matchN(>=1, [
107 string,
108 close({
109 name?: #nonEmptyString
110 resourceName?: #nonEmptyString
111 resourceId?: #nonEmptyString
112 resourceType?: #nonEmptyString
113 tags?: #nonEmptyString
114 })
115 ])
116
117 #deploymentStrategy: matchN(>=1, [close(
118 {runOnce?: #runOnceDeploymentStrategy},
119 ), close(
120 {rolling?: #rollingDeploymentStrategy},
121 ), close(
122 {canary?: #canaryDeploymentStrategy},
123 )])
124
125 #explicitResources: close({
126 repositories?: #sequenceOfNonEmptyString
127 pools?: #sequenceOfNonEmptyString
128 })
129
130 #extends: close({
131 template?: #nonEmptyString
132 parameters?: #mapping
133 })
134
135 #extendsParameters: [...#templateParameter]
136
137 #extendsTemplate: matchN(>=1, [close({
138 stages?: #stages
139 trigger?: #trigger
140 resources?: #resources
141 parameters?: #extendsParameters
142 variables?: #variables
143 }), close({
144 jobs?: #jobs
145 trigger?: #trigger
146 resources?: #resources
147 parameters?: #extendsParameters
148 variables?: #variables
149 }), close({
150 steps?: #steps
151 trigger?: #trigger
152 resources?: #resources
153 parameters?: #extendsParameters
154 variables?: #variables
155 }), close({
156 trigger?: #trigger
157 resources?: #resources
158 parameters?: #extendsParameters
159 extends?: #extends
160 })])
161
162 #extendsTemplateBase: close({
163 trigger?: #trigger
164 resources?: #resources
165 parameters?: #extendsParameters
166 variables?: #variables
167 })
168
169 #includeExcludeFilters: close({
170 include?: #branchFilterArray
171 exclude?: #branchFilterArray
172 })
173
174 #includeExcludeStringFilters: matchN(>=1, [[
175 ...#nonEmptyString
176 ], close({
177 include?: #sequenceOfNonEmptyString
178 exclude?: #sequenceOfNonEmptyString
179 })])
180
181 #job: matchN(>=1, [close({
182 job?: #referenceName
183 displayName?: #string
184 dependsOn?: #jobDependsOn
185 condition?: #string
186 continueOnError?: #jobContinueOnError
187 timeoutInMinutes?: #nonEmptyString
188 cancelTimeoutInMinutes?: #nonEmptyString
189 variables?: #variables
190 strategy?: #jobStrategy
191 pool?: #pool
192 container?: #jobContainer
193 services?: #jobServices
194 workspace?: #jobWorkspace
195 uses?: #explicitResources
196 steps?: #steps
197 templateContext?: #templateContext
198 }), close({
199 deployment?: #string
200 displayName?: #string
201 dependsOn?: #jobDependsOn
202 condition?: #string
203 continueOnError?: #jobContinueOnError
204 timeoutInMinutes?: #nonEmptyString
205 cancelTimeoutInMinutes?: #nonEmptyString
206 variables?: #variables
207 pool?: #pool
208 environment?: #deploymentEnvironment
209 strategy?: #deploymentStrategy
210 workspace?: #jobWorkspace
211 uses?: #explicitResources
212 container?: #jobContainer
213 services?: #jobServices
214 templateContext?: #templateContext
215 }), close({
216 template?: #nonEmptyString
217 parameters?: #mapping
218 })])
219
220 #jobContainer: matchN(>=1, [
221 string,
222 close({alias?: #string}), {
223 endpoint?: #string_allowExpressions
224 env?: #mappingOfStringString
225 image!: #string
226 mapDockerSocket?: #boolean
227 options?: #string_allowExpressions
228 ports?: #sequenceOfString_allowExpressions
229 volumes?: #sequenceOfString_allowExpressions
230 mountReadOnly?: #readOnlyMounts
231 ...
232 }
233 ])
234
235 #jobContinueOnError: string
236
237 #jobDecoratorSteps: close({steps?: #tasks})
238
239 #jobDependsOn: matchN(>=1, [string, [...#string]])
240
241 #jobMatrix: matchN(>=1, [
242 struct.MinFields(1) & {
243 {[=~"^[A-Za-z0-9_]+$"]: #matrixProperties}
244 ...
245 },
246 string
247 ])
248
249 #jobServices: {...}
250
251 #jobStrategy: matchN(>=1, [close({
252 matrix?: #jobMatrix
253 maxParallel?: #nonEmptyString
254 }), close(
255 {parallel?: #nonEmptyString},
256 )])
257
258 #jobWorkspace: close({clean?: #string})
259
260 #jobs: [...#job]
261
262 #jobsTemplate: matchN(>=1, [close({
263 parameters?: #templateParameters
264 jobs?: #jobs
265 }), close({
266 parameters?: #templateParameters
267 phases?: #phases
268 })])
269
270 #legacyRepoResourceAlias: =~"^self$"
271
272 #legacyResource: close({
273 repo?: #legacyRepoResourceAlias
274 clean?: #string
275 fetchDepth?: #string
276 lfs?: #string
277 })
278
279 #lockBehavior: matchN(>=1, [=~"^sequential$", =~"^runLatest$"])
280
281 #mapping: {...}
282
283 #mappingOfStringString: {...}
284
285 // Variable-value pair to pass in this matrix instance
286 #matrixProperties: {...}
287
288 #nonEmptyString: string
289
290 #onFailureHook: close({
291 steps?: #steps
292 pool?: #pool
293 })
294
295 #onSuccessHook: close({
296 steps?: #steps
297 pool?: #pool
298 })
299
300 #onSuccessOrFailureHook: close({
301 failure?: #onFailureHook
302 success?: #onSuccessHook
303 })
304
305 #packageResource: close({
306 package!: #referenceName
307 type!: #nonEmptyString
308 connection!: #nonEmptyString
309 name!: #nonEmptyString
310 version?: #string_allowExpressions
311 tag?: #string_allowExpressions
312 trigger?: #packageResourceTrigger
313 })
314
315 #packageResourceTrigger: matchN(>=1, [=~"^none$", =~"^true$"])
316
317 #packageResources: [...#packageResource]
318
319 #parametersTemplate: matchN(>=1, [close({
320 parameters?: #templateParameters
321 steps!: #steps
322 }), close({
323 parameters?: #templateParameters
324 jobs?: #jobs
325 }), close({
326 parameters?: #templateParameters
327 stages?: #stages
328 }), close({
329 resources?: #resources
330 parameters?: #templateParameters
331 extends!: #extends
332 })])
333
334 #phase: matchN(>=1, [close({
335 phase?: #referenceName
336 dependsOn?: #jobDependsOn
337 displayName?: #string
338 condition?: #string
339 continueOnError?: #jobContinueOnError
340 queue?: #phaseQueueTarget
341 variables?: #variables
342 steps?: #steps
343 }), close({
344 phase?: #referenceName
345 dependsOn?: #jobDependsOn
346 displayName?: #string
347 condition?: #string
348 continueOnError?: #jobContinueOnError
349 server?: #phaseServerTarget
350 variables?: #variables
351 steps?: #steps
352 }), close({
353 template?: #nonEmptyString
354 parameters?: #mapping
355 })])
356
357 // Queue details
358 #phaseQueueTarget: matchN(>=1, [
359 string,
360 close({
361 cancelTimeoutInMinutes?: #nonEmptyString
362 container?: #nonEmptyString
363 demands?: #phaseTargetDemands
364 matrix?: #phaseTargetMatrix
365 name?: #string
366 parallel?: #nonEmptyString
367 timeoutInMinutes?: #nonEmptyString
368 workspace?: #phaseTargetWorkspace
369 })
370 ])
371
372 #phaseServerTarget: matchN(>=1, [
373 string,
374 close({
375 cancelTimeoutInMinutes?: #nonEmptyString
376 matrix?: #phaseTargetMatrix
377 parallel?: #nonEmptyString
378 timeoutInMinutes?: #nonEmptyString
379 })
380 ])
381
382 #phaseTargetDemands: matchN(>=1, [string, [...#nonEmptyString]])
383
384 // List of permutations of variable values to run
385 #phaseTargetMatrix: matchN(>=1, [{...}, string]) &
386 (string |
387 struct.MinFields(1) & {
388 {[=~"^[A-Za-z0-9_]+$"]: #matrixProperties}
389 ...
390 })
391
392 #phaseTargetWorkspace: close({clean?: #string})
393
394 #phases: [...#phase]
395
396 #pipeline: matchN(>=1, [close({
397 stages!: #stages
398 pool?: #pool
399 name?: #string_allowExpressions
400 appendCommitMessageToRunName?: #boolean
401 trigger?: #trigger
402 parameters?: #pipelineTemplateParameters
403 pr?: #pr
404 schedules?: #schedules
405 resources?: #resources
406 variables?: #variables
407 lockBehavior?: #lockBehavior
408 }), close({
409 extends!: #extends
410 pool?: #pool
411 name?: #string_allowExpressions
412 appendCommitMessageToRunName?: #boolean
413 trigger?: #trigger
414 parameters?: #pipelineTemplateParameters
415 pr?: #pr
416 schedules?: #schedules
417 resources?: #resources
418 variables?: #variables
419 lockBehavior?: #lockBehavior
420 }), close({
421 jobs!: #jobs
422 pool?: #pool
423 name?: #string_allowExpressions
424 appendCommitMessageToRunName?: #boolean
425 trigger?: #trigger
426 parameters?: #pipelineTemplateParameters
427 pr?: #pr
428 schedules?: #schedules
429 resources?: #resources
430 variables?: #variables
431 lockBehavior?: #lockBehavior
432 }), close({
433 phases!: #phases
434 name?: #string_allowExpressions
435 appendCommitMessageToRunName?: #boolean
436 trigger?: #trigger
437 parameters?: #pipelineTemplateParameters
438 pr?: #pr
439 schedules?: #schedules
440 resources?: #resources
441 variables?: #variables
442 lockBehavior?: #lockBehavior
443 }), close({
444 strategy?: #jobStrategy
445 continueOnError?: #jobContinueOnError
446 pool?: #pool
447 container?: #jobContainer
448 services?: #jobServices
449 workspace?: #jobWorkspace
450 steps!: #steps
451 name?: #string_allowExpressions
452 appendCommitMessageToRunName?: #boolean
453 trigger?: #trigger
454 parameters?: #pipelineTemplateParameters
455 pr?: #pr
456 schedules?: #schedules
457 resources?: #resources
458 variables?: #variables
459 lockBehavior?: #lockBehavior
460 }), close({
461 continueOnError?: #jobContinueOnError
462 queue?: #phaseQueueTarget
463 steps!: #steps
464 name?: #string_allowExpressions
465 appendCommitMessageToRunName?: #boolean
466 trigger?: #trigger
467 parameters?: #pipelineTemplateParameters
468 pr?: #pr
469 schedules?: #schedules
470 resources?: #resources
471 variables?: #variables
472 lockBehavior?: #lockBehavior
473 }), close({
474 continueOnError?: #jobContinueOnError
475 server?: #phaseServerTarget
476 steps!: #steps
477 name?: #string_allowExpressions
478 appendCommitMessageToRunName?: #boolean
479 trigger?: #trigger
480 parameters?: #pipelineTemplateParameters
481 pr?: #pr
482 schedules?: #schedules
483 resources?: #resources
484 variables?: #variables
485 lockBehavior?: #lockBehavior
486 })])
487
488 #pipelineAnyBase: close({
489 name?: #any_allowExpressions
490 appendCommitMessageToRunName?: #any_allowExpressions
491 trigger?: #any_allowExpressions
492 parameters?: #any_allowExpressions
493 pr?: #any_allowExpressions
494 schedules?: #any_allowExpressions
495 resources?: #any_allowExpressions
496 variables?: #any_allowExpressions
497 stages?: #any_allowExpressions
498 jobs?: #any_allowExpressions
499 extends?: #any_allowExpressions
500 phases?: #any_allowExpressions
501 strategy?: #any_allowExpressions
502 continueOnError?: #any_allowExpressions
503 pool?: #any_allowExpressions
504 container?: #any_allowExpressions
505 services?: #any_allowExpressions
506 workspace?: #any_allowExpressions
507 steps?: #any_allowExpressions
508 queue?: #any_allowExpressions
509 server?: #any_allowExpressions
510 lockBehavior?: #lockBehavior
511 })
512
513 #pipelineBase: close({
514 name?: #string_allowExpressions
515 appendCommitMessageToRunName?: #boolean
516 trigger?: #trigger
517 parameters?: #pipelineTemplateParameters
518 pr?: #pr
519 schedules?: #schedules
520 resources?: #resources
521 variables?: #variables
522 lockBehavior?: #lockBehavior
523 })
524
525 #pipelinePR: close({
526 pr?: #pr
527 name?: #any_allowExpressions
528 appendCommitMessageToRunName?: #any_allowExpressions
529 trigger?: #any_allowExpressions
530 parameters?: #any_allowExpressions
531 schedules?: #any_allowExpressions
532 resources?: #any_allowExpressions
533 variables?: #any_allowExpressions
534 stages?: #any_allowExpressions
535 jobs?: #any_allowExpressions
536 extends?: #any_allowExpressions
537 phases?: #any_allowExpressions
538 strategy?: #any_allowExpressions
539 continueOnError?: #any_allowExpressions
540 pool?: #any_allowExpressions
541 container?: #any_allowExpressions
542 services?: #any_allowExpressions
543 workspace?: #any_allowExpressions
544 steps?: #any_allowExpressions
545 queue?: #any_allowExpressions
546 server?: #any_allowExpressions
547 lockBehavior?: #lockBehavior
548 })
549
550 #pipelineParameters: close({
551 parameters?: #pipelineTemplateParameters
552 name?: #any_allowExpressions
553 appendCommitMessageToRunName?: #any_allowExpressions
554 trigger?: #any_allowExpressions
555 pr?: #any_allowExpressions
556 schedules?: #any_allowExpressions
557 resources?: #any_allowExpressions
558 variables?: #any_allowExpressions
559 stages?: #any_allowExpressions
560 jobs?: #any_allowExpressions
561 extends?: #any_allowExpressions
562 phases?: #any_allowExpressions
563 strategy?: #any_allowExpressions
564 continueOnError?: #any_allowExpressions
565 pool?: #any_allowExpressions
566 container?: #any_allowExpressions
567 services?: #any_allowExpressions
568 workspace?: #any_allowExpressions
569 steps?: #any_allowExpressions
570 queue?: #any_allowExpressions
571 server?: #any_allowExpressions
572 lockBehavior?: #lockBehavior
573 })
574
575 #pipelineResource: close({
576 pipeline!: #referenceName
577 project?: #nonEmptyString
578 source?: #nonEmptyString
579 version?: #string_allowExpressions
580 branch?: #string_allowExpressions
581 tags?: #sequenceOfNonEmptyString
582 trigger?: #pipelineResourceTrigger
583 })
584
585 #pipelineResourceTrigger: matchN(>=1, [
586 =~"^none$",
587 =~"^true$",
588 close({
589 enabled?: #boolean
590 branches?: #triggerBranchFilter
591 stages?: #sequenceOfNonEmptyString
592 tags?: #sequenceOfNonEmptyString
593 })
594 ])
595
596 #pipelineResources: [...#pipelineResource]
597
598 #pipelineSchedules: close({
599 schedules?: #schedules
600 name?: #any_allowExpressions
601 appendCommitMessageToRunName?: #any_allowExpressions
602 trigger?: #any_allowExpressions
603 parameters?: #any_allowExpressions
604 pr?: #any_allowExpressions
605 resources?: #any_allowExpressions
606 variables?: #any_allowExpressions
607 stages?: #any_allowExpressions
608 jobs?: #any_allowExpressions
609 extends?: #any_allowExpressions
610 phases?: #any_allowExpressions
611 strategy?: #any_allowExpressions
612 continueOnError?: #any_allowExpressions
613 pool?: #any_allowExpressions
614 container?: #any_allowExpressions
615 services?: #any_allowExpressions
616 workspace?: #any_allowExpressions
617 steps?: #any_allowExpressions
618 queue?: #any_allowExpressions
619 server?: #any_allowExpressions
620 lockBehavior?: #lockBehavior
621 })
622
623 #pipelineTemplateParameter: close({
624 name?: #nonEmptyString
625 displayName?: #string
626 type?: #pipelineTemplateParameterType
627 default?: #any
628 values?: #sequenceOfNonEmptyString
629 })
630
631 #pipelineTemplateParameterType: matchN(>=1, [
632 =~"^boolean$",
633 =~"^container$",
634 =~"^containerList$",
635 =~"^deployment$",
636 =~"^deploymentList$",
637 =~"^environment$",
638 =~"^filePath$",
639 =~"^job$",
640 =~"^jobList$",
641 =~"^number$",
642 =~"^object$",
643 =~"^pool$",
644 =~"^secureFile$",
645 =~"^serviceConnection$",
646 =~"^stage$",
647 =~"^stageList$",
648 =~"^step$",
649 =~"^stepList$",
650 =~"^string$",
651 =~"^stringList$",
652 ])
653
654 #pipelineTemplateParameters: [...#pipelineTemplateParameter]
655
656 #pipelineTrigger: close({
657 trigger?: #trigger
658 name?: #any_allowExpressions
659 appendCommitMessageToRunName?: #any_allowExpressions
660 parameters?: #any_allowExpressions
661 pr?: #any_allowExpressions
662 schedules?: #any_allowExpressions
663 resources?: #any_allowExpressions
664 variables?: #any_allowExpressions
665 stages?: #any_allowExpressions
666 jobs?: #any_allowExpressions
667 extends?: #any_allowExpressions
668 phases?: #any_allowExpressions
669 strategy?: #any_allowExpressions
670 continueOnError?: #any_allowExpressions
671 pool?: #any_allowExpressions
672 container?: #any_allowExpressions
673 services?: #any_allowExpressions
674 workspace?: #any_allowExpressions
675 steps?: #any_allowExpressions
676 queue?: #any_allowExpressions
677 server?: #any_allowExpressions
678 lockBehavior?: #lockBehavior
679 })
680
681 // Pool details
682 #pool: matchN(>=1, [
683 string,
684 {
685 name?: #nonEmptyString
686 demands?: #poolDemands
687 vmImage?: #nonEmptyString
688 ...
689 }
690 ])
691
692 #poolDemands: matchN(>=1, [string, [...#nonEmptyString]])
693
694 #postRouteTrafficHook: close({
695 steps?: #steps
696 pool?: #pool
697 })
698
699 #pr: matchN(>=1, [
700 =~"^none$",
701 [...#branchFilter], close({
702 autoCancel?: #boolean
703 branches?: #includeExcludeFilters
704 paths?: #includeExcludeFilters
705 drafts?: #boolean
706 })
707 ])
708
709 #preDeployHook: close({
710 steps?: #steps
711 pool?: #pool
712 })
713
714 #readOnlyMounts: close({
715 work?: #boolean
716 externals?: #boolean
717 tools?: #boolean
718 tasks?: #boolean
719 })
720
721 #referenceName: =~"^[-_A-Za-z0-9]*$"
722
723 #repositoryCheckoutOptions: close({
724 clean?: #string
725 fetchDepth?: #string
726 fetchTags?: #string
727 lfs?: #string
728 submodules?: #string
729 persistCredentials?: #string
730 })
731
732 #repositoryResource: {
733 repository!: #referenceName
734 endpoint?: #nonEmptyString
735 trigger?: #trigger
736 checkoutOptions?: #repositoryCheckoutOptions
737 name?: #nonEmptyString
738 ref?: #string_allowExpressions
739 type?: #string
740 ...
741 }
742
743 #repositoryResources: [...#repositoryResource]
744
745 #resources: matchN(>=1, [close({
746 builds?: #buildResources
747 containers?: #containerResources
748 pipelines?: #pipelineResources
749 repositories?: #repositoryResources
750 webhooks?: #webhookResources
751 packages?: #packageResources
752 }), [
753 ...#legacyResource
754 ]])
755
756 #rollingDeploymentStrategy: close({
757 maxParallel?: #nonEmptyString
758 preDeploy?: #preDeployHook
759 deploy?: #deployHook
760 routeTraffic?: #routeTrafficHook
761 postRouteTraffic?: #postRouteTrafficHook
762 on?: #onSuccessOrFailureHook
763 })
764
765 #routeTrafficHook: close({
766 steps?: #steps
767 pool?: #pool
768 })
769
770 #runOnceDeploymentStrategy: close({
771 preDeploy?: #preDeployHook
772 deploy?: #deployHook
773 routeTraffic?: #routeTrafficHook
774 postRouteTraffic?: #postRouteTrafficHook
775 on?: #onSuccessOrFailureHook
776 })
777
778 #schedule: close({
779 cron?: #nonEmptyString
780 displayName?: #string
781 branches?: #includeExcludeFilters
782 batch?: #boolean
783 always?: #boolean
784 })
785
786 #schedules: [...#schedule]
787
788 #sequence: [...#any]
789
790 #sequenceOfNonEmptyString: [...#nonEmptyString]
791
792 #sequenceOfString_allowExpressions: [...#string_allowExpressions]
793
794 #stage: matchN(>=1, [close({
795 stage?: #string
796 group?: #string
797 displayName?: #string
798 pool?: #pool
799 dependsOn?: #jobDependsOn
800 condition?: #string
801 variables?: #variables
802 jobs?: #jobs
803 lockBehavior?: #lockBehavior
804 trigger?: #stageTrigger
805 isSkippable?: #boolean
806 templateContext?: #templateContext
807 checks?: #checks
808 }), close({
809 template?: #nonEmptyString
810 parameters?: #mapping
811 })])
812
813 #stageTrigger: matchN(>=1, [=~"^manual$", =~"^automatic$"])
814
815 #stages: [...#stage]
816
817 #stagesTemplate: close({
818 parameters?: #templateParameters
819 stages?: #stages
820 })
821
822 #step: matchN(>=1, [
823 #task,
824 close({
825 script!: #string
826 failOnStderr?: #string
827 workingDirectory?: #string
828 condition?: #string
829 continueOnError?: #boolean
830 displayName?: #string
831 target?: #stepTarget
832 enabled?: #boolean
833 env?: #mappingOfStringString
834 name?: #referenceName
835 timeoutInMinutes?: #nonEmptyString
836 retryCountOnTaskFailure?: #string
837 }), close({
838 powershell!: #string
839 errorActionPreference?: #string
840 failOnStderr?: #string
841 ignoreLASTEXITCODE?: #string
842 workingDirectory?: #string
843 condition?: #string
844 continueOnError?: #boolean
845 displayName?: #string
846 target?: #stepTarget
847 enabled?: #boolean
848 env?: #mappingOfStringString
849 name?: #referenceName
850 timeoutInMinutes?: #nonEmptyString
851 retryCountOnTaskFailure?: #string
852 }), close({
853 pwsh!: #string
854 errorActionPreference?: #string
855 failOnStderr?: #string
856 ignoreLASTEXITCODE?: #string
857 workingDirectory?: #string
858 condition?: #string
859 continueOnError?: #boolean
860 displayName?: #string
861 target?: #stepTarget
862 enabled?: #boolean
863 env?: #mappingOfStringString
864 name?: #referenceName
865 timeoutInMinutes?: #nonEmptyString
866 retryCountOnTaskFailure?: #string
867 }), close({
868 bash!: #string
869 failOnStderr?: #string
870 workingDirectory?: #string
871 condition?: #string
872 continueOnError?: #boolean
873 displayName?: #string
874 target?: #stepTarget
875 enabled?: #boolean
876 env?: #mappingOfStringString
877 name?: #referenceName
878 timeoutInMinutes?: #nonEmptyString
879 retryCountOnTaskFailure?: #string
880 }), close({
881 checkout?: #string
882 clean?: #string
883 fetchDepth?: #string
884 fetchFilter?: #string
885 fetchTags?: #string
886 lfs?: #string
887 persistCredentials?: #string
888 submodules?: #string
889 path?: #string
890 sparseCheckoutDirectories?: #string
891 sparseCheckoutPatterns?: #string
892 workspaceRepo?: #string
893 condition?: #string
894 continueOnError?: #boolean
895 displayName?: #string
896 target?: #stepTarget
897 enabled?: #boolean
898 env?: #mappingOfStringString
899 name?: #referenceName
900 timeoutInMinutes?: #nonEmptyString
901 retryCountOnTaskFailure?: #string
902 }), close({
903 download!: #nonEmptyString
904 artifact?: #nonEmptyString
905 patterns?: #nonEmptyString
906 condition?: #string
907 continueOnError?: #boolean
908 displayName?: #string
909 target?: #stepTarget
910 enabled?: #boolean
911 env?: #mappingOfStringString
912 name?: #referenceName
913 timeoutInMinutes?: #nonEmptyString
914 retryCountOnTaskFailure?: #string
915 }), close({
916 downloadBuild?: #nonEmptyString
917 artifact?: #string
918 path?: #string
919 patterns?: #string
920 inputs?: #mappingOfStringString
921 condition?: #string
922 continueOnError?: #boolean
923 displayName?: #string
924 target?: #stepTarget
925 enabled?: #boolean
926 env?: #mappingOfStringString
927 name?: #referenceName
928 timeoutInMinutes?: #nonEmptyString
929 retryCountOnTaskFailure?: #string
930 }), close({
931 getPackage?: #nonEmptyString
932 path?: #string
933 condition?: #string
934 continueOnError?: #boolean
935 displayName?: #string
936 target?: #stepTarget
937 enabled?: #boolean
938 env?: #mappingOfStringString
939 name?: #referenceName
940 timeoutInMinutes?: #nonEmptyString
941 retryCountOnTaskFailure?: #string
942 }), close({
943 upload?: #string
944 artifact?: #string
945 condition?: #string
946 continueOnError?: #boolean
947 displayName?: #string
948 target?: #stepTarget
949 enabled?: #boolean
950 env?: #mappingOfStringString
951 name?: #referenceName
952 timeoutInMinutes?: #nonEmptyString
953 retryCountOnTaskFailure?: #string
954 }), close({
955 publish?: #string
956 artifact?: #string
957 condition?: #string
958 continueOnError?: #boolean
959 displayName?: #string
960 target?: #stepTarget
961 enabled?: #boolean
962 env?: #mappingOfStringString
963 name?: #referenceName
964 timeoutInMinutes?: #nonEmptyString
965 retryCountOnTaskFailure?: #string
966 }), close({
967 template?: #nonEmptyString
968 parameters?: #mapping
969 }), close({
970 reviewApp?: #string
971 condition?: #string
972 continueOnError?: #boolean
973 displayName?: #string
974 target?: #stepTarget
975 enabled?: #boolean
976 env?: #mappingOfStringString
977 name?: #referenceName
978 timeoutInMinutes?: #nonEmptyString
979 retryCountOnTaskFailure?: #string
980 })
981 ])
982
983 // Step target
984 #stepTarget: matchN(>=1, [
985 string,
986 close({
987 container?: #nonEmptyString
988 commands?: #string
989 settableVariables?: #variableRestrictions
990 })
991 ])
992
993 #steps: [...#step]
994
995 #stepsTemplate: close({
996 parameters?: #templateParameters
997 steps?: #steps
998 })
999
1000 #string: string
1001
1002 #string_allowExpressions: string
1003
1004 #task: matchN(>=1, [
1005 {
1006 // PowerShell
1007 //
1008 // Run a PowerShell script on Linux, macOS, or Windows
1009 task!: null | bool | number | =~"^PowerShell@2$" | [...] | {...}
1010
1011 // PowerShell inputs
1012 inputs?: null |
1013 bool |
1014 number |
1015 string |
1016 [...] |
1017 close({
1018 // Type
1019 targetType?: "filePath" | "inline"
1020
1021 // Script Path
1022 filePath?: string
1023
1024 // Arguments
1025 arguments?: string
1026
1027 // Script
1028 script?: string
1029
1030 // ErrorActionPreference
1031 errorActionPreference?: "default" | "stop" | "continue" | "silentlyContinue"
1032
1033 // WarningPreference
1034 warningPreference?: "default" | "stop" | "continue" | "silentlyContinue"
1035
1036 // InformationPreference
1037 informationPreference?: "default" | "stop" | "continue" | "silentlyContinue"
1038
1039 // VerbosePreference
1040 verbosePreference?: "default" | "stop" | "continue" | "silentlyContinue"
1041
1042 // DebugPreference
1043 debugPreference?: "default" | "stop" | "continue" | "silentlyContinue"
1044
1045 // ProgressPreference
1046 progressPreference?: "default" | "stop" | "continue" | "silentlyContinue"
1047
1048 // Fail on Standard Error
1049 failOnStderr?: bool
1050
1051 // Show warnings as Azure DevOps warnings
1052 showWarnings?: bool
1053
1054 // Ignore $LASTEXITCODE
1055 ignoreLASTEXITCODE?: bool
1056
1057 // Use PowerShell Core
1058 pwsh?: bool
1059
1060 // Working Directory
1061 workingDirectory?: string
1062
1063 // Run script in the separate scope
1064 runScriptInSeparateScope?: bool
1065 })
1066 ...
1067 },
1068 {
1069 // PowerShell
1070 //
1071 // Run a PowerShell script
1072 task!: null | bool | number | =~"^PowerShell@1$" | [...] | {...}
1073
1074 // PowerShell inputs
1075 inputs?: null |
1076 bool |
1077 number |
1078 string |
1079 [...] |
1080 close({
1081 // Type
1082 scriptType?: "inlineScript" | "filePath"
1083
1084 // Script Path
1085 scriptName?: string
1086
1087 // Arguments
1088 arguments?: string
1089
1090 // Working folder
1091 workingFolder?: string
1092
1093 // Inline Script
1094 inlineScript?: string
1095
1096 // Fail on Standard Error
1097 failOnStandardError?: bool
1098 })
1099 ...
1100 },
1101 {
1102 // Azure PowerShell
1103 //
1104 // Run a PowerShell script within an Azure environment
1105 task!: null | bool | number | =~"^AzurePowerShell@5$" | [...] | {...}
1106
1107 // Azure PowerShell inputs
1108 inputs!: null |
1109 bool |
1110 number |
1111 string |
1112 [...] |
1113 close({
1114 // Azure Subscription
1115 azureSubscription!: string
1116
1117 // Script Type
1118 ScriptType?: "FilePath" | "InlineScript"
1119
1120 // Script Path
1121 ScriptPath?: string
1122
1123 // Inline Script
1124 Inline?: string
1125
1126 // Script Arguments
1127 ScriptArguments?: string
1128
1129 // ErrorActionPreference
1130 errorActionPreference?: "stop" | "continue" | "silentlyContinue"
1131
1132 // Fail on Standard Error
1133 FailOnStandardError?: bool
1134
1135 // Azure PowerShell Version
1136 azurePowerShellVersion?: "LatestVersion" | "OtherVersion"
1137
1138 // Preferred Azure PowerShell Version
1139 preferredAzurePowerShellVersion?: string
1140
1141 // Use PowerShell Core
1142 pwsh?: bool
1143
1144 // Validate script signature
1145 validateScriptSignature?: bool
1146
1147 // Working Directory
1148 workingDirectory?: string
1149 })
1150 ...
1151 },
1152 {
1153 // Azure PowerShell
1154 //
1155 // Run a PowerShell script within an Azure environment
1156 task!: null | bool | number | =~"^AzurePowerShell@4$" | [...] | {...}
1157
1158 // Azure PowerShell inputs
1159 inputs!: null |
1160 bool |
1161 number |
1162 string |
1163 [...] |
1164 close({
1165 // Azure Subscription
1166 azureSubscription!: string
1167
1168 // Script Type
1169 ScriptType?: "FilePath" | "InlineScript"
1170
1171 // Script Path
1172 ScriptPath?: string
1173
1174 // Inline Script
1175 Inline?: string
1176
1177 // Script Arguments
1178 ScriptArguments?: string
1179
1180 // ErrorActionPreference
1181 errorActionPreference?: "stop" | "continue" | "silentlyContinue"
1182
1183 // Fail on Standard Error
1184 FailOnStandardError?: bool
1185
1186 // Restrict scope of context to current task
1187 RestrictContextToCurrentTask?: bool
1188
1189 // Azure PowerShell Version
1190 azurePowerShellVersion?: "LatestVersion" | "OtherVersion"
1191
1192 // Preferred Azure PowerShell Version
1193 preferredAzurePowerShellVersion?: string
1194
1195 // Use PowerShell Core
1196 pwsh?: bool
1197
1198 // Validate script signature
1199 validateScriptSignature?: bool
1200
1201 // Working Directory
1202 workingDirectory?: string
1203 })
1204 ...
1205 },
1206 {
1207 // Azure PowerShell
1208 //
1209 // Run a PowerShell script within an Azure environment
1210 task!: null | bool | number | =~"^AzurePowerShell@1$" | [...] | {...}
1211
1212 // Azure PowerShell inputs
1213 inputs?: null |
1214 bool |
1215 number |
1216 string |
1217 [...] |
1218 close({
1219 // Azure Connection Type
1220 ConnectedServiceNameSelector?: "ConnectedServiceName" | "ConnectedServiceNameARM"
1221
1222 // Azure Classic Subscription
1223 ConnectedServiceName?: string
1224
1225 // Azure Subscription
1226 ConnectedServiceNameARM?: string
1227
1228 // Script Type
1229 ScriptType?: "FilePath" | "InlineScript"
1230
1231 // Script Path
1232 ScriptPath?: string
1233
1234 // Inline Script
1235 Inline?: string
1236
1237 // Script Arguments
1238 ScriptArguments?: string
1239 })
1240 ...
1241 },
1242 {
1243 // Azure PowerShell
1244 //
1245 // Run a PowerShell script within an Azure environment
1246 task!: null | bool | number | =~"^AzurePowerShell@2$" | [...] | {...}
1247
1248 // Azure PowerShell inputs
1249 inputs?: null |
1250 bool |
1251 number |
1252 string |
1253 [...] |
1254 close({
1255 // Azure Connection Type
1256 azureConnectionType?: "ConnectedServiceName" | "ConnectedServiceNameARM"
1257
1258 // Azure Classic Subscription
1259 azureClassicSubscription?: string
1260
1261 // Azure Subscription
1262 azureSubscription?: string
1263
1264 // Script Type
1265 ScriptType?: "FilePath" | "InlineScript"
1266
1267 // Script Path
1268 ScriptPath?: string
1269
1270 // Inline Script
1271 Inline?: string
1272
1273 // Script Arguments
1274 ScriptArguments?: string
1275
1276 // Azure PowerShell Version
1277 azurePowerShellVersion?: "LatestVersion" | "OtherVersion"
1278
1279 // Preferred Azure PowerShell Version
1280 preferredAzurePowerShellVersion?: string
1281 })
1282 ...
1283 },
1284 {
1285 // Azure PowerShell
1286 //
1287 // Run a PowerShell script within an Azure environment
1288 task!: null | bool | number | =~"^AzurePowerShell@3$" | [...] | {...}
1289
1290 // Azure PowerShell inputs
1291 inputs?: null |
1292 bool |
1293 number |
1294 string |
1295 [...] |
1296 close({
1297 // Azure Connection Type
1298 azureConnectionType?: "ConnectedServiceName" | "ConnectedServiceNameARM"
1299
1300 // Azure Classic Subscription
1301 azureClassicSubscription?: string
1302
1303 // Azure Subscription
1304 azureSubscription?: string
1305
1306 // Script Type
1307 ScriptType?: "FilePath" | "InlineScript"
1308
1309 // Script Path
1310 ScriptPath?: string
1311
1312 // Inline Script
1313 Inline?: string
1314
1315 // Script Arguments
1316 ScriptArguments?: string
1317
1318 // ErrorActionPreference
1319 errorActionPreference?: "stop" | "continue" | "silentlyContinue"
1320
1321 // Fail on Standard Error
1322 FailOnStandardError?: bool
1323
1324 // Azure PowerShell Version
1325 azurePowerShellVersion?: "LatestVersion" | "OtherVersion"
1326
1327 // Preferred Azure PowerShell Version
1328 preferredAzurePowerShellVersion?: string
1329
1330 // Validate script signature
1331 validateScriptSignature?: bool
1332 })
1333 ...
1334 },
1335 {
1336 // MySQL database deploy
1337 //
1338 // Run scripts and make changes to a MySQL Database
1339 task!: null | bool | number | =~"^MysqlDeploymentOnMachineGroup@1$" | [...] | {...}
1340
1341 // MySQL database deploy inputs
1342 inputs!: null |
1343 bool |
1344 number |
1345 string |
1346 [...] |
1347 close({
1348 // Deploy MySql Using
1349 TaskNameSelector?: "SqlTaskFile" | "InlineSqlTask"
1350
1351 // MySQL Script
1352 SqlFile?: string
1353
1354 // Inline MySQL Script
1355 SqlInline?: string
1356
1357 // Host Name
1358 ServerName?: string
1359
1360 // Database Name
1361 DatabaseName?: string
1362
1363 // MySQL User Name
1364 SqlUsername!: string
1365
1366 // Password
1367 SqlPassword!: string
1368
1369 // Additional Arguments
1370 SqlAdditionalArguments?: string
1371 })
1372 ...
1373 },
1374 {
1375 // Python pip authenticate
1376 //
1377 // Authentication task for the pip client used for installing Python distributions
1378 task!: null | bool | number | =~"^PipAuthenticate@1$" | [...] | {...}
1379
1380 // Python pip authenticate inputs
1381 inputs?: null |
1382 bool |
1383 number |
1384 string |
1385 [...] |
1386 close({
1387 // 'Azure DevOps' Service Connection
1388 azureDevOpsServiceConnection?: string
1389
1390 // Azure Artifacts Feeds url.
1391 feedUrl?: string
1392
1393 // My feeds (select below)
1394 artifactFeeds?: string
1395
1396 // Feeds from external organizations
1397 pythonDownloadServiceConnections?: string
1398
1399 // Don't set primary index URL
1400 onlyAddExtraIndex?: bool
1401 })
1402 ...
1403 },
1404 {
1405 // Python pip authenticate
1406 //
1407 // Authentication task for the pip client used for installing Python distributions
1408 task!: null | bool | number | =~"^PipAuthenticate@0$" | [...] | {...}
1409
1410 // Python pip authenticate inputs
1411 inputs?: null |
1412 bool |
1413 number |
1414 string |
1415 [...] |
1416 close({
1417 // My feeds (select below)
1418 artifactFeeds?: string
1419
1420 // Feeds from external organizations
1421 externalFeeds?: string
1422 })
1423 ...
1424 },
1425 {
1426 // Maven
1427 //
1428 // Build, test, and deploy with Apache Maven
1429 task!: null | bool | number | =~"^Maven@4$" | [...] | {...}
1430
1431 // Maven inputs
1432 inputs?: null |
1433 bool |
1434 number |
1435 string |
1436 [...] |
1437 close({
1438 // Azure Resource Manager connection
1439 azureSubscription?: string
1440
1441 // Maven POM file
1442 mavenPomFile?: string
1443
1444 // Goal(s)
1445 goals?: string
1446
1447 // Options
1448 options?: string
1449
1450 // Publish to Azure Pipelines
1451 publishJUnitResults?: bool
1452
1453 // Test results files
1454 testResultsFiles?: string
1455
1456 // Test run title
1457 testRunTitle?: string
1458
1459 // Allow broken symbolic links
1460 allowBrokenSymlinks?: bool
1461
1462 // Code coverage tool
1463 codeCoverageToolOption?: "None" | "Cobertura" | "JaCoCo"
1464
1465 // Class inclusion/exclusion filters
1466 codeCoverageClassFilter?: string
1467
1468 // Class files directories
1469 codeCoverageClassFilesDirectories?: string
1470
1471 // Source files directories
1472 codeCoverageSourceDirectories?: string
1473
1474 // Fail when code coverage results are missing
1475 codeCoverageFailIfEmpty?: bool
1476
1477 // Restore original pom.xml after task execution
1478 codeCoverageRestoreOriginalPomXml?: bool
1479
1480 // Set JAVA_HOME by
1481 javaHomeOption?: "JDKVersion" | "Path"
1482
1483 // JDK version
1484 jdkVersionOption?: "default" | "1.21" | "1.17" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
1485
1486 // JDK path
1487 jdkDirectory?: string
1488
1489 // JDK architecture
1490 jdkArchitectureOption?: "x86" | "x64"
1491
1492 // Maven version
1493 mavenVersionOption?: "Default" | "Path"
1494
1495 // Maven path
1496 mavenDirectory?: string
1497
1498 // Set M2_HOME variable
1499 mavenSetM2Home?: bool
1500
1501 // Set MAVEN_OPTS to
1502 mavenOptions?: string
1503
1504 // Authenticate with Artifacts feeds
1505 mavenAuthenticateFeed?: bool
1506
1507 // Skip generating effective POM while authenticating with Artifacts feeds
1508 effectivePomSkip?: bool
1509
1510 // Run SonarQube or SonarCloud analysis
1511 sonarQubeRunAnalysis?: bool
1512
1513 // Use XML Jacoco reports for SonarQube analysis
1514 isJacocoCoverageReportXML?: bool
1515
1516 // SonarQube scanner for Maven version
1517 sqMavenPluginVersionChoice?: "latest" | "pom"
1518
1519 // Run Checkstyle
1520 checkStyleRunAnalysis?: bool
1521
1522 // Run PMD
1523 pmdRunAnalysis?: bool
1524
1525 // Run FindBugs
1526 findBugsRunAnalysis?: bool
1527
1528 // Run SpotBugs analysis
1529 spotBugsRunAnalysis?: bool
1530
1531 // Version number
1532 spotBugsVersion?: string
1533
1534 // The goal for the spotbugs plugin
1535 spotBugsGoal?: "spotbugs" | "check"
1536
1537 // Fail when bugs are found with spotbugs:check
1538 failWhenBugsFound?: bool
1539 })
1540 ...
1541 },
1542 {
1543 // Maven
1544 //
1545 // Build, test, and deploy with Apache Maven
1546 task!: null | bool | number | =~"^Maven@2$" | [...] | {...}
1547
1548 // Maven inputs
1549 inputs?: null |
1550 bool |
1551 number |
1552 string |
1553 [...] |
1554 close({
1555 // Maven POM file
1556 mavenPomFile?: string
1557
1558 // Goal(s)
1559 goals?: string
1560
1561 // Options
1562 options?: string
1563
1564 // Publish to Azure Pipelines
1565 publishJUnitResults?: bool
1566
1567 // Test results files
1568 testResultsFiles?: string
1569
1570 // Test run title
1571 testRunTitle?: string
1572
1573 // Allow broken symbolic links
1574 allowBrokenSymlinks?: bool
1575
1576 // Code coverage tool
1577 codeCoverageToolOption?: "None" | "Cobertura" | "JaCoCo"
1578
1579 // Class inclusion/exclusion filters
1580 codeCoverageClassFilter?: string
1581
1582 // Class files directories
1583 codeCoverageClassFilesDirectories?: string
1584
1585 // Source files directories
1586 codeCoverageSourceDirectories?: string
1587
1588 // Fail when code coverage results are missing
1589 codeCoverageFailIfEmpty?: bool
1590
1591 // Restore original pom.xml after task execution
1592 codeCoverageRestoreOriginalPomXml?: bool
1593
1594 // Set JAVA_HOME by
1595 javaHomeOption?: "JDKVersion" | "Path"
1596
1597 // JDK version
1598 jdkVersionOption?: "default" | "1.21" | "1.17" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
1599
1600 // JDK path
1601 jdkDirectory?: string
1602
1603 // JDK architecture
1604 jdkArchitectureOption?: "x86" | "x64"
1605
1606 // Maven version
1607 mavenVersionOption?: "Default" | "Path"
1608
1609 // Maven path
1610 mavenDirectory?: string
1611
1612 // Set M2_HOME variable
1613 mavenSetM2Home?: bool
1614
1615 // Set MAVEN_OPTS to
1616 mavenOptions?: string
1617
1618 // Authenticate with Artifacts feeds
1619 mavenAuthenticateFeed?: bool
1620
1621 // Run SonarQube or SonarCloud analysis
1622 sonarQubeRunAnalysis?: bool
1623
1624 // Use XML Jacoco reports for SonarQube analysis
1625 isJacocoCoverageReportXML?: bool
1626
1627 // SonarQube scanner for Maven version
1628 sqMavenPluginVersionChoice?: "latest" | "pom"
1629
1630 // Run Checkstyle
1631 checkStyleRunAnalysis?: bool
1632
1633 // Run PMD
1634 pmdRunAnalysis?: bool
1635
1636 // Run FindBugs
1637 findBugsRunAnalysis?: bool
1638 })
1639 ...
1640 },
1641 {
1642 // Maven
1643 //
1644 // Build, test, and deploy with Apache Maven
1645 task!: null | bool | number | =~"^Maven@3$" | [...] | {...}
1646
1647 // Maven inputs
1648 inputs?: null |
1649 bool |
1650 number |
1651 string |
1652 [...] |
1653 close({
1654 // Maven POM file
1655 mavenPomFile?: string
1656
1657 // Goal(s)
1658 goals?: string
1659
1660 // Options
1661 options?: string
1662
1663 // Publish to Azure Pipelines
1664 publishJUnitResults?: bool
1665
1666 // Test results files
1667 testResultsFiles?: string
1668
1669 // Test run title
1670 testRunTitle?: string
1671
1672 // Allow broken symbolic links
1673 allowBrokenSymlinks?: bool
1674
1675 // Code coverage tool
1676 codeCoverageToolOption?: "None" | "Cobertura" | "JaCoCo"
1677
1678 // Class inclusion/exclusion filters
1679 codeCoverageClassFilter?: string
1680
1681 // Class files directories
1682 codeCoverageClassFilesDirectories?: string
1683
1684 // Source files directories
1685 codeCoverageSourceDirectories?: string
1686
1687 // Fail when code coverage results are missing
1688 codeCoverageFailIfEmpty?: bool
1689
1690 // Restore original pom.xml after task execution
1691 codeCoverageRestoreOriginalPomXml?: bool
1692
1693 // Set JAVA_HOME by
1694 javaHomeOption?: "JDKVersion" | "Path"
1695
1696 // JDK version
1697 jdkVersionOption?: "default" | "1.21" | "1.17" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
1698
1699 // JDK path
1700 jdkDirectory?: string
1701
1702 // JDK architecture
1703 jdkArchitectureOption?: "x86" | "x64"
1704
1705 // Maven version
1706 mavenVersionOption?: "Default" | "Path"
1707
1708 // Maven path
1709 mavenDirectory?: string
1710
1711 // Set M2_HOME variable
1712 mavenSetM2Home?: bool
1713
1714 // Set MAVEN_OPTS to
1715 mavenOptions?: string
1716
1717 // Authenticate with Artifacts feeds
1718 mavenAuthenticateFeed?: bool
1719
1720 // Skip generating effective POM while authenticating with Artifacts feeds
1721 effectivePomSkip?: bool
1722
1723 // Run SonarQube or SonarCloud analysis
1724 sonarQubeRunAnalysis?: bool
1725
1726 // Use XML Jacoco reports for SonarQube analysis
1727 isJacocoCoverageReportXML?: bool
1728
1729 // SonarQube scanner for Maven version
1730 sqMavenPluginVersionChoice?: "latest" | "pom"
1731
1732 // Run Checkstyle
1733 checkStyleRunAnalysis?: bool
1734
1735 // Run PMD
1736 pmdRunAnalysis?: bool
1737
1738 // Run FindBugs
1739 findBugsRunAnalysis?: bool
1740
1741 // Run SpotBugs analysis
1742 spotBugsRunAnalysis?: bool
1743
1744 // Version number
1745 spotBugsVersion?: string
1746
1747 // The goal for the spotbugs plugin
1748 spotBugsGoal?: "spotbugs" | "check"
1749
1750 // Fail when bugs are found with spotbugs:check
1751 failWhenBugsFound?: bool
1752 })
1753 ...
1754 },
1755 {
1756 // Maven
1757 //
1758 // Build with Apache Maven
1759 task!: null | bool | number | =~"^Maven@1$" | [...] | {...}
1760
1761 // Maven inputs
1762 inputs?: null |
1763 bool |
1764 number |
1765 string |
1766 [...] |
1767 close({
1768 // Maven POM file
1769 mavenPomFile?: string
1770
1771 // Goal(s)
1772 goals?: string
1773
1774 // Options
1775 options?: string
1776
1777 // Publish to TFS/Team Services
1778 publishJUnitResults?: bool
1779
1780 // Test Results Files
1781 testResultsFiles?: string
1782
1783 // Test Run Title
1784 testRunTitle?: string
1785
1786 // Code Coverage Tool
1787 codeCoverageToolOption?: "None" | "Cobertura" | "JaCoCo"
1788
1789 // Class Inclusion/Exclusion Filters
1790 codeCoverageClassFilter?: string
1791
1792 // Class Files Directories
1793 codeCoverageClassFilesDirectories?: string
1794
1795 // Source Files Directories
1796 codeCoverageSourceDirectories?: string
1797
1798 // Fail When Code Coverage Results Are Missing
1799 codeCoverageFailIfEmpty?: bool
1800
1801 // Set JAVA_HOME by
1802 javaHomeOption?: "JDKVersion" | "Path"
1803
1804 // JDK Version
1805 jdkVersionOption?: "default" | "1.9" | "1.8" | "1.7" | "1.6"
1806
1807 // JDK Path
1808 jdkDirectory?: string
1809
1810 // JDK Architecture
1811 jdkArchitectureOption?: "x86" | "x64"
1812
1813 // Maven Version
1814 mavenVersionOption?: "Default" | "Path"
1815
1816 // Maven Path
1817 mavenDirectory?: string
1818
1819 // Set M2_HOME variable
1820 mavenSetM2Home?: bool
1821
1822 // Set MAVEN_OPTS to
1823 mavenOptions?: string
1824
1825 // Authenticate built-in Maven feeds
1826 mavenAuthenticateFeed?: bool
1827
1828 // Run SonarQube Analysis
1829 sonarQubeRunAnalysis?: bool
1830
1831 // SonarQube Endpoint
1832 sonarQubeServiceEndpoint?: string
1833
1834 // SonarQube Project Name
1835 sonarQubeProjectName?: string
1836
1837 // SonarQube Project Key
1838 sonarQubeProjectKey?: string
1839
1840 // SonarQube Project Version
1841 sonarQubeProjectVersion?: string
1842
1843 // The SonarQube server version is lower than 5.2
1844 sonarQubeSpecifyDB?: bool
1845
1846 // Db Connection String
1847 sonarQubeDBUrl?: string
1848
1849 // Db Username
1850 sonarQubeDBUsername?: string
1851
1852 // Db User Password
1853 sonarQubeDBPassword?: string
1854
1855 // Include full analysis report in the build summary (SQ 5.3+)
1856 sonarQubeIncludeFullReport?: bool
1857
1858 // Fail the build on quality gate failure (SQ 5.3+)
1859 sonarQubeFailWhenQualityGateFails?: bool
1860
1861 // Run Checkstyle
1862 checkStyleRunAnalysis?: bool
1863
1864 // Run PMD
1865 pmdRunAnalysis?: bool
1866
1867 // Run FindBugs
1868 findBugsRunAnalysis?: bool
1869 })
1870 ...
1871 },
1872 {
1873 // .NET Core
1874 //
1875 // Build, test, package, or publish a dotnet application, or run a custom dotnet command
1876 task!: null | bool | number | =~"^DotNetCoreCLI@2$" | [...] | {...}
1877
1878 // .NET Core inputs
1879 inputs?: null |
1880 bool |
1881 number |
1882 string |
1883 [...] |
1884 close({
1885 // Azure Resource Manager connection
1886 azureSubscription?: string
1887
1888 // Command
1889 command?: "build" | "push" | "pack" | "publish" | "restore" | "run" | "test" | "custom"
1890
1891 // Publish web projects
1892 publishWebProjects?: bool
1893
1894 // Path to project(s) or solution(s)
1895 projects?: string
1896
1897 // Custom command
1898 custom?: string
1899
1900 // Arguments
1901 arguments?: string
1902
1903 // Arguments
1904 restoreArguments?: string
1905
1906 // Publish test results and code coverage
1907 publishTestResults?: bool
1908
1909 // Test run title
1910 testRunTitle?: string
1911
1912 // Zip published projects
1913 zipAfterPublish?: bool
1914
1915 // Add project's folder name to publish path
1916 modifyOutputPath?: bool
1917
1918 // Feeds to use
1919 feedsToUse?: "select" | "config"
1920
1921 // Use packages from this Azure Artifacts feed. Select from the dropdown or
1922 // enter [project name/]feed name.
1923 vstsFeed?: string
1924
1925 // Use packages from NuGet.org
1926 includeNuGetOrg?: bool
1927
1928 // Path to NuGet.config
1929 nugetConfigPath?: string
1930
1931 // Credentials for feeds outside this organization/collection
1932 externalFeedCredentials?: string
1933
1934 // Disable local cache
1935 noCache?: bool
1936
1937 // Destination directory
1938 restoreDirectory?: string
1939
1940 // Verbosity
1941 verbosityRestore?: "-" | "Quiet" | "Minimal" | "Normal" | "Detailed" | "Diagnostic"
1942
1943 // Path to NuGet package(s) to publish
1944 packagesToPush?: string
1945
1946 // Target feed location
1947 nuGetFeedType?: "internal" | "external"
1948
1949 // Target feed
1950 publishVstsFeed?: string
1951
1952 // Publish pipeline metadata
1953 publishPackageMetadata?: bool
1954
1955 // NuGet server
1956 publishFeedCredentials?: string
1957
1958 // Path to csproj or nuspec file(s) to pack
1959 packagesToPack?: string
1960
1961 // Configuration to Package
1962 configuration?: string
1963
1964 // Package Folder
1965 packDirectory?: string
1966
1967 // Do not build
1968 nobuild?: bool
1969
1970 // Include Symbols
1971 includesymbols?: bool
1972
1973 // Include Source
1974 includesource?: bool
1975
1976 // Automatic package versioning
1977 versioningScheme?: "off" | "byPrereleaseNumber" | "byEnvVar" | "byBuildNumber"
1978
1979 // Environment variable
1980 versionEnvVar?: string
1981
1982 // Major
1983 majorVersion?: string
1984
1985 // Minor
1986 minorVersion?: string
1987
1988 // Patch
1989 patchVersion?: string
1990
1991 // Additional build properties
1992 buildProperties?: string
1993
1994 // Verbosity
1995 verbosityPack?: "-" | "Quiet" | "Minimal" | "Normal" | "Detailed" | "Diagnostic"
1996
1997 // Working directory
1998 workingDirectory?: string
1999
2000 // Set timeout for package download request
2001 requestTimeout?: int
2002 })
2003 ...
2004 },
2005 {
2006 // .NET Core (PREVIEW)
2007 //
2008 // Build, test and publish using dotnet core command-line.
2009 task!: null | bool | number | =~"^DotNetCoreCLI@0$" | [...] | {...}
2010
2011 // .NET Core (PREVIEW) inputs
2012 inputs?: null |
2013 bool |
2014 number |
2015 string |
2016 [...] |
2017 close({
2018 // Command
2019 command?: "build" | "publish" | "restore" | "test" | "run"
2020
2021 // Publish Web Projects
2022 publishWebProjects?: bool
2023
2024 // Project(s)
2025 projects?: string
2026
2027 // Arguments
2028 arguments?: string
2029
2030 // Zip Published Projects
2031 zipAfterPublish?: bool
2032 })
2033 ...
2034 },
2035 {
2036 // .NET Core
2037 //
2038 // Build, test and publish using dotnet core command-line.
2039 task!: null | bool | number | =~"^DotNetCoreCLI@1$" | [...] | {...}
2040
2041 // .NET Core inputs
2042 inputs?: null |
2043 bool |
2044 number |
2045 string |
2046 [...] |
2047 close({
2048 // Command
2049 command?: "build" | "publish" | "restore" | "test" | "run"
2050
2051 // Publish Web Projects
2052 publishWebProjects?: bool
2053
2054 // Project(s)
2055 projects?: string
2056
2057 // Arguments
2058 arguments?: string
2059
2060 // Zip Published Projects
2061 zipAfterPublish?: bool
2062 })
2063 ...
2064 },
2065 {
2066 // Xamarin Component Restore
2067 //
2068 // This task is deprecated. Use 'NuGet' instead.
2069 task!: null | bool | number | =~"^XamarinComponentRestore@0$" | [...] | {...}
2070
2071 // Xamarin Component Restore inputs
2072 inputs!: null |
2073 bool |
2074 number |
2075 string |
2076 [...] |
2077 close({
2078 // Path to solution
2079 solutionFile?: string
2080
2081 // Email
2082 email!: string
2083
2084 // Password
2085 password!: string
2086 })
2087 ...
2088 },
2089 {
2090 // Azure App Service deploy
2091 //
2092 // Deploy to Azure App Service a web, mobile, or API app using Docker, Java,
2093 // .NET, .NET Core, Node.js, PHP, Python, or Ruby
2094 task!: null | bool | number | =~"^AzureRmWebAppDeployment@4$" | [...] | {...}
2095
2096 // Azure App Service deploy inputs
2097 inputs?: null |
2098 bool |
2099 number |
2100 string |
2101 [...] |
2102 close({
2103 // Connection type
2104 ConnectionType?: "AzureRM" | "PublishProfile"
2105
2106 // Azure subscription
2107 azureSubscription?: string
2108
2109 // Publish profile path
2110 PublishProfilePath?: string
2111
2112 // Publish profile password
2113 PublishProfilePassword?: string
2114
2115 // App Service type
2116 appType?: "webApp" |
2117 "webAppLinux" |
2118 "webAppContainer" |
2119 "webAppHyperVContainer" |
2120 "functionApp" |
2121 "functionAppLinux" |
2122 "functionAppContainer" |
2123 "apiApp" |
2124 "mobileApp"
2125
2126 // App Service name
2127 WebAppName?: string
2128
2129 // Deploy to Slot or App Service Environment
2130 deployToSlotOrASE?: bool
2131
2132 // Resource group
2133 ResourceGroupName?: string
2134
2135 // Slot
2136 SlotName?: string
2137
2138 // Registry or Namespace
2139 DockerNamespace?: string
2140
2141 // Image
2142 DockerRepository?: string
2143
2144 // Tag
2145 DockerImageTag?: string
2146
2147 // Virtual application
2148 VirtualApplication?: string
2149
2150 // Package or folder
2151 packageForLinux?: string
2152
2153 // Runtime Stack
2154 RuntimeStack?: string
2155
2156 // Runtime Stack
2157 RuntimeStackFunction?: "DOTNET|2.2" |
2158 "DOTNET|3.1" |
2159 "JAVA|8" |
2160 "JAVA|11" |
2161 "NODE|8" |
2162 "NODE|10" |
2163 "NODE|12" |
2164 "NODE|14" |
2165 "NODE|20" |
2166 "NODE|22" |
2167 "PYTHON|3.6" |
2168 "PYTHON|3.7" |
2169 "PYTHON|3.8"
2170
2171 // Startup command
2172 StartupCommand?: string
2173
2174 // Deployment script type
2175 ScriptType?: "" | "Inline Script" | "File Path"
2176
2177 // Inline Script
2178 InlineScript?: string
2179
2180 // Deployment script path
2181 ScriptPath?: string
2182
2183 // Generate web.config parameters for Python, Node.js, Go and Java apps
2184 WebConfigParameters?: string
2185
2186 // App settings
2187 AppSettings?: string
2188
2189 // Configuration settings
2190 ConfigurationSettings?: string
2191
2192 // Select deployment method
2193 enableCustomDeployment?: bool
2194
2195 // Deployment method
2196 DeploymentType?: "webDeploy" | "zipDeploy" | "runFromZip"
2197
2198 // Take App Offline
2199 TakeAppOfflineFlag?: bool
2200
2201 // SetParameters file
2202 SetParametersFile?: string
2203
2204 // Remove additional files at destination
2205 RemoveAdditionalFilesFlag?: bool
2206
2207 // Exclude files from the App_Data folder
2208 ExcludeFilesFromAppDataFlag?: bool
2209
2210 // Additional arguments
2211 AdditionalArguments?: string
2212
2213 // Rename locked files
2214 RenameFilesFlag?: bool
2215
2216 // XML transformation
2217 enableXmlTransform?: bool
2218
2219 // XML variable substitution
2220 enableXmlVariableSubstitution?: bool
2221
2222 // JSON variable substitution
2223 JSONFiles?: string
2224 })
2225 ...
2226 },
2227 {
2228 // Azure App Service Deploy
2229 //
2230 // Update Azure App Service using Web Deploy / Kudu REST APIs
2231 task!: null | bool | number | =~"^AzureRmWebAppDeployment@2$" | [...] | {...}
2232
2233 // Azure App Service Deploy inputs
2234 inputs!: null |
2235 bool |
2236 number |
2237 string |
2238 [...] |
2239 close({
2240 // Azure Subscription
2241 ConnectedServiceName!: string
2242
2243 // App Service name
2244 WebAppName!: string
2245
2246 // Deploy to slot
2247 DeployToSlotFlag?: bool
2248
2249 // Resource group
2250 ResourceGroupName?: string
2251
2252 // Slot
2253 SlotName?: string
2254
2255 // Virtual Application
2256 VirtualApplication?: string
2257
2258 // Package or Folder
2259 Package?: string
2260
2261 // App Service URL
2262 WebAppUri?: string
2263
2264 // Publish using Web Deploy
2265 UseWebDeploy?: bool
2266
2267 // SetParameters File
2268 SetParametersFile?: string
2269
2270 // Remove Additional Files at Destination
2271 RemoveAdditionalFilesFlag?: bool
2272
2273 // Exclude Files from the App_Data Folder
2274 ExcludeFilesFromAppDataFlag?: bool
2275
2276 // Additional Arguments
2277 AdditionalArguments?: string
2278
2279 // Take App Offline
2280 TakeAppOfflineFlag?: bool
2281 })
2282 ...
2283 },
2284 {
2285 // Azure App Service deploy
2286 //
2287 // Deploy to Azure App Service a web, mobile, or API app using Docker, Java,
2288 // .NET, .NET Core, Node.js, PHP, Python, or Ruby
2289 task!: null | bool | number | =~"^AzureRmWebAppDeployment@5$" | [...] | {...}
2290
2291 // Azure App Service deploy inputs
2292 inputs?: null |
2293 bool |
2294 number |
2295 string |
2296 [...] |
2297 close({
2298 // Connection type
2299 ConnectionType?: "AzureRM" | "PublishProfile"
2300
2301 // Azure subscription
2302 azureSubscription?: string
2303
2304 // Publish profile path
2305 PublishProfilePath?: string
2306
2307 // Publish profile password
2308 PublishProfilePassword?: string
2309
2310 // App Service type
2311 appType?: "webApp" |
2312 "webAppLinux" |
2313 "webAppContainer" |
2314 "webAppHyperVContainer" |
2315 "functionApp" |
2316 "functionAppLinux" |
2317 "functionAppContainer" |
2318 "apiApp" |
2319 "mobileApp"
2320
2321 // App Service name
2322 WebAppName?: string
2323
2324 // Deploy to Slot or App Service Environment
2325 deployToSlotOrASE?: bool
2326
2327 // Resource group
2328 ResourceGroupName?: string
2329
2330 // Slot
2331 SlotName?: string
2332
2333 // Registry or Namespace
2334 DockerNamespace?: string
2335
2336 // Image
2337 DockerRepository?: string
2338
2339 // Tag
2340 DockerImageTag?: string
2341
2342 // Virtual application
2343 VirtualApplication?: string
2344
2345 // Package or folder
2346 packageForLinux?: string
2347
2348 // Runtime Stack
2349 RuntimeStack?: "DOTNETCORE|9.0" |
2350 "DOTNETCORE|8.0" |
2351 "DOTNETCORE|7.0" |
2352 "DOTNETCORE|6.0" |
2353 "NODE|22-lts" |
2354 "NODE|20-lts" |
2355 "NODE|18-lts" |
2356 "NODE|16-lts" |
2357 "PYTHON|3.13" |
2358 "PYTHON|3.12" |
2359 "PYTHON|3.11" |
2360 "PYTHON|3.10" |
2361 "PYTHON|3.9" |
2362 "PYTHON|3.8" |
2363 "PHP|8.3" |
2364 "PHP|8.2" |
2365 "PHP|8.1" |
2366 "PHP|8.0" |
2367 "JAVA|21-java21" |
2368 "JAVA|17-java17" |
2369 "JAVA|11-java11" |
2370 "JAVA|8-jre8" |
2371 "JBOSSEAP|8-java17" |
2372 "JBOSSEAP|8-java11" |
2373 "JBOSSEAP|7-java17" |
2374 "JBOSSEAP|7-java11" |
2375 "JBOSSEAP|7-java8" |
2376 "TOMCAT|10.1-java21" |
2377 "TOMCAT|10.1-java17" |
2378 "TOMCAT|10.1-java11" |
2379 "TOMCAT|10.0-java17" |
2380 "TOMCAT|10.0-java11" |
2381 "TOMCAT|10.0-jre8" |
2382 "TOMCAT|9.0-java21" |
2383 "TOMCAT|9.0-java17" |
2384 "TOMCAT|9.0-java11" |
2385 "TOMCAT|9.0-jre8" |
2386 "TOMCAT|8.5-java11" |
2387 "TOMCAT|8.5-jre8"
2388
2389 // Runtime Stack
2390 RuntimeStackFunction?: "DOTNET|2.2" |
2391 "DOTNET|3.1" |
2392 "JAVA|8" |
2393 "JAVA|11" |
2394 "NODE|8" |
2395 "NODE|10" |
2396 "NODE|12" |
2397 "NODE|14" |
2398 "NODE|20" |
2399 "NODE|22" |
2400 "PYTHON|3.6" |
2401 "PYTHON|3.7" |
2402 "PYTHON|3.8"
2403
2404 // Startup command
2405 StartupCommand?: string
2406
2407 // Deployment script type
2408 ScriptType?: "" | "Inline Script" | "File Path"
2409
2410 // Inline Script
2411 InlineScript?: string
2412
2413 // Deployment script path
2414 ScriptPath?: string
2415
2416 // Generate web.config parameters for Python, Node.js, Go and Java apps
2417 WebConfigParameters?: string
2418
2419 // App settings
2420 AppSettings?: string
2421
2422 // Configuration settings
2423 ConfigurationSettings?: string
2424
2425 // Select deployment method
2426 enableCustomDeployment?: bool
2427
2428 // Deployment method
2429 DeploymentType?: "webDeploy" | "zipDeploy" | "runFromZip"
2430
2431 // Take App Offline
2432 TakeAppOfflineFlag?: bool
2433
2434 // SetParameters file
2435 SetParametersFile?: string
2436
2437 // Remove additional files at destination
2438 RemoveAdditionalFilesFlag?: bool
2439
2440 // Exclude files from the App_Data folder
2441 ExcludeFilesFromAppDataFlag?: bool
2442
2443 // Additional arguments
2444 AdditionalArguments?: string
2445
2446 // Rename locked files
2447 RenameFilesFlag?: bool
2448
2449 // XML transformation
2450 enableXmlTransform?: bool
2451
2452 // XML variable substitution
2453 enableXmlVariableSubstitution?: bool
2454
2455 // JSON variable substitution
2456 JSONFiles?: string
2457
2458 // Deployment method
2459 DeploymentTypeLinux?: "oneDeploy" | "zipDeploy"
2460
2461 // Enable clean deployment
2462 CleanDeploymentFlag?: bool
2463 })
2464 ...
2465 },
2466 {
2467 // Azure App Service deploy
2468 //
2469 // Deploy to Azure App Service a web, mobile, or API app using Docker, Java,
2470 // .NET, .NET Core, Node.js, PHP, Python, or Ruby
2471 task!: null | bool | number | =~"^AzureRmWebAppDeployment@3$" | [...] | {...}
2472
2473 // Azure App Service deploy inputs
2474 inputs!: null |
2475 bool |
2476 number |
2477 string |
2478 [...] |
2479 close({
2480 // Azure subscription
2481 azureSubscription!: string
2482
2483 // App type
2484 appType?: "app" | "applinux" | "functionapp" | "api" | "mobileapp"
2485
2486 // App Service name
2487 WebAppName!: string
2488
2489 // Deploy to slot
2490 DeployToSlotFlag?: bool
2491
2492 // Resource group
2493 ResourceGroupName?: string
2494
2495 // Slot
2496 SlotName?: string
2497
2498 // Image Source
2499 ImageSource?: "Registry" | "Builtin"
2500
2501 // Registry
2502 AzureContainerRegistry?: string
2503
2504 // Registry Login Server Name
2505 AzureContainerRegistryLoginServer?: string
2506
2507 // Image
2508 AzureContainerRegistryImage?: string
2509
2510 // Tag
2511 AzureContainerRegistryTag?: string
2512
2513 // Repository Access
2514 DockerRepositoryAccess?: "private" | "public"
2515
2516 // Registry Connection
2517 dockerRegistryConnection?: string
2518
2519 // Image
2520 PrivateRegistryImage?: string
2521
2522 // Tag
2523 PrivateRegistryTag?: string
2524
2525 // Registry or Namespace
2526 DockerNamespace?: string
2527
2528 // Image
2529 DockerRepository?: string
2530
2531 // Tag
2532 DockerImageTag?: string
2533
2534 // Virtual application
2535 VirtualApplication?: string
2536
2537 // Package or folder
2538 Package?: string
2539
2540 // Package or folder
2541 packageForLinux?: string
2542
2543 // Runtime Stack
2544 RuntimeStack?: string
2545
2546 // Startup command
2547 StartupCommand?: string
2548
2549 // App Service URL
2550 WebAppUri?: string
2551
2552 // Deployment script type
2553 ScriptType?: "" | "Inline Script" | "File Path"
2554
2555 // Inline Script
2556 InlineScript?: string
2557
2558 // Deployment script path
2559 ScriptPath?: string
2560
2561 // Generate Web.config
2562 GenerateWebConfig?: bool
2563
2564 // Web.config parameters
2565 WebConfigParameters?: string
2566
2567 // App settings
2568 AppSettings?: string
2569
2570 // Configuration settings
2571 ConfigurationSettings?: string
2572
2573 // Take App Offline
2574 TakeAppOfflineFlag?: bool
2575
2576 // Publish using Web Deploy
2577 UseWebDeploy?: bool
2578
2579 // SetParameters file
2580 SetParametersFile?: string
2581
2582 // Remove additional files at destination
2583 RemoveAdditionalFilesFlag?: bool
2584
2585 // Exclude files from the App_Data folder
2586 ExcludeFilesFromAppDataFlag?: bool
2587
2588 // Additional arguments
2589 AdditionalArguments?: string
2590
2591 // Rename locked files
2592 RenameFilesFlag?: bool
2593
2594 // XML transformation
2595 enableXmlTransform?: bool
2596
2597 // XML variable substitution
2598 enableXmlVariableSubstitution?: bool
2599
2600 // JSON variable substitution
2601 JSONFiles?: string
2602 })
2603 ...
2604 },
2605 {
2606 // PowerShell on target machines
2607 //
2608 // Execute PowerShell scripts on remote machines using PSSession and Invoke-Command for remoting
2609 task!: null | bool | number | =~"^PowerShellOnTargetMachines@3$" | [...] | {...}
2610
2611 // PowerShell on target machines inputs
2612 inputs!: null |
2613 bool |
2614 number |
2615 string |
2616 [...] |
2617 close({
2618 // Machines
2619 Machines!: string
2620
2621 // Username
2622 UserName?: string
2623
2624 // Password
2625 UserPassword?: string
2626
2627 // Script Type
2628 ScriptType?: "FilePath" | "Inline"
2629
2630 // Script File Path
2631 ScriptPath?: string
2632
2633 // Script
2634 InlineScript?: string
2635
2636 // Script Arguments
2637 ScriptArguments?: string
2638
2639 // Initialization script
2640 InitializationScript?: string
2641
2642 // Session Variables
2643 SessionVariables?: string
2644
2645 // Protocol
2646 CommunicationProtocol?: "Http" | "Https"
2647
2648 // Authentication
2649 AuthenticationMechanism?: "Default" | "Credssp"
2650
2651 // Session Option parameters
2652 NewPsSessionOptionArguments?: string
2653
2654 // ErrorActionPreference
2655 ErrorActionPreference?: "stop" | "continue" | "silentlyContinue"
2656
2657 // Fail on Standard Error
2658 failOnStderr?: bool
2659
2660 // Ignore $LASTEXITCODE
2661 ignoreLASTEXITCODE?: bool
2662
2663 // Working Directory
2664 WorkingDirectory?: string
2665
2666 // Run PowerShell in Parallel
2667 RunPowershellInParallel?: bool
2668 })
2669 ...
2670 },
2671 {
2672 // PowerShell on Target Machines
2673 //
2674 // Execute PowerShell scripts on remote machine(s)
2675 task!: null | bool | number | =~"^PowerShellOnTargetMachines@1$" | [...] | {...}
2676
2677 // PowerShell on Target Machines inputs
2678 inputs!: null |
2679 bool |
2680 number |
2681 string |
2682 [...] |
2683 close({
2684 // Machines
2685 EnvironmentName!: string
2686
2687 // Admin Login
2688 AdminUserName?: string
2689
2690 // Password
2691 AdminPassword?: string
2692
2693 // Protocol
2694 Protocol?: "Http" | "Https"
2695
2696 // Test Certificate
2697 TestCertificate?: bool
2698
2699 // PowerShell Script
2700 ScriptPath!: string
2701
2702 // Script Arguments
2703 ScriptArguments?: string
2704
2705 // Initialization Script
2706 InitializationScriptPath?: string
2707
2708 // Session Variables
2709 SessionVariables?: string
2710
2711 // Run PowerShell in Parallel
2712 RunPowershellInParallel?: bool
2713
2714 // Select Machines By
2715 ResourceFilteringMethod?: "machineNames" | "tags"
2716
2717 // Filter Criteria
2718 MachineNames?: string
2719 })
2720 ...
2721 },
2722 {
2723 // PowerShell on Target Machines
2724 //
2725 // Execute PowerShell scripts on remote machine(s)
2726 task!: null | bool | number | =~"^PowerShellOnTargetMachines@2$" | [...] | {...}
2727
2728 // PowerShell on Target Machines inputs
2729 inputs!: null |
2730 bool |
2731 number |
2732 string |
2733 [...] |
2734 close({
2735 // Machines
2736 EnvironmentName!: string
2737
2738 // Admin Login
2739 AdminUserName?: string
2740
2741 // Password
2742 AdminPassword?: string
2743
2744 // Protocol
2745 Protocol?: "Http" | "Https"
2746
2747 // Test Certificate
2748 TestCertificate?: bool
2749
2750 // PowerShell Script
2751 ScriptPath!: string
2752
2753 // Script Arguments
2754 ScriptArguments?: string
2755
2756 // Initialization Script
2757 InitializationScriptPath?: string
2758
2759 // Session Variables
2760 SessionVariables?: string
2761
2762 // Run PowerShell in Parallel
2763 RunPowershellInParallel?: bool
2764
2765 // Select Machines By
2766 ResourceFilteringMethod?: "machineNames" | "tags"
2767
2768 // Filter Criteria
2769 MachineNames?: string
2770 })
2771 ...
2772 },
2773 {
2774 // Publish code coverage
2775 //
2776 // Publish Cobertura or JaCoCo code coverage results from a build
2777 task!: null | bool | number | =~"^PublishCodeCoverageResults@1$" | [...] | {...}
2778
2779 // Publish code coverage inputs
2780 inputs!: null |
2781 bool |
2782 number |
2783 string |
2784 [...] |
2785 close({
2786 // Code coverage tool
2787 codeCoverageTool?: "Cobertura" | "JaCoCo"
2788
2789 // Summary file
2790 summaryFileLocation!: string
2791
2792 // Path to Source files
2793 pathToSources?: string
2794
2795 // Report directory
2796 reportDirectory?: string
2797
2798 // Additional files
2799 additionalCodeCoverageFiles?: string
2800
2801 // Fail when code coverage results are missing
2802 failIfCoverageEmpty?: bool
2803 })
2804 ...
2805 },
2806 {
2807 // Run functional tests
2808 //
2809 // Deprecated: This task and it’s companion task (Visual Studio Test Agent
2810 // Deployment) are deprecated. Use the 'Visual Studio Test' task instead. The
2811 // VSTest task can run unit as well as functional tests. Run tests on one or
2812 // more agents using the multi-agent job setting. Use the 'Visual Studio Test
2813 // Platform' task to run tests without needing Visual Studio on the agent.
2814 // VSTest task also brings new capabilities such as automatically rerunning
2815 // failed tests.
2816 task!: null | bool | number | =~"^RunVisualStudioTestsusingTestAgent@1$" | [...] | {...}
2817
2818 // Run functional tests inputs
2819 inputs!: null |
2820 bool |
2821 number |
2822 string |
2823 [...] |
2824 close({
2825 // Machines
2826 testMachineGroup!: string
2827
2828 // Test Drop Location
2829 dropLocation!: string
2830
2831 // Test Selection
2832 testSelection?: "testAssembly" | "testPlan"
2833
2834 // Test Plan
2835 testPlan?: string
2836
2837 // Test Suite
2838 testSuite?: string
2839
2840 // Test Configuration
2841 testConfiguration?: string
2842
2843 // Test Assembly
2844 sourcefilters?: string
2845
2846 // Test Filter criteria
2847 testFilterCriteria?: string
2848
2849 // Run Settings File
2850 runSettingsFile?: string
2851
2852 // Override Test Run Parameters
2853 overrideRunParams?: string
2854
2855 // Code Coverage Enabled
2856 codeCoverageEnabled?: bool
2857
2858 // Distribute tests by number of machines
2859 customSlicingEnabled?: bool
2860
2861 // Test Run Title
2862 testRunTitle?: string
2863
2864 // Platform
2865 platform?: string
2866
2867 // Configuration
2868 configuration?: string
2869
2870 // Test Configurations
2871 testConfigurations?: string
2872
2873 // Application Under Test Machines
2874 autMachineGroup?: string
2875 })
2876 ...
2877 },
2878 {
2879 // Manual intervention
2880 //
2881 // Pause deployment and wait for manual intervention
2882 task!: null | bool | number | =~"^ManualIntervention@8$" | [...] | {...}
2883
2884 // Manual intervention inputs
2885 inputs?: null |
2886 bool |
2887 number |
2888 string |
2889 [...] |
2890 close({
2891 // Instructions
2892 instructions?: string
2893
2894 // Notify users
2895 emailRecipients?: string
2896
2897 // On timeout
2898 onTimeout?: "reject" | "resume"
2899 })
2900 ...
2901 },
2902 {
2903 // Install Apple provisioning profile
2904 //
2905 // Install an Apple provisioning profile required to build on a macOS agent machine
2906 task!: null | bool | number | =~"^InstallAppleProvisioningProfile@1$" | [...] | {...}
2907
2908 // Install Apple provisioning profile inputs
2909 inputs?: null |
2910 bool |
2911 number |
2912 string |
2913 [...] |
2914 close({
2915 // Provisioning profile location
2916 provisioningProfileLocation?: "secureFiles" | "sourceRepository"
2917
2918 // Provisioning profile
2919 provProfileSecureFile?: string
2920
2921 // Provisioning profile
2922 provProfileSourceRepository?: string
2923
2924 // Remove profile after build
2925 removeProfile?: bool
2926 })
2927 ...
2928 },
2929 {
2930 // Install Apple Provisioning Profile
2931 //
2932 // Install an Apple provisioning profile required to build on a macOS agent
2933 task!: null | bool | number | =~"^InstallAppleProvisioningProfile@0$" | [...] | {...}
2934
2935 // Install Apple Provisioning Profile inputs
2936 inputs!: null |
2937 bool |
2938 number |
2939 string |
2940 [...] |
2941 close({
2942 // Provisioning Profile
2943 provProfileSecureFile!: string
2944
2945 // Remove Profile After Build
2946 removeProfile?: bool
2947 })
2948 ...
2949 },
2950 {
2951 // SonarQube for MSBuild - End Analysis
2952 //
2953 // [DEPRECATED] Finish the analysis and upload the results to SonarQube
2954 task!: null | bool | number | =~"^SonarQubePostTest@1$" | [...] | {...}
2955
2956 // SonarQube for MSBuild - End Analysis inputs
2957 inputs?: null | bool | number | string | [...] | close({})
2958 ...
2959 },
2960 {
2961 // PyPI publisher
2962 //
2963 // Create and upload an sdist or wheel to a PyPI-compatible index using Twine
2964 task!: null | bool | number | =~"^PyPIPublisher@0$" | [...] | {...}
2965
2966 // PyPI publisher inputs
2967 inputs!: null |
2968 bool |
2969 number |
2970 string |
2971 [...] |
2972 close({
2973 // PyPI service connection
2974 pypiConnection!: string
2975
2976 // Python package directory
2977 packageDirectory!: string
2978
2979 // Also publish a wheel
2980 alsoPublishWheel?: bool
2981 })
2982 ...
2983 },
2984 {
2985 // Chef Knife
2986 //
2987 // Run scripts with Knife commands on your Chef workstation
2988 task!: null | bool | number | =~"^ChefKnife@1$" | [...] | {...}
2989
2990 // Chef Knife inputs
2991 inputs!: null |
2992 bool |
2993 number |
2994 string |
2995 [...] |
2996 close({
2997 // Chef Subscription
2998 ConnectedServiceName!: string
2999
3000 // Script Path
3001 ScriptPath!: string
3002
3003 // Script Arguments
3004 ScriptArguments?: string
3005 })
3006 ...
3007 },
3008 {
3009 // Go tool installer
3010 //
3011 // Find in cache or download a specific version of Go and add it to the PATH
3012 task!: null | bool | number | =~"^GoTool@0$" | [...] | {...}
3013
3014 // Go tool installer inputs
3015 inputs?: null |
3016 bool |
3017 number |
3018 string |
3019 [...] |
3020 close({
3021 // Version
3022 version?: string
3023
3024 // GOPATH
3025 goPath?: string
3026
3027 // GOBIN
3028 goBin?: string
3029 })
3030 ...
3031 },
3032 {
3033 // Xcode Package iOS
3034 //
3035 // Generate an .ipa file from Xcode build output using xcrun (Xcode 7 or below)
3036 task!: null | bool | number | =~"^XcodePackageiOS@0$" | [...] | {...}
3037
3038 // Xcode Package iOS inputs
3039 inputs!: null |
3040 bool |
3041 number |
3042 string |
3043 [...] |
3044 close({
3045 // Name of .app
3046 appName?: string
3047
3048 // Name of .ipa
3049 ipaName?: string
3050
3051 // Provisioning Profile Name
3052 provisioningProfile!: string
3053
3054 // SDK
3055 sdk?: string
3056
3057 // Path to .app
3058 appPath?: string
3059
3060 // Path to place .ipa
3061 ipaPath?: string
3062 })
3063 ...
3064 },
3065 {
3066 // Go
3067 //
3068 // Get, build, or test a Go application, or run a custom Go command
3069 task!: null | bool | number | =~"^Go@0$" | [...] | {...}
3070
3071 // Go inputs
3072 inputs?: null |
3073 bool |
3074 number |
3075 string |
3076 [...] |
3077 close({
3078 // Command
3079 command?: "get" | "build" | "test" | "custom"
3080
3081 // Custom command
3082 customCommand?: string
3083
3084 // Arguments
3085 arguments?: string
3086
3087 // Working directory
3088 workingDirectory?: string
3089 })
3090 ...
3091 },
3092 {
3093 // Publish Pipeline Metadata
3094 //
3095 // Publish Pipeline Metadata to Evidence store
3096 task!: null | bool | number | =~"^PublishPipelineMetadata@0$" | [...] | {...}
3097
3098 // Publish Pipeline Metadata inputs
3099 inputs?: null | bool | number | string | [...] | close({})
3100 ...
3101 },
3102 {
3103 // Docker
3104 //
3105 // Build, tag, push, or run Docker images, or run a Docker command
3106 task!: null | bool | number | =~"^Docker@0$" | [...] | {...}
3107
3108 // Docker inputs
3109 inputs?: null |
3110 bool |
3111 number |
3112 string |
3113 [...] |
3114 close({
3115 // Container Registry Type
3116 containerregistrytype?: "Azure Container Registry" | "Container Registry"
3117
3118 // Docker Registry Service Connection
3119 dockerRegistryConnection?: string
3120
3121 // Azure subscription
3122 azureSubscription?: string
3123
3124 // Azure Container Registry
3125 azureContainerRegistry?: string
3126
3127 // Action
3128 action?: "Build an image" |
3129 "Tag images" |
3130 "Push an image" |
3131 "Push images" |
3132 "Run an image" |
3133 "Run a Docker command"
3134
3135 // Docker File
3136 dockerFile?: string
3137
3138 // Add base image metadata to image(s)
3139 addBaseImageData?: bool
3140
3141 // Build Arguments
3142 buildArguments?: string
3143
3144 // Use Default Build Context
3145 defaultContext?: bool
3146
3147 // Build Context
3148 context?: string
3149
3150 // Image Name
3151 imageName?: string
3152
3153 // Image Names Path
3154 imageNamesPath?: string
3155
3156 // Qualify Image Name
3157 qualifyImageName?: bool
3158
3159 // Additional Image Tags
3160 additionalImageTags?: string
3161
3162 // Include Source Tags
3163 includeSourceTags?: bool
3164
3165 // Include Latest Tag
3166 includeLatestTag?: bool
3167
3168 // Image Digest File
3169 imageDigestFile?: string
3170
3171 // Container Name
3172 containerName?: string
3173
3174 // Ports
3175 ports?: string
3176
3177 // Volumes
3178 volumes?: string
3179
3180 // Environment Variables
3181 envVars?: string
3182
3183 // Working Directory
3184 workDir?: string
3185
3186 // Entry Point Override
3187 entrypoint?: string
3188
3189 // Command
3190 containerCommand?: string
3191
3192 // Run In Background
3193 detached?: bool
3194
3195 // Restart Policy
3196 restartPolicy?: "no" | "onFailure" | "always" | "unlessStopped"
3197
3198 // Maximum Restart Retries
3199 restartMaxRetries?: string
3200
3201 // Command
3202 customCommand?: string
3203
3204 // Docker Host Service Connection
3205 dockerHostEndpoint?: string
3206
3207 // Force image name to follow Docker naming convention
3208 enforceDockerNamingConvention?: bool
3209
3210 // Working Directory
3211 workingDirectory?: string
3212
3213 // Memory limit
3214 memory?: string
3215 })
3216 ...
3217 },
3218 {
3219 // Docker
3220 //
3221 // Build or push Docker images, login or logout, start or stop containers, or run a Docker command
3222 task!: null | bool | number | =~"^Docker@2$" | [...] | {...}
3223
3224 // Docker inputs
3225 inputs?: null |
3226 bool |
3227 number |
3228 string |
3229 [...] |
3230 close({
3231 // Container registry
3232 containerRegistry?: string
3233
3234 // Container repository
3235 repository?: string
3236
3237 // Command
3238 command?: "buildAndPush" | "build" | "push" | "login" | "logout" | "start" | "stop"
3239
3240 // Dockerfile
3241 Dockerfile?: string
3242
3243 // Build context
3244 buildContext?: string
3245
3246 // Tags
3247 tags?: string
3248
3249 // Arguments
3250 arguments?: string
3251
3252 // Add Pipeline metadata to image(s)
3253 addPipelineData?: bool
3254
3255 // Add base image metadata to image(s)
3256 addBaseImageData?: bool
3257
3258 // Container
3259 container?: string
3260 })
3261 ...
3262 },
3263 {
3264 // Docker
3265 //
3266 // Build, tag, push, or run Docker images, or run a Docker command
3267 task!: null | bool | number | =~"^Docker@1$" | [...] | {...}
3268
3269 // Docker inputs
3270 inputs?: null |
3271 bool |
3272 number |
3273 string |
3274 [...] |
3275 close({
3276 // Container registry type
3277 containerregistrytype?: "Azure Container Registry" | "Container Registry"
3278
3279 // Add base image metadata to image(s)
3280 addBaseImageData?: bool
3281
3282 // Docker registry service connection
3283 dockerRegistryEndpoint?: string
3284
3285 // Azure subscription
3286 azureSubscriptionEndpoint?: string
3287
3288 // Azure container registry
3289 azureContainerRegistry?: string
3290
3291 // Command
3292 command?: "Build an image" | "Tag image" | "Push an image" | "Run an image" | "login" | "logout"
3293
3294 // Dockerfile
3295 dockerFile?: string
3296
3297 // Arguments
3298 arguments?: string
3299
3300 // Push multiple images
3301 pushMultipleImages?: bool
3302
3303 // Tag multiple images
3304 tagMultipleImages?: bool
3305
3306 // Image name
3307 imageName?: string
3308
3309 // Image names path
3310 imageNamesPath?: string
3311
3312 // Qualify image name
3313 qualifyImageName?: bool
3314
3315 // Qualify source image name
3316 qualifySourceImageName?: bool
3317
3318 // Include source tags
3319 includeSourceTags?: bool
3320
3321 // Include latest tag
3322 includeLatestTag?: bool
3323
3324 // Add default labels
3325 addDefaultLabels?: bool
3326
3327 // Use default build context
3328 useDefaultContext?: bool
3329
3330 // Build context
3331 buildContext?: string
3332
3333 // Image digest file
3334 imageDigestFile?: string
3335
3336 // Container name
3337 containerName?: string
3338
3339 // Ports
3340 ports?: string
3341
3342 // Volumes
3343 volumes?: string
3344
3345 // Environment variables
3346 envVars?: string
3347
3348 // Working directory
3349 workingDirectory?: string
3350
3351 // Entry point override
3352 entrypointOverride?: string
3353
3354 // Container command
3355 containerCommand?: string
3356
3357 // Run in background
3358 runInBackground?: bool
3359
3360 // Restart policy
3361 restartPolicy?: "no" | "onFailure" | "always" | "unlessStopped"
3362
3363 // Maximum restart retries
3364 maxRestartRetries?: string
3365
3366 // Docker host service connection
3367 dockerHostEndpoint?: string
3368
3369 // Force image name to follow Docker naming convention
3370 enforceDockerNamingConvention?: bool
3371
3372 // Memory limit
3373 memoryLimit?: string
3374 })
3375 ...
3376 },
3377 {
3378 // Docker
3379 //
3380 // Build or push Docker images, login or logout, start or stop containers, or run a Docker command
3381 task!: null | bool | number | =~"^Docker@2$" | [...] | {...}
3382
3383 // Docker inputs
3384 inputs?: null |
3385 bool |
3386 number |
3387 string |
3388 [...] |
3389 close({
3390 // Container registry
3391 containerRegistry?: string
3392
3393 // Container repository
3394 repository?: string
3395
3396 // Command
3397 command?: "buildAndPush" | "build" | "push" | "login" | "logout" | "start" | "stop"
3398
3399 // Dockerfile
3400 Dockerfile?: string
3401
3402 // Build context
3403 buildContext?: string
3404
3405 // Tags
3406 tags?: string
3407
3408 // Arguments
3409 arguments?: string
3410
3411 // Add Pipeline metadata to image(s)
3412 addPipelineData?: bool
3413
3414 // Add base image metadata to image(s)
3415 addBaseImageData?: bool
3416
3417 // Container
3418 container?: string
3419 })
3420 ...
3421 },
3422 {
3423 // Jenkins Queue Job
3424 //
3425 // Queue a job on a Jenkins server
3426 task!: null | bool | number | =~"^JenkinsQueueJob@1$" | [...] | {...}
3427
3428 // Jenkins Queue Job inputs
3429 inputs!: null |
3430 bool |
3431 number |
3432 string |
3433 [...] |
3434 close({
3435 // Jenkins service endpoint
3436 serverEndpoint!: string
3437
3438 // Job name
3439 jobName!: string
3440
3441 // Job is of Multibranch Pipeline type
3442 isMultibranchJob?: bool
3443
3444 // Multibranch Pipeline Branch
3445 multibranchPipelineBranch?: string
3446
3447 // Capture console output and wait for completion
3448 captureConsole?: bool
3449
3450 // Capture pipeline output and wait for pipeline completion
3451 capturePipeline?: bool
3452
3453 // Parameterized job
3454 parameterizedJob?: bool
3455
3456 // Job parameters
3457 jobParameters?: string
3458 })
3459 ...
3460 },
3461 {
3462 // Jenkins queue job
3463 //
3464 // Queue a job on a Jenkins server
3465 task!: null | bool | number | =~"^JenkinsQueueJob@2$" | [...] | {...}
3466
3467 // Jenkins queue job inputs
3468 inputs!: null |
3469 bool |
3470 number |
3471 string |
3472 [...] |
3473 close({
3474 // Jenkins service connection
3475 serverEndpoint!: string
3476
3477 // Job name
3478 jobName!: string
3479
3480 // Job is of multibranch pipeline type
3481 isMultibranchJob?: bool
3482
3483 // Multibranch pipeline branch
3484 multibranchPipelineBranch?: string
3485
3486 // Capture console output and wait for completion
3487 captureConsole?: bool
3488
3489 // Capture pipeline output and wait for pipeline completion
3490 capturePipeline?: bool
3491
3492 // Parameterized job
3493 isParameterizedJob?: bool
3494
3495 // Job parameters
3496 jobParameters?: string
3497
3498 // Fail on unstable result
3499 failOnUnstableResult?: bool
3500
3501 // Number of retries for failed connection
3502 retryCount?: string
3503
3504 // Time between retries
3505 delayBetweenRetries?: string
3506 })
3507 ...
3508 },
3509 {
3510 // FTP upload
3511 //
3512 // Upload files using FTP
3513 task!: null | bool | number | =~"^FtpUpload@2$" | [...] | {...}
3514
3515 // FTP upload inputs
3516 inputs!: null |
3517 bool |
3518 number |
3519 string |
3520 [...] |
3521 close({
3522 // Authentication Method
3523 credentialsOption?: "serviceEndpoint" | "inputs"
3524
3525 // FTP Service Connection
3526 serverEndpoint?: string
3527
3528 // Server URL
3529 serverUrl?: string
3530
3531 // Username
3532 username?: string
3533
3534 // Password
3535 password?: string
3536
3537 // Use implicit FTPS
3538 implicitFTPS?: bool
3539
3540 // Root folder
3541 rootDirectory!: string
3542
3543 // File patterns
3544 filePatterns?: string
3545
3546 // Remote directory
3547 remoteDirectory?: string
3548
3549 // Enable UTF8 support
3550 enableUtf8?: bool
3551
3552 // Delete remote directory
3553 clean?: bool
3554
3555 // Clear remote directory contents
3556 cleanContents?: bool
3557
3558 // Preserve file paths
3559 preservePaths?: bool
3560
3561 // Trust server certificate
3562 trustSSL?: bool
3563
3564 // FTP Commands
3565 customCmds?: string
3566 })
3567 ...
3568 },
3569 {
3570 // FTP upload
3571 //
3572 // Upload files using FTP
3573 task!: null | bool | number | =~"^FtpUpload@1$" | [...] | {...}
3574
3575 // FTP upload inputs
3576 inputs!: null |
3577 bool |
3578 number |
3579 string |
3580 [...] |
3581 close({
3582 // Authentication Method
3583 credentialsOption?: "serviceEndpoint" | "inputs"
3584
3585 // FTP Service Connection
3586 serverEndpoint?: string
3587
3588 // Server URL
3589 serverUrl?: string
3590
3591 // Username
3592 username?: string
3593
3594 // Password
3595 password?: string
3596
3597 // Root folder
3598 rootDirectory!: string
3599
3600 // File patterns
3601 filePatterns?: string
3602
3603 // Remote directory
3604 remoteDirectory?: string
3605
3606 // Delete remote directory
3607 clean?: bool
3608
3609 // Clear remote directory contents
3610 cleanContents?: bool
3611
3612 // Overwrite
3613 overwrite?: bool
3614
3615 // Preserve file paths
3616 preservePaths?: bool
3617
3618 // Trust server certificate
3619 trustSSL?: bool
3620 })
3621 ...
3622 },
3623 {
3624 // Windows machine file copy
3625 //
3626 // Copy files to remote Windows machines
3627 task!: null | bool | number | =~"^WindowsMachineFileCopy@2$" | [...] | {...}
3628
3629 // Windows machine file copy inputs
3630 inputs!: null |
3631 bool |
3632 number |
3633 string |
3634 [...] |
3635 close({
3636 // Source
3637 SourcePath!: string
3638
3639 // Machines
3640 MachineNames!: string
3641
3642 // Admin Login
3643 AdminUserName!: string
3644
3645 // Password
3646 AdminPassword!: string
3647
3648 // Destination Folder
3649 TargetPath!: string
3650
3651 // Clean Target
3652 CleanTargetBeforeCopy?: bool
3653
3654 // Copy Files in Parallel
3655 CopyFilesInParallel?: bool
3656
3657 // Additional Arguments
3658 AdditionalArguments?: string
3659 })
3660 ...
3661 },
3662 {
3663 // Windows machine file copy
3664 //
3665 // Copy files to remote Windows machines
3666 task!: null | bool | number | =~"^WindowsMachineFileCopy@1$" | [...] | {...}
3667
3668 // Windows machine file copy inputs
3669 inputs!: null |
3670 bool |
3671 number |
3672 string |
3673 [...] |
3674 close({
3675 // Source
3676 SourcePath!: string
3677
3678 // Machines
3679 EnvironmentName?: string
3680
3681 // Admin Login
3682 AdminUserName?: string
3683
3684 // Password
3685 AdminPassword?: string
3686
3687 // Destination Folder
3688 TargetPath!: string
3689
3690 // Clean Target
3691 CleanTargetBeforeCopy?: bool
3692
3693 // Copy Files in Parallel
3694 CopyFilesInParallel?: bool
3695
3696 // Additional Arguments
3697 AdditionalArguments?: string
3698
3699 // Select Machines By
3700 ResourceFilteringMethod?: "machineNames" | "tags"
3701
3702 // Filter Criteria
3703 MachineNames?: string
3704 })
3705 ...
3706 },
3707 {
3708 // Android Build
3709 //
3710 // [Deprecated] Use Gradle
3711 task!: null | bool | number | =~"^AndroidBuild@1$" | [...] | {...}
3712
3713 // Android Build inputs
3714 inputs?: null |
3715 bool |
3716 number |
3717 string |
3718 [...] |
3719 close({
3720 // Location of Gradle Wrapper
3721 gradleWrapper?: string
3722
3723 // Project Directory
3724 gradleProj?: string
3725
3726 // Gradle Arguments
3727 gradleArguments?: string
3728
3729 // Name
3730 avdName?: string
3731
3732 // Create AVD
3733 createAvd?: bool
3734
3735 // AVD Target SDK
3736 emulatorTarget?: string
3737
3738 // AVD Device
3739 emulatorDevice?: string
3740
3741 // AVD ABI
3742 avdAbi?: string
3743
3744 // Overwrite Existing AVD
3745 avdForce?: bool
3746
3747 // Create AVD Optional Arguments
3748 avdOptionalArgs?: string
3749
3750 // Start and Stop Android Emulator
3751 startEmulator?: bool
3752
3753 // Timeout in Seconds
3754 emulatorTimeout?: string
3755
3756 // Headless Display
3757 emulatorHeadless?: bool
3758
3759 // Emulator Optional Arguments
3760 emulatorOptionalArgs?: string
3761
3762 // Delete AVD
3763 deleteAvd?: bool
3764 })
3765 ...
3766 },
3767 {
3768 // Python twine upload authenticate
3769 //
3770 // Authenticate for uploading Python distributions using twine. Add '-r
3771 // FeedName/EndpointName --config-file $(PYPIRC_PATH)' to your twine upload
3772 // command. For feeds present in this organization, use the feed name as the
3773 // repository (-r). Otherwise, use the endpoint name defined in the service
3774 // connection.
3775 task!: null | bool | number | =~"^TwineAuthenticate@1$" | [...] | {...}
3776
3777 // Python twine upload authenticate inputs
3778 inputs?: null |
3779 bool |
3780 number |
3781 string |
3782 [...] |
3783 close({
3784 // 'Azure DevOps' Service Connection
3785 azureDevOpsServiceConnection?: string
3786
3787 // Azure Artifacts Feed url.
3788 feedUrl?: string
3789
3790 // My feed name (select below)
3791 artifactFeed?: string
3792
3793 // Feed from external organizations
3794 pythonUploadServiceConnection?: string
3795 })
3796 ...
3797 },
3798 {
3799 // Python twine upload authenticate
3800 //
3801 // Authenticate for uploading Python distributions using twine. Add '-r
3802 // FeedName/EndpointName --config-file $(PYPIRC_PATH)' to your twine upload
3803 // command. For feeds present in this organization, use the feed name as the
3804 // repository (-r). Otherwise, use the endpoint name defined in the service
3805 // connection.
3806 task!: null | bool | number | =~"^TwineAuthenticate@0$" | [...] | {...}
3807
3808 // Python twine upload authenticate inputs
3809 inputs?: null |
3810 bool |
3811 number |
3812 string |
3813 [...] |
3814 close({
3815 // My feeds (select below)
3816 artifactFeeds?: string
3817
3818 // Feeds from external organizations
3819 externalFeeds?: string
3820
3821 // Publish pipeline metadata
3822 publishPackageMetadata?: bool
3823 })
3824 ...
3825 },
3826 {
3827 // IIS web app deploy
3828 //
3829 // Deploy a website or web application using Web Deploy
3830 task!: null | bool | number | =~"^IISWebAppDeploymentOnMachineGroup@0$" | [...] | {...}
3831
3832 // IIS web app deploy inputs
3833 inputs!: null |
3834 bool |
3835 number |
3836 string |
3837 [...] |
3838 close({
3839 // Website Name
3840 WebSiteName!: string
3841
3842 // Virtual Application
3843 VirtualApplication?: string
3844
3845 // Package or Folder
3846 Package?: string
3847
3848 // SetParameters File
3849 SetParametersFile?: string
3850
3851 // Remove Additional Files at Destination
3852 RemoveAdditionalFilesFlag?: bool
3853
3854 // Exclude Files from the App_Data Folder
3855 ExcludeFilesFromAppDataFlag?: bool
3856
3857 // Take App Offline
3858 TakeAppOfflineFlag?: bool
3859
3860 // Additional Arguments
3861 AdditionalArguments?: string
3862
3863 // XML transformation
3864 XmlTransformation?: bool
3865
3866 // XML variable substitution
3867 XmlVariableSubstitution?: bool
3868
3869 // JSON variable substitution
3870 JSONFiles?: string
3871 })
3872 ...
3873 },
3874 {
3875 // Python script
3876 //
3877 // Run a Python file or inline script
3878 task!: null | bool | number | =~"^PythonScript@0$" | [...] | {...}
3879
3880 // Python script inputs
3881 inputs?: null |
3882 bool |
3883 number |
3884 string |
3885 [...] |
3886 close({
3887 // Script source
3888 scriptSource?: "filePath" | "inline"
3889
3890 // Script path
3891 scriptPath?: string
3892
3893 // Script
3894 script?: string
3895
3896 // Arguments
3897 arguments?: string
3898
3899 // Python interpreter
3900 pythonInterpreter?: string
3901
3902 // Working directory
3903 workingDirectory?: string
3904
3905 // Fail on standard error
3906 failOnStderr?: bool
3907 })
3908 ...
3909 },
3910 {
3911 // Helm tool installer
3912 //
3913 // Install Helm and Kubernetes on an agent machine
3914 task!: null | bool | number | =~"^HelmInstaller@0$" | [...] | {...}
3915
3916 // Helm tool installer inputs
3917 inputs?: null |
3918 bool |
3919 number |
3920 string |
3921 [...] |
3922 close({
3923 // Helm Version Spec
3924 helmVersion?: string
3925
3926 // Check for latest version of Helm
3927 checkLatestHelmVersion?: bool
3928
3929 // Install Kubectl
3930 installKubectl?: bool
3931
3932 // Kubectl Version Spec
3933 kubectlVersion?: string
3934
3935 // Check for latest version of kubectl
3936 checkLatestKubectl?: bool
3937 })
3938 ...
3939 },
3940 {
3941 // Helm tool installer
3942 //
3943 // Install Helm on an agent machine
3944 task!: null | bool | number | =~"^HelmInstaller@1$" | [...] | {...}
3945
3946 // Helm tool installer inputs
3947 inputs?: null |
3948 bool |
3949 number |
3950 string |
3951 [...] |
3952 close({
3953 // Helm Version Spec
3954 helmVersionToInstall?: string
3955 })
3956 ...
3957 },
3958 {
3959 // Node.js tasks runner installer
3960 //
3961 // Install specific Node.js version to run node tasks
3962 task!: null | bool | number | =~"^NodeTaskRunnerInstaller@0$" | [...] | {...}
3963
3964 // Node.js tasks runner installer inputs
3965 inputs?: null |
3966 bool |
3967 number |
3968 string |
3969 [...] |
3970 close({
3971 // Version of runner to install
3972 nodeVersion?: "6" | "10" | "16"
3973 })
3974 ...
3975 },
3976 {
3977 // Xamarin License
3978 //
3979 // [Deprecated] Upgrade to free version of Xamarin: https://store.xamarin.com
3980 task!: null | bool | number | =~"^XamarinLicense@1$" | [...] | {...}
3981
3982 // Xamarin License inputs
3983 inputs!: null |
3984 bool |
3985 number |
3986 string |
3987 [...] |
3988 close({
3989 // Action
3990 action?: "Activate" | "Deactivate"
3991
3992 // Email
3993 email!: string
3994
3995 // Password
3996 password!: string
3997
3998 // Xamarin Product
3999 product?: "MA" | "MT" | "MM"
4000
4001 // Timeout in Seconds
4002 timeout?: string
4003 })
4004 ...
4005 },
4006 {
4007 // NuGet authenticate
4008 //
4009 // This version of the task is deprecated, use NuGetAuthenticateV1 instead.
4010 // Configure NuGet tools to authenticate with Azure Artifacts and other NuGet
4011 // repositories. Requires NuGet >= 4.8.5385, dotnet >= 2.1.400, or MSBuild >=
4012 // 15.8.166.59604.
4013 task!: null | bool | number | =~"^NuGetAuthenticate@0$" | [...] | {...}
4014
4015 // NuGet authenticate inputs
4016 inputs?: null |
4017 bool |
4018 number |
4019 string |
4020 [...] |
4021 close({
4022 // Service connection credentials for feeds outside this organization
4023 nuGetServiceConnections?: string
4024
4025 // Reinstall the credential provider even if already installed
4026 forceReinstallCredentialProvider?: bool
4027 })
4028 ...
4029 },
4030 {
4031 // NuGet authenticate
4032 //
4033 // Configure NuGet tools to authenticate with Azure Artifacts and other NuGet
4034 // repositories. Requires NuGet >= 4.8.5385, dotnet >= 6, or MSBuild >=
4035 // 15.8.166.59604
4036 task!: null | bool | number | =~"^NuGetAuthenticate@1$" | [...] | {...}
4037
4038 // NuGet authenticate inputs
4039 inputs?: null |
4040 bool |
4041 number |
4042 string |
4043 [...] |
4044 close({
4045 // 'Azure DevOps' Service Connection
4046 azureDevOpsServiceConnection?: string
4047
4048 // Azure Artifacts URL
4049 feedUrl?: string
4050
4051 // Reinstall the credential provider even if already installed
4052 forceReinstallCredentialProvider?: bool
4053
4054 // Service connection credentials for feeds outside this organization
4055 nuGetServiceConnections?: string
4056 })
4057 ...
4058 },
4059 {
4060 // Download GitHub Nuget Packages
4061 //
4062 // Restore your nuget packages using dotnet CLI
4063 task!: null | bool | number | =~"^DownloadGitHubNugetPackage@1$" | [...] | {...}
4064
4065 // Download GitHub Nuget Packages inputs
4066 inputs!: null |
4067 bool |
4068 number |
4069 string |
4070 [...] |
4071 close({
4072 // Package Name
4073 packageName!: string
4074
4075 // Package Version
4076 version!: string
4077
4078 // Credentials for feed from GitHub
4079 externalFeedCredentials?: string
4080
4081 // Destination directory
4082 restoreDirectory?: string
4083 })
4084 ...
4085 },
4086 {
4087 // Maven Authenticate
4088 //
4089 // Provides credentials for Azure Artifacts feeds and external maven repositories
4090 task!: null | bool | number | =~"^MavenAuthenticate@0$" | [...] | {...}
4091
4092 // Maven Authenticate inputs
4093 inputs?: null |
4094 bool |
4095 number |
4096 string |
4097 [...] |
4098 close({
4099 // 'Azure DevOps' Service Connection
4100 azureDevOpsServiceConnection?: string
4101
4102 // Feeds
4103 artifactsFeeds?: string
4104
4105 // Credentials for repositories outside this organization/collection
4106 mavenServiceConnections?: string
4107 })
4108 ...
4109 },
4110 {
4111 // Azure App Configuration Export
4112 //
4113 // Export key-values from Azure App Configuration to task variables in your
4114 // build or deployment pipelines
4115 task!: null | bool | number | =~"^AzureAppConfigurationExport@10$" | [...] | {...}
4116
4117 // Azure App Configuration Export inputs
4118 inputs!: null |
4119 bool |
4120 number |
4121 string |
4122 [...] |
4123 close({
4124 // Azure subscription
4125 azureSubscription!: string
4126
4127 // App Configuration Endpoint
4128 AppConfigurationEndpoint!: string
4129
4130 // Selection Mode
4131 SelectionMode?: "Default" | "Snapshot"
4132
4133 // Key Filter
4134 KeyFilter?: string
4135
4136 // Label
4137 Label?: string
4138
4139 // Snapshot name
4140 SnapshotName?: string
4141
4142 // Trim Key Prefix
4143 TrimKeyPrefix?: string
4144
4145 // Suppress warning for overridden keys
4146 SuppressWarningForOverriddenKeys?: bool
4147
4148 // Treat key vault resolution errors as warnings
4149 TreatKeyVaultErrorsAsWarning?: bool
4150 })
4151 ...
4152 },
4153 {
4154 // Review App
4155 //
4156 // Use this task under deploy phase provider to create a resource dynamically
4157 task!: null | bool | number | =~"^ReviewApp@0$" | [...] | {...}
4158
4159 // Review App inputs
4160 inputs!: null |
4161 bool |
4162 number |
4163 string |
4164 [...] |
4165 close({
4166 // Resource name
4167 resourceName!: string
4168
4169 // Environment name
4170 baseEnvironmentName?: string
4171
4172 // Review Resource Name
4173 reviewResourceName?: string
4174 })
4175 ...
4176 },
4177 {
4178 // Java tool installer
4179 //
4180 // Acquire a specific version of Java from a user-supplied Azure blob or the
4181 // tool cache and sets JAVA_HOME
4182 task!: null | bool | number | =~"^JavaToolInstaller@0$" | [...] | {...}
4183
4184 // Java tool installer inputs
4185 inputs!: null |
4186 bool |
4187 number |
4188 string |
4189 [...] |
4190 close({
4191 // JDK version
4192 versionSpec?: string
4193
4194 // JDK architecture
4195 jdkArchitectureOption!: "x64" | "x86"
4196
4197 // JDK source
4198 jdkSourceOption!: "AzureStorage" | "LocalDirectory" | "PreInstalled"
4199
4200 // JDK file
4201 jdkFile?: string
4202
4203 // Azure subscription
4204 azureResourceManagerEndpoint?: string
4205
4206 // Storage account name
4207 azureStorageAccountName?: string
4208
4209 // Container name
4210 azureContainerName?: string
4211
4212 // Common virtual path
4213 azureCommonVirtualFile?: string
4214
4215 // Destination directory
4216 jdkDestinationDirectory?: string
4217
4218 // Resource Group name
4219 azureResourceGroupName?: string
4220
4221 // Clean destination directory
4222 cleanDestinationDirectory?: bool
4223
4224 // Create directory for extracting
4225 createExtractDirectory?: bool
4226 })
4227 ...
4228 },
4229 {
4230 // Java tool installer
4231 //
4232 // Acquire a specific version of Java from a user-supplied Azure blob or the
4233 // tool cache and sets JAVA_HOME
4234 task!: null | bool | number | =~"^JavaToolInstaller@1$" | [...] | {...}
4235
4236 // Java tool installer inputs
4237 inputs!: null |
4238 bool |
4239 number |
4240 string |
4241 [...] |
4242 close({
4243 // JDK version
4244 versionSpec?: string
4245
4246 // JDK architecture
4247 jdkArchitectureOption!: "x64" | "x86"
4248
4249 // JDK source
4250 jdkSourceOption!: "AzureStorage" | "LocalDirectory" | "PreInstalled"
4251
4252 // JDK file
4253 jdkFile?: string
4254
4255 // Azure subscription
4256 azureResourceManagerEndpoint?: string
4257
4258 // Storage account name
4259 azureStorageAccountName?: string
4260
4261 // Container name
4262 azureContainerName?: string
4263
4264 // Common virtual path
4265 azureCommonVirtualFile?: string
4266
4267 // Destination directory
4268 jdkDestinationDirectory?: string
4269
4270 // Resource Group name
4271 azureResourceGroupName?: string
4272
4273 // Clean destination directory
4274 cleanDestinationDirectory?: bool
4275
4276 // Create directory for extracting
4277 createExtractDirectory?: bool
4278 })
4279 ...
4280 },
4281 {
4282 // Chef
4283 //
4284 // Deploy to Chef environments by editing environment attributes
4285 task!: null | bool | number | =~"^Chef@1$" | [...] | {...}
4286
4287 // Chef inputs
4288 inputs!: null |
4289 bool |
4290 number |
4291 string |
4292 [...] |
4293 close({
4294 // Chef Service Connection
4295 connectedServiceName!: string
4296
4297 // Environment
4298 Environment!: string
4299
4300 // Environment Attributes
4301 Attributes!: string
4302
4303 // Wait Time
4304 chefWaitTime?: string
4305 })
4306 ...
4307 },
4308 {
4309 // Azure Functions Deploy
4310 //
4311 // Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
4312 task!: null | bool | number | =~"^AzureFunctionApp@2$" | [...] | {...}
4313
4314 // Azure Functions Deploy inputs
4315 inputs!: null |
4316 bool |
4317 number |
4318 string |
4319 [...] |
4320 close({
4321 // Azure Resource Manager connection
4322 connectedServiceNameARM!: string
4323
4324 // App type
4325 appType!: "functionApp" | "functionAppLinux"
4326
4327 // Is Function App on Flex Consumption Plan
4328 isFlexConsumption?: bool
4329
4330 // Azure Functions App name
4331 appName!: string
4332
4333 // Deploy to Slot or App Service Environment
4334 deployToSlotOrASE?: bool
4335
4336 // Resource group
4337 resourceGroupName?: string
4338
4339 // Slot
4340 slotName?: string
4341
4342 // Package or folder
4343 package?: string
4344
4345 // Runtime stack
4346 runtimeStack?: "DOTNET|6.0" |
4347 "DOTNET-ISOLATED|6.0" |
4348 "DOTNET-ISOLATED|7.0" |
4349 "DOTNET-ISOLATED|8.0" |
4350 "DOTNET-ISOLATED|9.0" |
4351 "JAVA|8" |
4352 "JAVA|11" |
4353 "JAVA|17" |
4354 "JAVA|21" |
4355 "NODE|14" |
4356 "NODE|16" |
4357 "NODE|18" |
4358 "NODE|20" |
4359 "PYTHON|3.8" |
4360 "PYTHON|3.9" |
4361 "PYTHON|3.10" |
4362 "PYTHON|3.11"
4363
4364 // App settings
4365 appSettings?: string
4366
4367 // Deployment method
4368 deploymentMethod?: "auto" | "zipDeploy" | "runFromPackage"
4369 })
4370 ...
4371 },
4372 {
4373 // Azure Functions
4374 //
4375 // Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
4376 task!: null | bool | number | =~"^AzureFunctionApp@1$" | [...] | {...}
4377
4378 // Azure Functions inputs
4379 inputs!: null |
4380 bool |
4381 number |
4382 string |
4383 [...] |
4384 close({
4385 // Azure subscription
4386 azureSubscription!: string
4387
4388 // App type
4389 appType!: "functionApp" | "functionAppLinux"
4390
4391 // Azure Functions App name
4392 appName!: string
4393
4394 // Deploy to Slot or App Service Environment
4395 deployToSlotOrASE?: bool
4396
4397 // Resource group
4398 resourceGroupName?: string
4399
4400 // Slot
4401 slotName?: string
4402
4403 // Package or folder
4404 package?: string
4405
4406 // Runtime stack
4407 runtimeStack?: "DOTNET|6.0" |
4408 "DOTNET-ISOLATED|6.0" |
4409 "DOTNET-ISOLATED|7.0" |
4410 "DOTNET-ISOLATED|8.0" |
4411 "DOTNET-ISOLATED|9.0" |
4412 "JAVA|8" |
4413 "JAVA|11" |
4414 "JAVA|17" |
4415 "JAVA|21" |
4416 "NODE|14" |
4417 "NODE|16" |
4418 "NODE|18" |
4419 "NODE|20" |
4420 "PYTHON|3.8" |
4421 "PYTHON|3.9" |
4422 "PYTHON|3.10" |
4423 "PYTHON|3.11"
4424
4425 // Startup command
4426 startUpCommand?: string
4427
4428 // Generate web.config parameters for Python, Node.js, Go and Java apps
4429 customWebConfig?: string
4430
4431 // App settings
4432 appSettings?: string
4433
4434 // Configuration settings
4435 configurationStrings?: string
4436
4437 // Deployment method
4438 deploymentMethod?: "auto" | "zipDeploy" | "runFromPackage"
4439 })
4440 ...
4441 },
4442 {
4443 // Azure Functions Deploy
4444 //
4445 // Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
4446 task!: null | bool | number | =~"^AzureFunctionApp@2$" | [...] | {...}
4447
4448 // Azure Functions Deploy inputs
4449 inputs!: null |
4450 bool |
4451 number |
4452 string |
4453 [...] |
4454 close({
4455 // Azure Resource Manager connection
4456 connectedServiceNameARM!: string
4457
4458 // App type
4459 appType!: "functionApp" | "functionAppLinux"
4460
4461 // Is Function App on Flex Consumption Plan
4462 isFlexConsumption?: bool
4463
4464 // Azure Functions App name
4465 appName!: string
4466
4467 // Deploy to Slot or App Service Environment
4468 deployToSlotOrASE?: bool
4469
4470 // Resource group
4471 resourceGroupName?: string
4472
4473 // Slot
4474 slotName?: string
4475
4476 // Package or folder
4477 package?: string
4478
4479 // Runtime stack
4480 runtimeStack?: "DOTNET|6.0" |
4481 "DOTNET-ISOLATED|6.0" |
4482 "DOTNET-ISOLATED|7.0" |
4483 "DOTNET-ISOLATED|8.0" |
4484 "JAVA|8" |
4485 "JAVA|11" |
4486 "JAVA|17" |
4487 "JAVA|21" |
4488 "NODE|14" |
4489 "NODE|16" |
4490 "NODE|18" |
4491 "NODE|20" |
4492 "PYTHON|3.8" |
4493 "PYTHON|3.9" |
4494 "PYTHON|3.10" |
4495 "PYTHON|3.11"
4496
4497 // App settings
4498 appSettings?: string
4499
4500 // Deployment method
4501 deploymentMethod?: "auto" | "zipDeploy" | "runFromPackage"
4502 })
4503 ...
4504 },
4505 {
4506 // npm authenticate (for task runners)
4507 //
4508 // Don't use this task if you're also using the npm task. Provides npm
4509 // credentials to an .npmrc file in your repository for the scope of the build.
4510 // This enables npm task runners like gulp and Grunt to authenticate with
4511 // private registries.
4512 task!: null | bool | number | =~"^npmAuthenticate@0$" | [...] | {...}
4513
4514 // npm authenticate (for task runners) inputs
4515 inputs!: null |
4516 bool |
4517 number |
4518 string |
4519 [...] |
4520 close({
4521 // 'Azure DevOps' Service Connection
4522 azureDevOpsServiceConnection?: string
4523
4524 // Azure Artifacts URL
4525 feedUrl?: string
4526
4527 // .npmrc file to authenticate
4528 workingFile!: string
4529
4530 // Credentials for registries outside this organization/collection
4531 customEndpoint?: string
4532 })
4533 ...
4534 },
4535 {
4536 // MSBuild
4537 //
4538 // Build with MSBuild
4539 task!: null | bool | number | =~"^MSBuild@1$" | [...] | {...}
4540
4541 // MSBuild inputs
4542 inputs?: null |
4543 bool |
4544 number |
4545 string |
4546 [...] |
4547 close({
4548 // Project
4549 solution?: string
4550
4551 // MSBuild
4552 msbuildLocationMethod?: "version" | "location"
4553
4554 // MSBuild Version
4555 msbuildVersion?: "latest" | "17.0" | "16.0" | "15.0" | "14.0" | "12.0" | "4.0"
4556
4557 // MSBuild Architecture
4558 msbuildArchitecture?: "x86" | "x64"
4559
4560 // Path to MSBuild
4561 msbuildLocation?: string
4562
4563 // Platform
4564 platform?: string
4565
4566 // Configuration
4567 configuration?: string
4568
4569 // MSBuild Arguments
4570 msbuildArguments?: string
4571
4572 // Clean
4573 clean?: bool
4574
4575 // Build in Parallel
4576 maximumCpuCount?: bool
4577
4578 // Restore NuGet Packages
4579 restoreNugetPackages?: bool
4580
4581 // Record Project Details
4582 logProjectEvents?: bool
4583
4584 // Create Log File
4585 createLogFile?: bool
4586
4587 // Log File Verbosity
4588 logFileVerbosity?: "quiet" | "minimal" | "normal" | "detailed" | "diagnostic"
4589 })
4590 ...
4591 },
4592 {
4593 // Build machine image
4594 //
4595 // Build a machine image using Packer, which may be used for Azure Virtual
4596 // machine scale set deployment
4597 task!: null | bool | number | =~"^PackerBuild@0$" | [...] | {...}
4598
4599 // Build machine image inputs
4600 inputs!: null |
4601 bool |
4602 number |
4603 string |
4604 [...] |
4605 close({
4606 // Packer template
4607 templateType?: "builtin" | "custom"
4608
4609 // Packer template location
4610 customTemplateLocation?: string
4611
4612 // Template parameters
4613 customTemplateParameters?: string
4614
4615 // Azure subscription
4616 ConnectedServiceName!: string
4617
4618 // Storage location
4619 location!: string
4620
4621 // Storage account
4622 storageAccountName!: string
4623
4624 // Resource group
4625 azureResourceGroup!: string
4626
4627 // Base image source
4628 baseImageSource?: "default" | "customVhd"
4629
4630 // Base image
4631 baseImage?: "MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:windows" |
4632 "MicrosoftWindowsServer:WindowsServer:2016-Datacenter:windows" |
4633 "MicrosoftWindowsServer:WindowsServer:2012-Datacenter:windows" |
4634 "MicrosoftWindowsServer:WindowsServer:2008-R2-SP1:windows" |
4635 "Canonical:UbuntuServer:14.04.4-LTS:linux" |
4636 "Canonical:UbuntuServer:16.04-LTS:linux" |
4637 "RedHat:RHEL:7.2:linux" |
4638 "RedHat:RHEL:6.8:linux" |
4639 "OpenLogic:CentOS:7.2:linux" |
4640 "OpenLogic:CentOS:6.8:linux" |
4641 "credativ:Debian:8:linux" |
4642 "credativ:Debian:7:linux" |
4643 "SUSE:openSUSE-Leap:42.2:linux" |
4644 "SUSE:SLES:12-SP2:linux" |
4645 "SUSE:SLES:11-SP4:linux"
4646
4647 // Base image URL
4648 customImageUrl?: string
4649
4650 // Base image OS
4651 customImageOSType?: "windows" | "linux"
4652
4653 // Deployment Package
4654 packagePath!: string
4655
4656 // Deployment script
4657 deployScriptPath!: string
4658
4659 // Deployment script arguments
4660 deployScriptArguments?: string
4661
4662 // Additional Builder parameters
4663 additionalBuilderParameters?: string
4664
4665 // Skip temporary file cleanup during deprovision
4666 skipTempFileCleanupDuringVMDeprovision?: bool
4667
4668 // Image URL
4669 imageUri?: string
4670 })
4671 ...
4672 },
4673 {
4674 // Build machine image
4675 //
4676 // Build a machine image using Packer, which may be used for Azure Virtual
4677 // machine scale set deployment
4678 task!: null | bool | number | =~"^PackerBuild@1$" | [...] | {...}
4679
4680 // Build machine image inputs
4681 inputs!: null |
4682 bool |
4683 number |
4684 string |
4685 [...] |
4686 close({
4687 // Packer template
4688 templateType?: "builtin" | "custom"
4689
4690 // Packer template location
4691 customTemplateLocation?: string
4692
4693 // Template parameters
4694 customTemplateParameters?: string
4695
4696 // Azure subscription
4697 ConnectedServiceName!: string
4698
4699 // Managed VM disk image
4700 isManagedImage?: bool
4701
4702 // Managed VM Disk Image Name
4703 managedImageName?: string
4704
4705 // Storage location
4706 location!: string
4707
4708 // Storage account
4709 storageAccountName!: string
4710
4711 // Resource group
4712 azureResourceGroup!: string
4713
4714 // Base image source
4715 baseImageSource?: "default" | "customVhd"
4716
4717 // Base image
4718 baseImage?: "MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:windows" |
4719 "MicrosoftWindowsServer:WindowsServer:2016-Datacenter:windows" |
4720 "MicrosoftWindowsServer:WindowsServer:2012-Datacenter:windows" |
4721 "MicrosoftWindowsServer:WindowsServer:2008-R2-SP1:windows" |
4722 "Canonical:UbuntuServer:14.04.4-LTS:linux" |
4723 "Canonical:UbuntuServer:16.04-LTS:linux" |
4724 "Canonical:UbuntuServer:18.04-LTS:linux" |
4725 "RedHat:RHEL:7.2:linux" |
4726 "RedHat:RHEL:6.8:linux" |
4727 "OpenLogic:CentOS:7.2:linux" |
4728 "OpenLogic:CentOS:6.8:linux" |
4729 "credativ:Debian:8:linux" |
4730 "credativ:Debian:7:linux" |
4731 "SUSE:openSUSE-Leap:42.2:linux" |
4732 "SUSE:SLES:12-SP2:linux" |
4733 "SUSE:SLES:11-SP4:linux"
4734
4735 // Base image URL
4736 customImageUrl?: string
4737
4738 // Base image OS
4739 customImageOSType?: "windows" | "linux"
4740
4741 // Deployment Package
4742 packagePath!: string
4743
4744 // Deployment script
4745 deployScriptPath!: string
4746
4747 // Deployment script arguments
4748 deployScriptArguments?: string
4749
4750 // Delete temp folder
4751 canDeleteTempFolder?: bool
4752
4753 // Additional Builder parameters
4754 additionalBuilderParameters?: string
4755
4756 // Skip temporary file cleanup during deprovision
4757 skipTempFileCleanupDuringVMDeprovision?: bool
4758
4759 // Packer Version
4760 packerVersion?: string
4761
4762 // Image URL or Name
4763 imageUri?: string
4764
4765 // Azure Resource Id
4766 imageId?: string
4767 })
4768 ...
4769 },
4770 {
4771 // NuGet packager
4772 //
4773 // Deprecated: use the “NuGet” task instead. It works with the new Tool
4774 // Installer framework so you can easily use new versions of NuGet without
4775 // waiting for a task update, provides better support for authenticated feeds
4776 // outside this organization/collection, and uses NuGet 4 by default.
4777 task!: null | bool | number | =~"^NuGetPackager@0$" | [...] | {...}
4778
4779 // NuGet packager inputs
4780 inputs?: null |
4781 bool |
4782 number |
4783 string |
4784 [...] |
4785 close({
4786 // Path to csproj or nuspec file(s) to pack
4787 searchPattern?: string
4788
4789 // Package Folder
4790 outputdir?: string
4791
4792 // Include referenced projects
4793 includeReferencedProjects?: bool
4794
4795 // Automatic package versioning
4796 versionByBuild?: "false" | "byPrereleaseNumber" | "byEnvVar" | "true"
4797
4798 // Environment variable
4799 versionEnvVar?: string
4800
4801 // Major
4802 requestedMajorVersion?: string
4803
4804 // Minor
4805 requestedMinorVersion?: string
4806
4807 // Patch
4808 requestedPatchVersion?: string
4809
4810 // Configuration to Package
4811 configurationToPack?: string
4812
4813 // Additional build properties
4814 buildProperties?: string
4815
4816 // NuGet Arguments
4817 nuGetAdditionalArgs?: string
4818
4819 // Path to NuGet.exe
4820 nuGetPath?: string
4821 })
4822 ...
4823 },
4824 {
4825 // Azure App Configuration Snapshot
4826 //
4827 // Create a configuration snapshot in Azure App Configuration through build or deployment pipelines
4828 task!: null | bool | number | =~"^AzureAppConfigurationSnapshot@1$" | [...] | {...}
4829
4830 // Azure App Configuration Snapshot inputs
4831 inputs!: null |
4832 bool |
4833 number |
4834 string |
4835 [...] |
4836 close({
4837 // Azure subscription
4838 azureSubscription!: string
4839
4840 // App Configuration Endpoint
4841 AppConfigurationEndpoint!: string
4842
4843 // Snapshot Name
4844 SnapshotName!: string
4845
4846 // Composition Type
4847 CompositionType?: "key" | "key_label"
4848
4849 // Filters for key-values
4850 Filters!: string
4851
4852 // Days to retain archived snapshot
4853 RetentionPeriod?: int
4854
4855 // Tags
4856 Tags?: string
4857 })
4858 ...
4859 },
4860 {
4861 // Duffle tool installer
4862 //
4863 // Install a specified version of Duffle for installing and managing CNAB bundles
4864 task!: null | bool | number | =~"^DuffleInstaller@0$" | [...] | {...}
4865
4866 // Duffle tool installer inputs
4867 inputs?: null |
4868 bool |
4869 number |
4870 string |
4871 [...] |
4872 close({
4873 // Version
4874 version?: string
4875
4876 // Check for latest version
4877 checkLatestVersion?: bool
4878 })
4879 ...
4880 },
4881 {
4882 // Update Service Fabric App Versions
4883 //
4884 // Automatically updates the versions of a packaged Service Fabric application.
4885 task!: null | bool | number | =~"^ServiceFabricUpdateAppVersions@1$" | [...] | {...}
4886
4887 // Update Service Fabric App Versions inputs
4888 inputs!: null |
4889 bool |
4890 number |
4891 string |
4892 [...] |
4893 close({
4894 // Application Package
4895 applicationPackagePath!: string
4896
4897 // Version Value
4898 versionSuffix?: string
4899
4900 // Version Behavior
4901 versionBehavior?: "Append" | "Replace"
4902
4903 // Update only if changed
4904 updateOnlyChanged?: bool
4905
4906 // Package Artifact Name
4907 pkgArtifactName?: string
4908
4909 // Log all changes
4910 logAllChanges?: bool
4911
4912 // Compare against
4913 compareType?: "LastSuccessful" | "Specific"
4914
4915 // Build Number
4916 buildNumber?: string
4917 })
4918 ...
4919 },
4920 {
4921 // Update Service Fabric manifests
4922 //
4923 // Automatically update portions of application and service manifests in a
4924 // packaged Azure Service Fabric application
4925 task!: null | bool | number | =~"^ServiceFabricUpdateManifests@2$" | [...] | {...}
4926
4927 // Update Service Fabric manifests inputs
4928 inputs!: null |
4929 bool |
4930 number |
4931 string |
4932 [...] |
4933 close({
4934 // Update Type
4935 updateType?: "Manifest versions" | "Docker image settings"
4936
4937 // Application Package
4938 applicationPackagePath!: string
4939
4940 // Version Value
4941 versionSuffix?: string
4942
4943 // Version Behavior
4944 versionBehavior?: "Append" | "Replace"
4945
4946 // Update only if changed
4947 updateOnlyChanged?: bool
4948
4949 // Package Artifact Name
4950 pkgArtifactName?: string
4951
4952 // Log all changes
4953 logAllChanges?: bool
4954
4955 // Compare against
4956 compareType?: "LastSuccessful" | "Specific"
4957
4958 // Build Number
4959 buildNumber?: string
4960
4961 // Overwrite Existing Package Artifact
4962 overwriteExistingPkgArtifact?: bool
4963
4964 // Image Names Path
4965 imageNamesPath?: string
4966
4967 // Image Digests Path
4968 imageDigestsPath?: string
4969 })
4970 ...
4971 },
4972 {
4973 // Query Azure Monitor alerts
4974 //
4975 // Observe the configured Azure Monitor rules for active alerts
4976 task!: null | bool | number | =~"^AzureMonitor@1$" | [...] | {...}
4977
4978 // Query Azure Monitor alerts inputs
4979 inputs!: null |
4980 bool |
4981 number |
4982 string |
4983 [...] |
4984 close({
4985 // Azure subscription
4986 connectedServiceNameARM!: string
4987
4988 // Resource group
4989 ResourceGroupName!: string
4990
4991 // Filter type
4992 filterType?: "resource" | "alertrule" | "none"
4993
4994 // Resource
4995 resource?: string
4996
4997 // Alert rule
4998 alertRule?: string
4999
5000 // Severity
5001 severity?: "Sev0" | "Sev1" | "Sev2" | "Sev3" | "Sev4"
5002
5003 // Time range
5004 timeRange?: "1h" | "1d" | "7d" | "30d"
5005
5006 // Alert state
5007 alertState?: "New" | "Acknowledged" | "Closed"
5008
5009 // Monitor condition
5010 monitorCondition?: "Fired " | "Resolved"
5011 })
5012 ...
5013 },
5014 {
5015 // Query Classic Azure Monitor alerts
5016 //
5017 // Observe the configured classic Azure Monitor rules for active alerts
5018 task!: null | bool | number | =~"^AzureMonitor@0$" | [...] | {...}
5019
5020 // Query Classic Azure Monitor alerts inputs
5021 inputs!: null |
5022 bool |
5023 number |
5024 string |
5025 [...] |
5026 close({
5027 // Azure subscription
5028 connectedServiceNameARM!: string
5029
5030 // Resource group
5031 ResourceGroupName!: string
5032
5033 // Resource type
5034 ResourceType?: "Microsoft.Insights/components" |
5035 "Microsoft.Web/sites" |
5036 "Microsoft.Storage/storageAccounts" |
5037 "Microsoft.Compute/virtualMachines"
5038
5039 // Resource name
5040 resourceName!: string
5041
5042 // Alert rules
5043 alertRules!: string
5044 })
5045 ...
5046 },
5047 {
5048 // Notation
5049 //
5050 // Azure Pipepine Task for setting up Notation CLI, sign and verify with Notation
5051 task!: null | bool | number | =~"^Notation@0$" | [...] | {...}
5052
5053 // Notation inputs
5054 inputs?: null |
5055 bool |
5056 number |
5057 string |
5058 [...] |
5059 close({
5060 // Command to run
5061 command?: "install" | "sign" | "verify"
5062
5063 // Custom Version
5064 isCustomVersion?: bool
5065
5066 // Version
5067 version?: string
5068
5069 // Download URL
5070 url?: string
5071
5072 // Checksum
5073 checksum?: string
5074
5075 // Artifact references
5076 artifactRefs?: string
5077
5078 // Signature Format
5079 signatureFormat?: "cose" | "jws"
5080
5081 // [Experimental] Allow Referrers API
5082 allowReferrersAPI?: bool
5083
5084 // Plugin
5085 plugin?: "azureKeyVault"
5086
5087 // Plugin Version
5088 akvPluginVersion?: string
5089
5090 // Azure Key Vault service connection
5091 azurekvServiceConection?: string
5092
5093 // Key ID
5094 keyid?: string
5095
5096 // Certificate Bundle File Path
5097 caCertBundle?: string
5098
5099 // Self-signed Certificate
5100 selfSigned?: bool
5101
5102 // Timestamp URL
5103 timestampURL?: string
5104
5105 // Timestamp Root Certificate
5106 timestampRootCert?: string
5107
5108 // Trust Policy File Path
5109 trustPolicy?: string
5110
5111 // Trust Store Folder Path
5112 trustStore?: string
5113 })
5114 ...
5115 },
5116 {
5117 // Azure Network Load Balancer
5118 //
5119 // Connect or disconnect an Azure virtual machine's network interface to a Load
5120 // Balancer's back end address pool
5121 task!: null | bool | number | =~"^AzureNLBManagement@1$" | [...] | {...}
5122
5123 // Azure Network Load Balancer inputs
5124 inputs!: null |
5125 bool |
5126 number |
5127 string |
5128 [...] |
5129 close({
5130 // Azure Subscription
5131 azureSubscription!: string
5132
5133 // Resource Group
5134 ResourceGroupName!: string
5135
5136 // Load Balancer Name
5137 LoadBalancer!: string
5138
5139 // Action
5140 Action!: "Disconnect" | "Connect"
5141 })
5142 ...
5143 },
5144 {
5145 // Docker Compose
5146 //
5147 // Build, push or run multi-container Docker applications. Task can be used with
5148 // Docker or Azure Container registry.
5149 task!: null | bool | number | =~"^DockerCompose@0$" | [...] | {...}
5150
5151 // Docker Compose inputs
5152 inputs?: null |
5153 bool |
5154 number |
5155 string |
5156 [...] |
5157 close({
5158 // Container Registry Type
5159 containerregistrytype?: "Azure Container Registry" | "Container Registry"
5160
5161 // Docker Registry Service Connection
5162 dockerRegistryEndpoint?: string
5163
5164 // Azure subscription
5165 azureSubscription?: string
5166
5167 // Azure Container Registry
5168 azureContainerRegistry?: string
5169
5170 // Docker Compose File
5171 dockerComposeFile?: string
5172
5173 // Additional Docker Compose Files
5174 additionalDockerComposeFiles?: string
5175
5176 // Environment Variables
5177 dockerComposeFileArgs?: string
5178
5179 // Project Name
5180 projectName?: string
5181
5182 // Qualify Image Names
5183 qualifyImageNames?: bool
5184
5185 // Action
5186 action?: "Build services" |
5187 "Push services" |
5188 "Run services" |
5189 "Run a specific service" |
5190 "Lock services" |
5191 "Write service image digests" |
5192 "Combine configuration" |
5193 "Run a Docker Compose command"
5194
5195 // Additional Image Tags
5196 additionalImageTags?: string
5197
5198 // Include Source Tags
5199 includeSourceTags?: bool
5200
5201 // Include Latest Tag
5202 includeLatestTag?: bool
5203
5204 // Build Images
5205 buildImages?: bool
5206
5207 // Service Name
5208 serviceName?: string
5209
5210 // Container Name
5211 containerName?: string
5212
5213 // Ports
5214 ports?: string
5215
5216 // Working Directory
5217 workingDirectory?: string
5218
5219 // Entry Point Override
5220 entrypoint?: string
5221
5222 // Command
5223 containerCommand?: string
5224
5225 // Run in Background
5226 detached?: bool
5227
5228 // Abort on Container Exit
5229 abortOnContainerExit?: bool
5230
5231 // Image Digest Compose File
5232 imageDigestComposeFile?: string
5233
5234 // Remove Build Options
5235 removeBuildOptions?: bool
5236
5237 // Base Resolve Directory
5238 baseResolveDirectory?: string
5239
5240 // Output Docker Compose File
5241 outputDockerComposeFile?: string
5242
5243 // Command
5244 dockerComposeCommand?: string
5245
5246 // Arguments
5247 arguments?: string
5248
5249 // Docker Host Service Connection
5250 dockerHostEndpoint?: string
5251
5252 // No-op if no Docker Compose File
5253 nopIfNoDockerComposeFile?: bool
5254
5255 // Require Additional Docker Compose Files
5256 requireAdditionalDockerComposeFiles?: bool
5257
5258 // Working Directory
5259 currentWorkingDirectory?: string
5260
5261 // Docker Compose executable Path
5262 dockerComposePath?: string
5263 })
5264 ...
5265 },
5266 {
5267 // Docker Compose
5268 //
5269 // Build, push or run multi-container Docker applications. Task can be used with
5270 // Docker or Azure Container registry.
5271 task!: null | bool | number | =~"^DockerCompose@1$" | [...] | {...}
5272
5273 // Docker Compose inputs
5274 inputs?: null |
5275 bool |
5276 number |
5277 string |
5278 [...] |
5279 close({
5280 // Container Registry Type
5281 containerregistrytype?: "Azure Container Registry" | "Container Registry"
5282
5283 // Docker Registry Service Connection
5284 dockerRegistryEndpoint?: string
5285
5286 // Azure subscription
5287 azureSubscription?: string
5288
5289 // Azure Container Registry
5290 azureContainerRegistry?: string
5291
5292 // Docker Compose File
5293 dockerComposeFile?: string
5294
5295 // Additional Docker Compose Files
5296 additionalDockerComposeFiles?: string
5297
5298 // Environment Variables
5299 dockerComposeFileArgs?: string
5300
5301 // Project Name
5302 projectName?: string
5303
5304 // Qualify Image Names
5305 qualifyImageNames?: bool
5306
5307 // Action
5308 action?: "Build services" |
5309 "Push services" |
5310 "Run services" |
5311 "Run a specific service" |
5312 "Lock services" |
5313 "Write service image digests" |
5314 "Combine configuration" |
5315 "Run a Docker Compose command"
5316
5317 // Additional Image Tags
5318 additionalImageTags?: string
5319
5320 // Include Source Tags
5321 includeSourceTags?: bool
5322
5323 // Include Latest Tag
5324 includeLatestTag?: bool
5325
5326 // Build Images
5327 buildImages?: bool
5328
5329 // Service Name
5330 serviceName?: string
5331
5332 // Container Name
5333 containerName?: string
5334
5335 // Ports
5336 ports?: string
5337
5338 // Working Directory
5339 workingDirectory?: string
5340
5341 // Entry Point Override
5342 entrypoint?: string
5343
5344 // Command
5345 containerCommand?: string
5346
5347 // Run in Background
5348 detached?: bool
5349
5350 // Abort on Container Exit
5351 abortOnContainerExit?: bool
5352
5353 // Image Digest Compose File
5354 imageDigestComposeFile?: string
5355
5356 // Remove Build Options
5357 removeBuildOptions?: bool
5358
5359 // Base Resolve Directory
5360 baseResolveDirectory?: string
5361
5362 // Output Docker Compose File
5363 outputDockerComposeFile?: string
5364
5365 // Command
5366 dockerComposeCommand?: string
5367
5368 // Arguments
5369 arguments?: string
5370
5371 // Docker Host Service Connection
5372 dockerHostEndpoint?: string
5373
5374 // No-op if no Docker Compose File
5375 nopIfNoDockerComposeFile?: bool
5376
5377 // Require Additional Docker Compose Files
5378 requireAdditionalDockerComposeFiles?: bool
5379
5380 // Working Directory
5381 currentWorkingDirectory?: string
5382
5383 // Docker Compose executable Path
5384 dockerComposePath?: string
5385 })
5386 ...
5387 },
5388 {
5389 // Azure Monitor alerts (Deprecated)
5390 //
5391 // Configure alerts on available metrics for an Azure resource (Deprecated)
5392 task!: null | bool | number | =~"^AzureMonitorAlerts@0$" | [...] | {...}
5393
5394 // Azure Monitor alerts (Deprecated) inputs
5395 inputs!: null |
5396 bool |
5397 number |
5398 string |
5399 [...] |
5400 close({
5401 // Azure Subscription
5402 azureSubscription!: string
5403
5404 // Resource Group
5405 ResourceGroupName!: string
5406
5407 // Resource Type
5408 ResourceType?: "Microsoft.Insights/components" |
5409 "Microsoft.Web/sites" |
5410 "Microsoft.Storage/storageAccounts" |
5411 "Microsoft.Compute/virtualMachines"
5412
5413 // Resource name
5414 ResourceName!: string
5415
5416 // Alert rules
5417 AlertRules!: string
5418
5419 // Subscription owners, contributors and readers
5420 NotifyServiceOwners?: bool
5421
5422 // Additional administrator emails
5423 NotifyEmails?: string
5424 })
5425 ...
5426 },
5427 {
5428 // Xamarin Test Cloud
5429 //
5430 // [Deprecated] Test mobile apps with Xamarin Test Cloud using Xamarin.UITest.
5431 // Instead, use the 'App Center test' task.
5432 task!: null | bool | number | =~"^XamarinTestCloud@1$" | [...] | {...}
5433
5434 // Xamarin Test Cloud inputs
5435 inputs!: null |
5436 bool |
5437 number |
5438 string |
5439 [...] |
5440 close({
5441 // App file
5442 appFile!: string
5443
5444 // dSYM file (iOS only)
5445 dsymFile?: string
5446
5447 // Team API key
5448 teamApiKey!: string
5449
5450 // User email
5451 email!: string
5452
5453 // Devices
5454 devices!: string
5455
5456 // Series
5457 series?: string
5458
5459 // Test assembly directory
5460 testAssemblyDirectory!: string
5461
5462 // Parallelization
5463 parallelizationOption?: "none" | "--fixture-chunk" | "--test-chunk"
5464
5465 // System language
5466 localeOption?: "da_DK" |
5467 "nl_NL" |
5468 "en_GB" |
5469 "en_US" |
5470 "fr_FR" |
5471 "de_DE" |
5472 "ja_JP" |
5473 "ru_RU" |
5474 "es_MX" |
5475 "es_ES" |
5476 "user"
5477
5478 // Other locale
5479 userDefinedLocale?: string
5480
5481 // test-cloud.exe location
5482 testCloudFile?: string
5483
5484 // Optional arguments
5485 optionalArgs?: string
5486
5487 // Publish results to Azure Pipelines
5488 publishNUnitResults?: bool
5489 })
5490 ...
5491 },
5492 {
5493 // Service Fabric application deployment
5494 //
5495 // Deploy an Azure Service Fabric application to a cluster
5496 task!: null | bool | number | =~"^ServiceFabricDeploy@1$" | [...] | {...}
5497
5498 // Service Fabric application deployment inputs
5499 inputs!: null |
5500 bool |
5501 number |
5502 string |
5503 [...] |
5504 close({
5505 // Application Package
5506 applicationPackagePath!: string
5507
5508 // Cluster Service Connection
5509 serviceConnectionName!: string
5510
5511 // Publish Profile
5512 publishProfilePath?: string
5513
5514 // Application Parameters
5515 applicationParameterPath?: string
5516
5517 // Override Application Parameters
5518 overrideApplicationParameter?: bool
5519
5520 // Compress Package
5521 compressPackage?: bool
5522
5523 // CopyPackageTimeoutSec
5524 copyPackageTimeoutSec?: string
5525
5526 // RegisterPackageTimeoutSec
5527 registerPackageTimeoutSec?: string
5528
5529 // Overwrite Behavior
5530 overwriteBehavior?: "Always" | "Never" | "SameAppTypeAndVersion"
5531
5532 // Skip upgrade for same Type and Version
5533 skipUpgradeSameTypeAndVersion?: bool
5534
5535 // Skip package validation
5536 skipPackageValidation?: bool
5537
5538 // Use Diff Package
5539 useDiffPackage?: bool
5540
5541 // Override All Publish Profile Upgrade Settings
5542 overridePublishProfileSettings?: bool
5543
5544 // Upgrade the Application
5545 isUpgrade?: bool
5546
5547 // Unregister Unused Versions
5548 unregisterUnusedVersions?: bool
5549
5550 // Upgrade Mode
5551 upgradeMode?: "Monitored" | "UnmonitoredAuto" | "UnmonitoredManual"
5552
5553 // FailureAction
5554 FailureAction?: "Rollback" | "Manual"
5555
5556 // UpgradeReplicaSetCheckTimeoutSec
5557 UpgradeReplicaSetCheckTimeoutSec?: string
5558
5559 // TimeoutSec
5560 TimeoutSec?: string
5561
5562 // ForceRestart
5563 ForceRestart?: bool
5564
5565 // HealthCheckRetryTimeoutSec
5566 HealthCheckRetryTimeoutSec?: string
5567
5568 // HealthCheckWaitDurationSec
5569 HealthCheckWaitDurationSec?: string
5570
5571 // HealthCheckStableDurationSec
5572 HealthCheckStableDurationSec?: string
5573
5574 // UpgradeDomainTimeoutSec
5575 UpgradeDomainTimeoutSec?: string
5576
5577 // ConsiderWarningAsError
5578 ConsiderWarningAsError?: bool
5579
5580 // DefaultServiceTypeHealthPolicy
5581 DefaultServiceTypeHealthPolicy?: string
5582
5583 // MaxPercentUnhealthyDeployedApplications
5584 MaxPercentUnhealthyDeployedApplications?: string
5585
5586 // UpgradeTimeoutSec
5587 UpgradeTimeoutSec?: string
5588
5589 // ServiceTypeHealthPolicyMap
5590 ServiceTypeHealthPolicyMap?: string
5591
5592 // Configure Docker settings
5593 configureDockerSettings?: bool
5594
5595 // Registry Credentials Source
5596 registryCredentials?: "AzureResourceManagerEndpoint" | "ContainerRegistryEndpoint" | "UsernamePassword"
5597
5598 // Docker Registry Service Connection
5599 dockerRegistryConnection?: string
5600
5601 // Azure subscription
5602 azureSubscription?: string
5603
5604 // Registry User Name
5605 registryUserName?: string
5606
5607 // Registry Password
5608 registryPassword?: string
5609
5610 // Password Encrypted
5611 passwordEncrypted?: bool
5612 })
5613 ...
5614 },
5615 {
5616 // Xcode
5617 //
5618 // Build, test, or archive an Xcode workspace on macOS. Optionally package an app.
5619 task!: null | bool | number | =~"^Xcode@5$" | [...] | {...}
5620
5621 // Xcode inputs
5622 inputs?: null |
5623 bool |
5624 number |
5625 string |
5626 [...] |
5627 close({
5628 // Actions
5629 actions?: string
5630
5631 // Configuration
5632 configuration?: string
5633
5634 // SDK
5635 sdk?: string
5636
5637 // Workspace or project path
5638 xcWorkspacePath?: string
5639
5640 // Scheme
5641 scheme?: string
5642
5643 // Xcode version
5644 xcodeVersion?: "8" | "9" | "10" | "11" | "12" | "13" | "default" | "specifyPath"
5645
5646 // Xcode developer path
5647 xcodeDeveloperDir?: string
5648
5649 // Create app package
5650 packageApp?: bool
5651
5652 // Archive path
5653 archivePath?: string
5654
5655 // Export path
5656 exportPath?: string
5657
5658 // Export options
5659 exportOptions?: "auto" | "plist" | "specify"
5660
5661 // Export method
5662 exportMethod?: string
5663
5664 // Team ID
5665 exportTeamId?: string
5666
5667 // Export options plist
5668 exportOptionsPlist?: string
5669
5670 // Export arguments
5671 exportArgs?: string
5672
5673 // Signing style
5674 signingOption?: "nosign" | "default" | "manual" | "auto"
5675
5676 // Signing identity
5677 signingIdentity?: string
5678
5679 // Provisioning profile UUID
5680 provisioningProfileUuid?: string
5681
5682 // Provisioning profile name
5683 provisioningProfileName?: string
5684
5685 // Team ID
5686 teamId?: string
5687
5688 // Destination platform
5689 destinationPlatformOption?: "default" | "iOS" | "tvOS" | "macOS" | "custom"
5690
5691 // Custom destination platform
5692 destinationPlatform?: string
5693
5694 // Destination type
5695 destinationTypeOption?: "simulators" | "devices"
5696
5697 // Simulator
5698 destinationSimulators?: string
5699
5700 // Device
5701 destinationDevices?: string
5702
5703 // Arguments
5704 args?: string
5705
5706 // Working directory
5707 workingDirectory?: string
5708
5709 // Use xcpretty
5710 useXcpretty?: bool
5711
5712 // Xcpretty arguments
5713 xcprettyArgs?: string
5714
5715 // Publish test results to Azure Pipelines
5716 publishJUnitResults?: bool
5717
5718 // Test run title
5719 testRunTitle?: string
5720 })
5721 ...
5722 },
5723 {
5724 // Xcode Build
5725 //
5726 // Build an Xcode workspace on macOS
5727 task!: null | bool | number | =~"^Xcode@3$" | [...] | {...}
5728
5729 // Xcode Build inputs
5730 inputs?: null |
5731 bool |
5732 number |
5733 string |
5734 [...] |
5735 close({
5736 // Actions
5737 actions?: string
5738
5739 // Configuration
5740 configuration?: string
5741
5742 // SDK
5743 sdk?: string
5744
5745 // Workspace/Project Path
5746 xcWorkspacePath?: string
5747
5748 // Scheme
5749 scheme?: string
5750
5751 // Create App Package
5752 packageApp?: bool
5753
5754 // Archive Path
5755 archivePath?: string
5756
5757 // Export Path
5758 exportPath?: string
5759
5760 // Export Options
5761 exportOptions?: "auto" | "plist" | "specify"
5762
5763 // Export Method
5764 exportMethod?: string
5765
5766 // Team ID
5767 exportTeamId?: string
5768
5769 // Export Options Plist
5770 exportOptionsPlist?: string
5771
5772 // Export Arguments
5773 exportArgs?: string
5774
5775 // Automatic Signing
5776 xcode8AutomaticSigning?: bool
5777
5778 // Team ID
5779 teamId?: string
5780
5781 // Override Using
5782 signMethod?: "file" | "id"
5783
5784 // Signing Identity
5785 iosSigningIdentity?: string
5786
5787 // Unlock Default Keychain
5788 unlockDefaultKeychain?: bool
5789
5790 // Default Keychain Password
5791 defaultKeychainPassword?: string
5792
5793 // Provisioning Profile UUID
5794 provProfileUuid?: string
5795
5796 // P12 Certificate File
5797 p12?: string
5798
5799 // P12 Password
5800 p12pwd?: string
5801
5802 // Provisioning Profile File
5803 provProfile?: string
5804
5805 // Remove Profile After Build
5806 removeProfile?: bool
5807
5808 // Arguments
5809 args?: string
5810
5811 // Working Directory
5812 cwd?: string
5813
5814 // Output Directory
5815 outputPattern?: string
5816
5817 // Xcode Developer Path
5818 xcodeDeveloperDir?: string
5819
5820 // Use xcpretty
5821 useXcpretty?: bool
5822
5823 // Publish to VSTS/TFS
5824 publishJUnitResults?: bool
5825 })
5826 ...
5827 },
5828 {
5829 // Xcode
5830 //
5831 // Build, test, or archive an Xcode workspace on macOS. Optionally package an app.
5832 task!: null | bool | number | =~"^Xcode@4$" | [...] | {...}
5833
5834 // Xcode inputs
5835 inputs?: null |
5836 bool |
5837 number |
5838 string |
5839 [...] |
5840 close({
5841 // Actions
5842 actions?: string
5843
5844 // Configuration
5845 configuration?: string
5846
5847 // SDK
5848 sdk?: string
5849
5850 // Workspace or project path
5851 xcWorkspacePath?: string
5852
5853 // Scheme
5854 scheme?: string
5855
5856 // Xcode version
5857 xcodeVersion?: "8" | "9" | "default" | "specifyPath"
5858
5859 // Xcode developer path
5860 xcodeDeveloperDir?: string
5861
5862 // Create app package
5863 packageApp?: bool
5864
5865 // Archive path
5866 archivePath?: string
5867
5868 // Export path
5869 exportPath?: string
5870
5871 // Export options
5872 exportOptions?: "auto" | "plist" | "specify"
5873
5874 // Export method
5875 exportMethod?: string
5876
5877 // Team ID
5878 exportTeamId?: string
5879
5880 // Export options plist
5881 exportOptionsPlist?: string
5882
5883 // Export arguments
5884 exportArgs?: string
5885
5886 // Signing style
5887 signingOption?: "nosign" | "default" | "manual" | "auto"
5888
5889 // Signing identity
5890 signingIdentity?: string
5891
5892 // Provisioning profile UUID
5893 provisioningProfileUuid?: string
5894
5895 // Team ID
5896 teamId?: string
5897
5898 // Destination platform
5899 destinationPlatformOption?: "default" | "iOS" | "tvOS" | "macOS" | "custom"
5900
5901 // Custom destination platform
5902 destinationPlatform?: string
5903
5904 // Destination type
5905 destinationTypeOption?: "simulators" | "devices"
5906
5907 // Simulator
5908 destinationSimulators?: string
5909
5910 // Device
5911 destinationDevices?: string
5912
5913 // Arguments
5914 args?: string
5915
5916 // Working directory
5917 workingDirectory?: string
5918
5919 // Output directory
5920 outputPattern?: string
5921
5922 // Use xcpretty
5923 useXcpretty?: bool
5924
5925 // Publish test results to VSTS/TFS
5926 publishJUnitResults?: bool
5927 })
5928 ...
5929 },
5930 {
5931 // Xcode Build
5932 //
5933 // Build an Xcode workspace on Mac OS
5934 task!: null | bool | number | =~"^Xcode@2$" | [...] | {...}
5935
5936 // Xcode Build inputs
5937 inputs?: null |
5938 bool |
5939 number |
5940 string |
5941 [...] |
5942 close({
5943 // Actions
5944 actions?: string
5945
5946 // Configuration
5947 configuration?: string
5948
5949 // SDK
5950 sdk?: string
5951
5952 // Workspace/Project Path
5953 xcWorkspacePath?: string
5954
5955 // Scheme
5956 scheme?: string
5957
5958 // Create App Package
5959 packageApp?: bool
5960
5961 // Create Package (IPA) using
5962 packageTool?: "xcrun" | "xcodebuild"
5963
5964 // Archive Path
5965 archivePath?: string
5966
5967 // Export Path
5968 exportPath?: string
5969
5970 // Export Options
5971 exportOptions?: "auto" | "plist" | "specify"
5972
5973 // Export Method
5974 exportMethod?: string
5975
5976 // Team ID
5977 exportTeamId?: string
5978
5979 // Export Options Plist
5980 exportOptionsPlist?: string
5981
5982 // Automatic Signing
5983 xcode8AutomaticSigning?: bool
5984
5985 // Team ID
5986 teamId?: string
5987
5988 // Override Using
5989 signMethod?: "file" | "id"
5990
5991 // Signing Identity
5992 iosSigningIdentity?: string
5993
5994 // Unlock Default Keychain
5995 unlockDefaultKeychain?: bool
5996
5997 // Default Keychain Password
5998 defaultKeychainPassword?: string
5999
6000 // Provisioning Profile UUID
6001 provProfileUuid?: string
6002
6003 // P12 Certificate File
6004 p12?: string
6005
6006 // P12 Password
6007 p12pwd?: string
6008
6009 // Provisioning Profile File
6010 provProfile?: string
6011
6012 // Remove Profile After Build
6013 removeProfile?: bool
6014
6015 // Arguments
6016 args?: string
6017
6018 // Working Directory
6019 cwd?: string
6020
6021 // Output Directory
6022 outputPattern?: string
6023
6024 // Xcode Developer Path
6025 xcodeDeveloperDir?: string
6026
6027 // Use xcpretty
6028 useXcpretty?: bool
6029
6030 // Publish to VSTS/TFS
6031 publishJUnitResults?: bool
6032
6033 // Use xctool
6034 useXctool?: bool
6035
6036 // xctool Test Reporter Format
6037 xctoolReporter?: string
6038 })
6039 ...
6040 },
6041 {
6042 // NuGet publisher
6043 //
6044 // Deprecated: use the “NuGet” task instead. It works with the new Tool
6045 // Installer framework so you can easily use new versions of NuGet without
6046 // waiting for a task update, provides better support for authenticated feeds
6047 // outside this organization/collection, and uses NuGet 4 by default.
6048 task!: null | bool | number | =~"^NuGetPublisher@0$" | [...] | {...}
6049
6050 // NuGet publisher inputs
6051 inputs?: null |
6052 bool |
6053 number |
6054 string |
6055 [...] |
6056 close({
6057 // Path/Pattern to nupkg
6058 searchPattern?: string
6059
6060 // Feed type
6061 nuGetFeedType?: "external" | "internal"
6062
6063 // NuGet Service Connection
6064 connectedServiceName?: string
6065
6066 // Internal Feed URL
6067 feedName?: string
6068
6069 // NuGet Arguments
6070 nuGetAdditionalArgs?: string
6071
6072 // Verbosity
6073 verbosity?: "-" | "Quiet" | "Normal" | "Detailed"
6074
6075 // NuGet Version
6076 nuGetVersion?: "3.3.0" | "3.5.0.1829" | "4.0.0.2283" | "custom"
6077
6078 // Path to NuGet.exe
6079 nuGetPath?: string
6080
6081 // Continue if no packages match the "Path/Pattern to nupkg"
6082 continueOnEmptyNupkgMatch?: bool
6083 })
6084 ...
6085 },
6086 {
6087 // Query work items
6088 //
6089 // Execute a work item query and check the number of items returned
6090 task!: null | bool | number | =~"^queryWorkItems@0$" | [...] | {...}
6091
6092 // Query work items inputs
6093 inputs!: null |
6094 bool |
6095 number |
6096 string |
6097 [...] |
6098 close({
6099 // Query
6100 queryId!: string
6101
6102 // Upper threshold
6103 maxThreshold?: string
6104
6105 // Lower threshold
6106 minThreshold?: string
6107 })
6108 ...
6109 },
6110 {
6111 // Azure Web App for Containers
6112 //
6113 // Deploy containers to Azure App Service
6114 task!: null | bool | number | =~"^AzureWebAppContainer@1$" | [...] | {...}
6115
6116 // Azure Web App for Containers inputs
6117 inputs!: null |
6118 bool |
6119 number |
6120 string |
6121 [...] |
6122 close({
6123 // Azure subscription
6124 azureSubscription!: string
6125
6126 // App name
6127 appName!: string
6128
6129 // Deploy to Slot or App Service Environment
6130 deployToSlotOrASE?: bool
6131
6132 // Resource group
6133 resourceGroupName?: string
6134
6135 // Slot
6136 slotName?: string
6137
6138 // Image name
6139 containers?: string
6140
6141 // Configuration File
6142 multicontainerConfigFile?: string
6143
6144 // Startup command
6145 containerCommand?: string
6146
6147 // App settings
6148 appSettings?: string
6149
6150 // Configuration settings
6151 configurationStrings?: string
6152 })
6153 ...
6154 },
6155 {
6156 // SQL Server database deploy
6157 //
6158 // Deploy a SQL Server database using DACPAC or SQL scripts
6159 task!: null | bool | number | =~"^SqlDacpacDeploymentOnMachineGroup@0$" | [...] | {...}
6160
6161 // SQL Server database deploy inputs
6162 inputs?: null |
6163 bool |
6164 number |
6165 string |
6166 [...] |
6167 close({
6168 // Deploy SQL Using
6169 TaskType?: "dacpac" | "sqlQuery" | "sqlInline"
6170
6171 // DACPAC File
6172 DacpacFile?: string
6173
6174 // Sql File
6175 SqlFile?: string
6176
6177 // Execute within a transaction
6178 ExecuteInTransaction?: bool
6179
6180 // Acquire an exclusive app lock while executing script(s)
6181 ExclusiveLock?: bool
6182
6183 // App lock name
6184 AppLockName?: string
6185
6186 // Inline Sql
6187 InlineSql?: string
6188
6189 // Specify SQL Using
6190 TargetMethod?: "server" | "connectionString" | "publishProfile"
6191
6192 // Server Name
6193 ServerName?: string
6194
6195 // Database Name
6196 DatabaseName?: string
6197
6198 // Authentication
6199 AuthScheme?: "windowsAuthentication" | "sqlServerAuthentication"
6200
6201 // SQL User name
6202 SqlUsername?: string
6203
6204 // SQL Password
6205 SqlPassword?: string
6206
6207 // Connection String
6208 ConnectionString?: string
6209
6210 // Publish Profile
6211 PublishProfile?: string
6212
6213 // Additional Arguments
6214 AdditionalArguments?: string
6215
6216 // Additional Arguments
6217 AdditionalArgumentsSql?: string
6218 })
6219 ...
6220 },
6221 {
6222 // Cache (Beta)
6223 //
6224 // Cache files between runs
6225 task!: null | bool | number | =~"^CacheBeta@1$" | [...] | {...}
6226
6227 // Cache (Beta) inputs
6228 inputs!: null |
6229 bool |
6230 number |
6231 string |
6232 [...] |
6233 close({
6234 // Key
6235 key!: string
6236
6237 // Path
6238 path!: string
6239
6240 // Cache hit variable
6241 cacheHitVar?: string
6242
6243 // Additional restore key prefixes
6244 restoreKeys?: string
6245 })
6246 ...
6247 },
6248 {
6249 // Cache (Beta)
6250 //
6251 // Cache files between runs
6252 task!: null | bool | number | =~"^CacheBeta@0$" | [...] | {...}
6253
6254 // Cache (Beta) inputs
6255 inputs!: null |
6256 bool |
6257 number |
6258 string |
6259 [...] |
6260 close({
6261 // Key
6262 key!: string
6263
6264 // Path
6265 path!: string
6266
6267 // Cache hit variable
6268 cacheHitVar?: string
6269 })
6270 ...
6271 },
6272 {
6273 // Cache
6274 //
6275 // Cache files between runs
6276 task!: null | bool | number | =~"^Cache@2$" | [...] | {...}
6277
6278 // Cache inputs
6279 inputs!: null |
6280 bool |
6281 number |
6282 string |
6283 [...] |
6284 close({
6285 // Key
6286 key!: string
6287
6288 // Path
6289 path!: string
6290
6291 // Cache hit variable
6292 cacheHitVar?: string
6293
6294 // Additional restore key prefixes
6295 restoreKeys?: string
6296 })
6297 ...
6298 },
6299 {
6300 // CMake
6301 //
6302 // Build with the CMake cross-platform build system
6303 task!: null | bool | number | =~"^CMake@1$" | [...] | {...}
6304
6305 // CMake inputs
6306 inputs?: null |
6307 bool |
6308 number |
6309 string |
6310 [...] |
6311 close({
6312 // Working Directory
6313 workingDirectory?: string
6314
6315 // Arguments
6316 cmakeArgs?: string
6317
6318 // Run cmake command inside shell
6319 runInsideShell?: bool
6320 })
6321 ...
6322 },
6323 {
6324 // Mobile Center Test
6325 //
6326 // Test mobile app packages with Visual Studio Mobile Center.
6327 task!: null | bool | number | =~"^VSMobileCenterTest@0$" | [...] | {...}
6328
6329 // Mobile Center Test inputs
6330 inputs!: null |
6331 bool |
6332 number |
6333 string |
6334 [...] |
6335 close({
6336 // Binary Application File Path
6337 app!: string
6338
6339 // Artifacts Directory
6340 artifactsDir?: string
6341
6342 // Prepare Tests
6343 enablePrepare?: bool
6344
6345 // Test Framework
6346 framework?: "appium" | "espresso" | "calabash" | "uitest" | "xcuitest"
6347
6348 // Build Directory
6349 appiumBuildDir?: string
6350
6351 // Build Directory
6352 espressoBuildDir?: string
6353
6354 // Test APK Path
6355 espressoTestApkPath?: string
6356
6357 // Project Directory
6358 calabashProjectDir?: string
6359
6360 // Cucumber Config File
6361 calabashConfigFile?: string
6362
6363 // Profile to run
6364 calabashProfile?: string
6365
6366 // Skip Configuration Check
6367 calabashSkipConfigCheck?: bool
6368
6369 // Build Directory
6370 uitestBuildDir?: string
6371
6372 // Store File
6373 uitestStoreFile?: string
6374
6375 // Store Password
6376 uitestStorePass?: string
6377
6378 // Key Alias
6379 uitestKeyAlias?: string
6380
6381 // Key Password
6382 uitestKeyPass?: string
6383
6384 // Test Tools Directory
6385 uitestToolsDir?: string
6386
6387 // Signing Information
6388 signInfo?: string
6389
6390 // Build Directory
6391 xcuitestBuildDir?: string
6392
6393 // Test IPA Path
6394 xcuitestTestIpaPath?: string
6395
6396 // Additional Options
6397 prepareOpts?: string
6398
6399 // Run Tests
6400 enableRun?: bool
6401
6402 // Authentication Method
6403 credsType?: "serviceEndpoint" | "inputs"
6404
6405 // Mobile Center Connection
6406 serverEndpoint?: string
6407
6408 // Mobile Center Username
6409 username?: string
6410
6411 // Mobile Center Password
6412 password?: string
6413
6414 // App Slug
6415 appSlug?: string
6416
6417 // Devices
6418 devices?: string
6419
6420 // Test Series
6421 series?: string
6422
6423 // dSYM Directory
6424 dsymDir?: string
6425
6426 // System Language
6427 locale?: "da_DK" |
6428 "nl_NL" |
6429 "en_GB" |
6430 "en_US" |
6431 "fr_FR" |
6432 "de_DE" |
6433 "ja_JP" |
6434 "ru_RU" |
6435 "es_MX" |
6436 "es_ES" |
6437 "user"
6438
6439 // Other Locale
6440 userDefinedLocale?: string
6441
6442 // Addtional Options for Login
6443 loginOpts?: string
6444
6445 // Additional Options for Run
6446 runOpts?: string
6447
6448 // Do not wait for test result
6449 async?: bool
6450
6451 // mobile-center CLI Location
6452 cliLocationOverride?: string
6453
6454 // Enable Debug Output
6455 debug?: bool
6456 })
6457 ...
6458 },
6459 {
6460 // App Center test
6461 //
6462 // Test app packages with Visual Studio App Center
6463 task!: null | bool | number | =~"^AppCenterTest@1$" | [...] | {...}
6464
6465 // App Center test inputs
6466 inputs!: null |
6467 bool |
6468 number |
6469 string |
6470 [...] |
6471 close({
6472 // Binary application file path
6473 appFile!: string
6474
6475 // Artifacts directory
6476 artifactsDirectory?: string
6477
6478 // Prepare tests
6479 prepareTests?: bool
6480
6481 // Test framework
6482 frameworkOption?: "appium" | "espresso" | "calabash" | "uitest" | "xcuitest"
6483
6484 // Build directory
6485 appiumBuildDirectory?: string
6486
6487 // Build directory
6488 espressoBuildDirectory?: string
6489
6490 // Test APK path
6491 espressoTestApkFile?: string
6492
6493 // Project directory
6494 calabashProjectDirectory?: string
6495
6496 // Cucumber config file
6497 calabashConfigFile?: string
6498
6499 // Profile to run
6500 calabashProfile?: string
6501
6502 // Skip Configuration Check
6503 calabashSkipConfigCheck?: bool
6504
6505 // Build directory
6506 uiTestBuildDirectory?: string
6507
6508 // Store file
6509 uitestStorePath?: string
6510
6511 // Store password
6512 uiTestStorePassword?: string
6513
6514 // Key alias
6515 uitestKeyAlias?: string
6516
6517 // Key password
6518 uiTestKeyPassword?: string
6519
6520 // Test tools directory
6521 uiTestToolsDirectory?: string
6522
6523 // Signing information
6524 signInfo?: string
6525
6526 // Build directory
6527 xcUITestBuildDirectory?: string
6528
6529 // Test IPA path
6530 xcUITestIpaFile?: string
6531
6532 // Additional options
6533 prepareOptions?: string
6534
6535 // Run tests
6536 runTests?: bool
6537
6538 // Authentication method
6539 credentialsOption?: "serviceEndpoint" | "inputs"
6540
6541 // App Center service connection
6542 serverEndpoint?: string
6543
6544 // App Center username
6545 username?: string
6546
6547 // App Center password
6548 password?: string
6549
6550 // App slug
6551 appSlug?: string
6552
6553 // Devices
6554 devices?: string
6555
6556 // Test series
6557 series?: string
6558
6559 // dSYM directory
6560 dsymDirectory?: string
6561
6562 // System language
6563 localeOption?: "da_DK" |
6564 "nl_NL" |
6565 "en_GB" |
6566 "en_US" |
6567 "fr_FR" |
6568 "de_DE" |
6569 "ja_JP" |
6570 "ru_RU" |
6571 "es_MX" |
6572 "es_ES" |
6573 "user"
6574
6575 // Other locale
6576 userDefinedLocale?: string
6577
6578 // Additional options for login
6579 loginOptions?: string
6580
6581 // Additional options for run
6582 runOptions?: string
6583
6584 // Do not wait for test result
6585 skipWaitingForResults?: bool
6586
6587 // App Center CLI location
6588 cliFile?: string
6589
6590 // Enable debug output
6591 showDebugOutput?: bool
6592 })
6593 ...
6594 },
6595 {
6596 // Download secure file
6597 //
6598 // Download a secure file to the agent machine
6599 task!: null | bool | number | =~"^DownloadSecureFile@1$" | [...] | {...}
6600
6601 // Download secure file inputs
6602 inputs!: null |
6603 bool |
6604 number |
6605 string |
6606 [...] |
6607 close({
6608 // Secure File
6609 secureFile!: string
6610
6611 // Retry Count
6612 retryCount?: string
6613
6614 // Socket Timeout
6615 socketTimeout?: string
6616 })
6617 ...
6618 },
6619 {
6620 // Azure Container Apps Deploy
6621 //
6622 // An Azure DevOps Task to build and deploy Azure Container Apps.
6623 task!: null | bool | number | =~"^AzureContainerApps@0$" | [...] | {...}
6624
6625 // Azure Container Apps Deploy inputs
6626 inputs!: null |
6627 bool |
6628 number |
6629 string |
6630 [...] |
6631 close({
6632 // Working Directory
6633 workingDirectory?: string
6634
6635 // Application source path
6636 appSourcePath?: string
6637
6638 // Azure Resource Manager connection
6639 azureSubscription!: string
6640
6641 // Azure Container Registry name
6642 acrName?: string
6643
6644 // Azure Container Registry username
6645 acrUsername?: string
6646
6647 // Azure Container Registry password
6648 acrPassword?: string
6649
6650 // Dockerfile path
6651 dockerfilePath?: string
6652
6653 // Docker image to build
6654 imageToBuild?: string
6655
6656 // Docker image to deploy
6657 imageToDeploy?: string
6658
6659 // Azure Container App name
6660 containerAppName?: string
6661
6662 // Azure resource group name
6663 resourceGroup?: string
6664
6665 // Azure Container App environment
6666 containerAppEnvironment?: string
6667
6668 // Application runtime stack
6669 runtimeStack?: string
6670
6671 // Application target port
6672 targetPort?: string
6673
6674 // Location of the Container App
6675 location?: string
6676
6677 // Environment variables
6678 environmentVariables?: string
6679
6680 // Ingress setting
6681 ingress?: string
6682
6683 // YAML configuration file path
6684 yamlConfigPath?: string
6685
6686 // Disable telemetry
6687 disableTelemetry?: bool
6688 })
6689 ...
6690 },
6691 {
6692 // Azure Container Apps Deploy
6693 //
6694 // An Azure DevOps Task to build and deploy Azure Container Apps.
6695 task!: null | bool | number | =~"^AzureContainerApps@1$" | [...] | {...}
6696
6697 // Azure Container Apps Deploy inputs
6698 inputs!: null |
6699 bool |
6700 number |
6701 string |
6702 [...] |
6703 close({
6704 // Working Directory
6705 workingDirectory?: string
6706
6707 // Application source path
6708 appSourcePath?: string
6709
6710 // Azure Resource Manager connection
6711 azureSubscription!: string
6712
6713 // Azure Container Registry name
6714 acrName?: string
6715
6716 // Azure Container Registry username
6717 acrUsername?: string
6718
6719 // Azure Container Registry password
6720 acrPassword?: string
6721
6722 // Dockerfile path
6723 dockerfilePath?: string
6724
6725 // Docker image to build
6726 imageToBuild?: string
6727
6728 // Docker image to deploy
6729 imageToDeploy?: string
6730
6731 // Azure Container App name
6732 containerAppName?: string
6733
6734 // Azure resource group name
6735 resourceGroup?: string
6736
6737 // Azure Container App environment
6738 containerAppEnvironment?: string
6739
6740 // Application runtime stack
6741 runtimeStack?: string
6742
6743 // Application target port
6744 targetPort?: string
6745
6746 // Location of the Container App
6747 location?: string
6748
6749 // Environment variables
6750 environmentVariables?: string
6751
6752 // Ingress setting
6753 ingress?: string
6754
6755 // YAML configuration file path
6756 yamlConfigPath?: string
6757
6758 // Disable telemetry
6759 disableTelemetry?: bool
6760 })
6761 ...
6762 },
6763 {
6764 // Use Ruby version
6765 //
6766 // Use the specified version of Ruby from the tool cache, optionally adding it to the PATH
6767 task!: null | bool | number | =~"^UseRubyVersion@0$" | [...] | {...}
6768
6769 // Use Ruby version inputs
6770 inputs?: null |
6771 bool |
6772 number |
6773 string |
6774 [...] |
6775 close({
6776 // Version spec
6777 versionSpec?: string
6778
6779 // Add to PATH
6780 addToPath?: bool
6781 })
6782 ...
6783 },
6784 {
6785 // Grunt
6786 //
6787 // Run the Grunt JavaScript task runner
6788 task!: null | bool | number | =~"^Grunt@0$" | [...] | {...}
6789
6790 // Grunt inputs
6791 inputs?: null |
6792 bool |
6793 number |
6794 string |
6795 [...] |
6796 close({
6797 // Grunt File Path
6798 gruntFile?: string
6799
6800 // Grunt Task(s)
6801 targets?: string
6802
6803 // Arguments
6804 arguments?: string
6805
6806 // Working Directory
6807 workingDirectory?: string
6808
6809 // grunt-cli location
6810 gruntCli?: string
6811
6812 // Publish to Azure Pipelines
6813 publishJUnitResults?: bool
6814
6815 // Test Results Files
6816 testResultsFiles?: string
6817
6818 // Test Run Title
6819 testRunTitle?: string
6820
6821 // Enable Code Coverage
6822 enableCodeCoverage?: bool
6823
6824 // Test Framework
6825 testFramework?: "Mocha" | "Jasmine"
6826
6827 // Source Files
6828 srcFiles?: string
6829
6830 // Test Script Files
6831 testFiles?: string
6832 })
6833 ...
6834 },
6835 {
6836 // Azure SQL Database deployment
6837 //
6838 // Deploy an Azure SQL Database using DACPAC or run scripts using SQLCMD
6839 task!: null | bool | number | =~"^SqlAzureDacpacDeployment@1$" | [...] | {...}
6840
6841 // Azure SQL Database deployment inputs
6842 inputs?: null |
6843 bool |
6844 number |
6845 string |
6846 [...] |
6847 close({
6848 // Azure Service Connection Type
6849 azureConnectionType?: "ConnectedServiceName" | "ConnectedServiceNameARM"
6850
6851 // Azure Classic Subscription
6852 azureClassicSubscription?: string
6853
6854 // Azure Subscription
6855 azureSubscription?: string
6856
6857 // Authentication Type
6858 AuthenticationType?: "server" |
6859 "aadAuthenticationPassword" |
6860 "aadAuthenticationIntegrated" |
6861 "connectionString" |
6862 "servicePrincipal"
6863
6864 // Azure SQL Server
6865 ServerName?: string
6866
6867 // Database
6868 DatabaseName?: string
6869
6870 // Login
6871 SqlUsername?: string
6872
6873 // Password
6874 SqlPassword?: string
6875
6876 // Login
6877 aadSqlUsername?: string
6878
6879 // Password
6880 aadSqlPassword?: string
6881
6882 // Connection String
6883 ConnectionString?: string
6884
6885 // Deploy type
6886 deployType?: "DacpacTask" | "SqlTask" | "InlineSqlTask"
6887
6888 // Action
6889 DeploymentAction?: "Publish" |
6890 "Extract" |
6891 "Export" |
6892 "Import" |
6893 "Script" |
6894 "DriftReport" |
6895 "DeployReport"
6896
6897 // DACPAC File
6898 DacpacFile?: string
6899
6900 // BACPAC File
6901 BacpacFile?: string
6902
6903 // SQL Script
6904 SqlFile?: string
6905
6906 // Inline SQL Script
6907 SqlInline?: string
6908
6909 // Publish Profile
6910 PublishProfile?: string
6911
6912 // Additional SqlPackage.exe Arguments
6913 AdditionalArguments?: string
6914
6915 // Additional Invoke-Sqlcmd Arguments
6916 SqlAdditionalArguments?: string
6917
6918 // Additional Invoke-Sqlcmd Arguments
6919 InlineAdditionalArguments?: string
6920
6921 // Specify Firewall Rules Using
6922 IpDetectionMethod?: "AutoDetect" | "IPAddressRange"
6923
6924 // Start IP Address
6925 StartIpAddress?: string
6926
6927 // End IP Address
6928 EndIpAddress?: string
6929
6930 // Delete Rule After Task Ends
6931 DeleteFirewallRule?: bool
6932 })
6933 ...
6934 },
6935 {
6936 // Container Structure Test
6937 //
6938 // Uses container-structure-test
6939 // (https://github.com/GoogleContainerTools/container-structure-test) to
6940 // validate the structure of an image based on four categories of tests -
6941 // command tests, file existence tests, file content tests and metadata tests
6942 task!: null | bool | number | =~"^ContainerStructureTest@0$" | [...] | {...}
6943
6944 // Container Structure Test inputs
6945 inputs!: null |
6946 bool |
6947 number |
6948 string |
6949 [...] |
6950 close({
6951 // Docker registry service connection
6952 dockerRegistryServiceConnection!: string
6953
6954 // Container repository
6955 repository!: string
6956
6957 // Tag
6958 tag?: string
6959
6960 // Config file path
6961 configFile!: string
6962
6963 // Test run title
6964 testRunTitle?: string
6965
6966 // Fail task if there are test failures
6967 failTaskOnFailedTests?: bool
6968 })
6969 ...
6970 },
6971 {
6972 // [Deprecated] IIS Web App deployment
6973 //
6974 // Deploy using MSDeploy, then create/update websites and app pools
6975 task!: null | bool | number | =~"^IISWebAppDeployment@1$" | [...] | {...}
6976
6977 // [Deprecated] IIS Web App deployment inputs
6978 inputs!: null |
6979 bool |
6980 number |
6981 string |
6982 [...] |
6983 close({
6984 // Machines
6985 EnvironmentName!: string
6986
6987 // Admin Login
6988 AdminUserName?: string
6989
6990 // Password
6991 AdminPassword?: string
6992
6993 // Protocol
6994 WinRMProtocol?: "Http" | "Https"
6995
6996 // Test Certificate
6997 TestCertificate?: bool
6998
6999 // Web Deploy Package
7000 WebDeployPackage!: string
7001
7002 // Web Deploy Parameter File
7003 WebDeployParamFile?: string
7004
7005 // Override Parameters
7006 OverRideParams?: string
7007
7008 // Create or Update Website
7009 CreateWebSite?: bool
7010
7011 // Website Name
7012 WebSiteName?: string
7013
7014 // Physical Path
7015 WebSitePhysicalPath?: string
7016
7017 // Physical Path Authentication
7018 WebSitePhysicalPathAuth?: "WebSiteUserPassThrough" | "WebSiteWindowsAuth"
7019
7020 // User Name
7021 WebSiteAuthUserName?: string
7022
7023 // Password
7024 WebSiteAuthUserPassword?: string
7025
7026 // Add Binding
7027 AddBinding?: bool
7028
7029 // Assign Duplicate Binding
7030 AssignDuplicateBinding?: bool
7031
7032 // Protocol
7033 Protocol?: "https" | "http"
7034
7035 // IP Address
7036 IPAddress?: string
7037
7038 // Port
7039 Port?: string
7040
7041 // Server Name Indication Required
7042 ServerNameIndication?: bool
7043
7044 // Host Name
7045 HostNameWithOutSNI?: string
7046
7047 // Host Name
7048 HostNameWithHttp?: string
7049
7050 // Host Name
7051 HostNameWithSNI?: string
7052
7053 // SSL Certificate Thumb Print
7054 SSLCertThumbPrint?: string
7055
7056 // Create or Update Application Pool
7057 CreateAppPool?: bool
7058
7059 // Name
7060 AppPoolName?: string
7061
7062 // .NET Version
7063 DotNetVersion?: "v4.0" | "v2.0" | "No Managed Code"
7064
7065 // Managed Pipeline Mode
7066 PipeLineMode?: "Integrated" | "Classic"
7067
7068 // Identity
7069 AppPoolIdentity?: "ApplicationPoolIdentity" |
7070 "LocalService" |
7071 "LocalSystem" |
7072 "NetworkService" |
7073 "SpecificUser"
7074
7075 // Username
7076 AppPoolUsername?: string
7077
7078 // Password
7079 AppPoolPassword?: string
7080
7081 // Additional AppCmd.exe Commands
7082 AppCmdCommands?: string
7083
7084 // Deploy in Parallel
7085 DeployInParallel?: bool
7086
7087 // Select Machines By
7088 ResourceFilteringMethod?: "machineNames" | "tags"
7089
7090 // Deploy to Machines
7091 MachineFilter?: string
7092 })
7093 ...
7094 },
7095 {
7096 // Kubectl tool installer
7097 //
7098 // Install Kubectl on agent machine
7099 task!: null | bool | number | =~"^KubectlInstaller@0$" | [...] | {...}
7100
7101 // Kubectl tool installer inputs
7102 inputs?: null |
7103 bool |
7104 number |
7105 string |
7106 [...] |
7107 close({
7108 // Kubectl Version Spec
7109 kubectlVersion?: string
7110 })
7111 ...
7112 },
7113 {
7114 // Command line
7115 //
7116 // Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
7117 task!: null | bool | number | =~"^CmdLine@2$" | [...] | {...}
7118
7119 // Command line inputs
7120 inputs?: null |
7121 bool |
7122 number |
7123 string |
7124 [...] |
7125 close({
7126 // Script
7127 script?: string
7128
7129 // Working Directory
7130 workingDirectory?: string
7131
7132 // Fail on Standard Error
7133 failOnStderr?: bool
7134 })
7135 ...
7136 },
7137 {
7138 // Command Line
7139 //
7140 // Run a command line with arguments
7141 task!: null | bool | number | =~"^CmdLine@1$" | [...] | {...}
7142
7143 // Command Line inputs
7144 inputs!: null |
7145 bool |
7146 number |
7147 string |
7148 [...] |
7149 close({
7150 // Tool
7151 filename!: string
7152
7153 // Arguments
7154 arguments?: string
7155
7156 // Working folder
7157 workingFolder?: string
7158
7159 // Fail on Standard Error
7160 failOnStandardError?: bool
7161 })
7162 ...
7163 },
7164 {
7165 // NuGet command
7166 //
7167 // Deprecated: use the “NuGet” task instead. It works with the new Tool
7168 // Installer framework so you can easily use new versions of NuGet without
7169 // waiting for a task update, provides better support for authenticated feeds
7170 // outside this organization/collection, and uses NuGet 4 by default.
7171 task!: null | bool | number | =~"^NuGet@0$" | [...] | {...}
7172
7173 // NuGet command inputs
7174 inputs!: null |
7175 bool |
7176 number |
7177 string |
7178 [...] |
7179 close({
7180 // Command
7181 command!: string
7182
7183 // Arguments
7184 arguments?: string
7185 })
7186 ...
7187 },
7188 {
7189 // Container Build
7190 //
7191 // Container Build Task
7192 task!: null | bool | number | =~"^ContainerBuild@0$" | [...] | {...}
7193
7194 // Container Build inputs
7195 inputs?: null |
7196 bool |
7197 number |
7198 string |
7199 [...] |
7200 close({
7201 // Docker registry service connection
7202 dockerRegistryServiceConnection?: string
7203
7204 // Container repository
7205 repository?: string
7206
7207 // Dockerfile
7208 Dockerfile?: string
7209
7210 // Build context
7211 buildContext?: string
7212
7213 // Tags
7214 tags?: string
7215 })
7216 ...
7217 },
7218 {
7219 // NuGet Installer
7220 //
7221 // Installs or restores missing NuGet packages. Use NuGetAuthenticate@0 task for
7222 // latest capabilities.
7223 task!: null | bool | number | =~"^NuGetInstaller@0$" | [...] | {...}
7224
7225 // NuGet Installer inputs
7226 inputs?: null |
7227 bool |
7228 number |
7229 string |
7230 [...] |
7231 close({
7232 // Path to solution or packages.config
7233 solution?: string
7234
7235 // Path to NuGet.config
7236 nugetConfigPath?: string
7237
7238 // Installation type
7239 restoreMode?: "restore" | "install"
7240
7241 // Disable local cache
7242 noCache?: bool
7243
7244 // NuGet arguments
7245 nuGetRestoreArgs?: string
7246
7247 // Verbosity
7248 verbosity?: "-" | "Quiet" | "Normal" | "Detailed"
7249
7250 // NuGet Version
7251 nuGetVersion?: "3.3.0" | "3.5.0.1829" | "4.0.0.2283" | "custom"
7252
7253 // Path to NuGet.exe
7254 nuGetPath?: string
7255 })
7256 ...
7257 },
7258 {
7259 // NuGet Restore
7260 //
7261 // Restores NuGet packages in preparation for a Visual Studio Build step.
7262 task!: null | bool | number | =~"^NuGetRestore@1$" | [...] | {...}
7263
7264 // NuGet Restore inputs
7265 inputs?: null |
7266 bool |
7267 number |
7268 string |
7269 [...] |
7270 close({
7271 // Path to solution, packages.config, or project.json
7272 solution?: string
7273
7274 // Feeds to use
7275 selectOrConfig?: "select" | "config"
7276
7277 // Use packages from this Azure Artifacts feed
7278 feed?: string
7279
7280 // Use packages from NuGet.org
7281 includeNuGetOrg?: bool
7282
7283 // Path to NuGet.config
7284 nugetConfigPath?: string
7285
7286 // Disable local cache
7287 noCache?: bool
7288
7289 // Destination directory
7290 packagesDirectory?: string
7291
7292 // Verbosity
7293 verbosity?: "-" | "Quiet" | "Normal" | "Detailed"
7294 })
7295 ...
7296 },
7297 {
7298 // NuGet
7299 //
7300 // Restore, pack, or push NuGet packages, or run a NuGet command. Supports
7301 // NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses
7302 // NuGet.exe and works with .NET Framework apps. For .NET Core and .NET
7303 // Standard apps, use the .NET Core task.
7304 task!: null | bool | number | =~"^NuGetCommand@2$" | [...] | {...}
7305
7306 // NuGet inputs
7307 inputs?: null |
7308 bool |
7309 number |
7310 string |
7311 [...] |
7312 close({
7313 // Command
7314 command?: "restore" | "pack" | "push" | "custom"
7315
7316 // Path to solution, packages.config, or project.json
7317 restoreSolution?: string
7318
7319 // Feeds to use
7320 feedsToUse?: "select" | "config"
7321
7322 // Use packages from this Azure Artifacts/TFS feed. Select from the dropdown or
7323 // enter [project name/]feed name.
7324 vstsFeed?: string
7325
7326 // Use packages from NuGet.org
7327 includeNuGetOrg?: bool
7328
7329 // Path to NuGet.config
7330 nugetConfigPath?: string
7331
7332 // Credentials for feeds outside this organization/collection
7333 externalFeedCredentials?: string
7334
7335 // Disable local cache
7336 noCache?: bool
7337
7338 // Disable parallel processing
7339 disableParallelProcessing?: bool
7340
7341 // Destination directory
7342 restoreDirectory?: string
7343
7344 // Verbosity
7345 verbosityRestore?: "Quiet" | "Normal" | "Detailed"
7346
7347 // Path to NuGet package(s) to publish
7348 packagesToPush?: string
7349
7350 // Target feed location
7351 nuGetFeedType?: "internal" | "external"
7352
7353 // Target feed
7354 publishVstsFeed?: string
7355
7356 // Publish pipeline metadata
7357 publishPackageMetadata?: bool
7358
7359 // Allow duplicates to be skipped
7360 allowPackageConflicts?: bool
7361
7362 // NuGet server
7363 publishFeedCredentials?: string
7364
7365 // Verbosity
7366 verbosityPush?: "Quiet" | "Normal" | "Detailed"
7367
7368 // Path to csproj or nuspec file(s) to pack
7369 packagesToPack?: string
7370
7371 // Configuration to package
7372 configuration?: string
7373
7374 // Package folder
7375 packDestination?: string
7376
7377 // Automatic package versioning
7378 versioningScheme?: "off" | "byPrereleaseNumber" | "byEnvVar" | "byBuildNumber"
7379
7380 // Include referenced projects
7381 includeReferencedProjects?: bool
7382
7383 // Environment variable
7384 versionEnvVar?: string
7385
7386 // Major
7387 majorVersion?: string
7388
7389 // Minor
7390 minorVersion?: string
7391
7392 // Patch
7393 patchVersion?: string
7394
7395 // Time zone
7396 packTimezone?: "utc" | "local"
7397
7398 // Create symbols package
7399 includeSymbols?: bool
7400
7401 // Tool Package
7402 toolPackage?: bool
7403
7404 // Additional build properties
7405 buildProperties?: string
7406
7407 // Base path
7408 basePath?: string
7409
7410 // Verbosity
7411 verbosityPack?: "Quiet" | "Normal" | "Detailed"
7412
7413 // Command and arguments
7414 arguments?: string
7415 })
7416 ...
7417 },
7418 {
7419 // Delay
7420 //
7421 // Delay further execution of a workflow by a fixed time
7422 task!: null | bool | number | =~"^Delay@1$" | [...] | {...}
7423
7424 // Delay inputs
7425 inputs?: null |
7426 bool |
7427 number |
7428 string |
7429 [...] |
7430 close({
7431 // Delay Time (minutes)
7432 delayForMinutes?: string
7433 })
7434 ...
7435 },
7436 {
7437 // Xamarin.iOS
7438 //
7439 // Build an iOS app with Xamarin on macOS
7440 task!: null | bool | number | =~"^XamariniOS@1$" | [...] | {...}
7441
7442 // Xamarin.iOS inputs
7443 inputs?: null |
7444 bool |
7445 number |
7446 string |
7447 [...] |
7448 close({
7449 // Solution
7450 solutionFile?: string
7451
7452 // Configuration
7453 configuration?: string
7454
7455 // Clean
7456 clean?: bool
7457
7458 // Create app package
7459 packageApp?: bool
7460
7461 // Build for iOS Simulator
7462 buildForSimulator?: bool
7463
7464 // Run NuGet restore
7465 runNugetRestore?: bool
7466
7467 // Arguments
7468 args?: string
7469
7470 // Working directory
7471 workingDirectory?: string
7472
7473 // Build tool
7474 buildToolOption?: "xbuild" | "msbuild"
7475
7476 // Build tool path
7477 mdtoolFile?: string
7478
7479 // Override using
7480 signingOption?: "file" | "id"
7481
7482 // Signing identity
7483 signingIdentity?: string
7484
7485 // Unlock default keychain
7486 signingUnlockDefaultKeychain?: bool
7487
7488 // Default keychain password
7489 signingDefaultKeychainPassword?: string
7490
7491 // Provisioning profile UUID
7492 signingProvisioningProfileID?: string
7493
7494 // P12 certificate file
7495 signingP12File?: string
7496
7497 // P12 password
7498 signingP12Password?: string
7499
7500 // Provisioning profile file
7501 signingProvisioningProfileFile?: string
7502
7503 // Remove profile after build
7504 signingRemoveProfile?: bool
7505 })
7506 ...
7507 },
7508 {
7509 // Xamarin.iOS
7510 //
7511 // Build an iOS app with Xamarin on macOS
7512 task!: null | bool | number | =~"^XamariniOS@2$" | [...] | {...}
7513
7514 // Xamarin.iOS inputs
7515 inputs?: null |
7516 bool |
7517 number |
7518 string |
7519 [...] |
7520 close({
7521 // Solution
7522 solutionFile?: string
7523
7524 // Configuration
7525 configuration?: string
7526
7527 // Clean
7528 clean?: bool
7529
7530 // Create app package
7531 packageApp?: bool
7532
7533 // Build for iOS Simulator
7534 buildForSimulator?: bool
7535
7536 // Run NuGet restore
7537 runNugetRestore?: bool
7538
7539 // Arguments
7540 args?: string
7541
7542 // Working directory
7543 workingDirectory?: string
7544
7545 // Build tool path
7546 mdtoolFile?: string
7547
7548 // Signing identity
7549 signingIdentity?: string
7550
7551 // Provisioning profile UUID
7552 signingProvisioningProfileID?: string
7553 })
7554 ...
7555 },
7556 {
7557 // Publish test results
7558 //
7559 // Publish test results to Azure Pipelines
7560 task!: null | bool | number | =~"^PublishTestResults@1$" | [...] | {...}
7561
7562 // Publish test results inputs
7563 inputs?: null |
7564 bool |
7565 number |
7566 string |
7567 [...] |
7568 close({
7569 // Test Result Format
7570 testRunner?: "JUnit" | "NUnit" | "VSTest" | "XUnit"
7571
7572 // Test Results Files
7573 testResultsFiles?: string
7574
7575 // Merge Test Results
7576 mergeTestResults?: bool
7577
7578 // Test Run Title
7579 testRunTitle?: string
7580
7581 // Platform
7582 platform?: string
7583
7584 // Configuration
7585 configuration?: string
7586
7587 // Upload Test Attachments
7588 publishRunAttachments?: bool
7589 })
7590 ...
7591 },
7592 {
7593 // Publish Test Results
7594 //
7595 // Publish test results to Azure Pipelines
7596 task!: null | bool | number | =~"^PublishTestResults@2$" | [...] | {...}
7597
7598 // Publish Test Results inputs
7599 inputs?: null |
7600 bool |
7601 number |
7602 string |
7603 [...] |
7604 close({
7605 // Test result format
7606 testResultsFormat?: "JUnit" | "NUnit" | "VSTest" | "XUnit" | "CTest"
7607
7608 // Test results files
7609 testResultsFiles?: string
7610
7611 // Search folder
7612 searchFolder?: string
7613
7614 // Merge test results
7615 mergeTestResults?: bool
7616
7617 // Fail if there are test failures
7618 failTaskOnFailedTests?: bool
7619
7620 // Fail if there is failure in publishing test results
7621 failTaskOnFailureToPublishResults?: bool
7622
7623 // Fail if no result files are found
7624 failTaskOnMissingResultsFile?: bool
7625
7626 // Test run title
7627 testRunTitle?: string
7628
7629 // Build Platform
7630 buildPlatform?: string
7631
7632 // Build Configuration
7633 buildConfiguration?: string
7634
7635 // Upload test results files
7636 publishRunAttachments?: bool
7637 })
7638 ...
7639 },
7640 {
7641 // Publish test results
7642 //
7643 // Publish test results to Azure Pipelines
7644 task!: null | bool | number | =~"^PublishTestResults@1$" | [...] | {...}
7645
7646 // Publish test results inputs
7647 inputs?: null |
7648 bool |
7649 number |
7650 string |
7651 [...] |
7652 close({
7653 // Test Result Format
7654 testRunner?: "JUnit" | "NUnit" | "VSTest" | "XUnit"
7655
7656 // Test Results Files
7657 testResultsFiles?: string
7658
7659 // Merge Test Results
7660 mergeTestResults?: bool
7661
7662 // Test Run Title
7663 testRunTitle?: string
7664
7665 // Platform
7666 platform?: string
7667
7668 // Configuration
7669 configuration?: string
7670
7671 // Upload Test Attachments
7672 publishRunAttachments?: bool
7673 })
7674 ...
7675 },
7676 {
7677 // Azure file copy
7678 //
7679 // Copy files to Azure Blob Storage or virtual machines
7680 task!: null | bool | number | =~"^AzureFileCopy@6$" | [...] | {...}
7681
7682 // Azure file copy inputs
7683 inputs!: null |
7684 bool |
7685 number |
7686 string |
7687 [...] |
7688 close({
7689 // Source
7690 SourcePath!: string
7691
7692 // Azure Subscription
7693 azureSubscription!: string
7694
7695 // Destination Type
7696 Destination!: "AzureBlob" | "AzureVMs"
7697
7698 // RM Storage Account
7699 storage!: string
7700
7701 // Container Name
7702 ContainerName?: string
7703
7704 // Blob Prefix
7705 BlobPrefix?: string
7706
7707 // Resource Group
7708 resourceGroup?: string
7709
7710 // Select Machines By
7711 ResourceFilteringMethod?: "machineNames" | "tags"
7712
7713 // Filter Criteria
7714 MachineNames?: string
7715
7716 // Admin Login
7717 vmsAdminUserName?: string
7718
7719 // Password
7720 vmsAdminPassword?: string
7721
7722 // Destination Folder
7723 TargetPath?: string
7724
7725 // Optional Arguments (for uploading files to blob)
7726 AdditionalArgumentsForBlobCopy?: string
7727
7728 // Optional Arguments (for downloading files to VM)
7729 AdditionalArgumentsForVMCopy?: string
7730
7731 // Enable Copy Prerequisites
7732 enableCopyPrerequisites?: bool
7733
7734 // Copy in Parallel
7735 CopyFilesInParallel?: bool
7736
7737 // Clean Target
7738 CleanTargetBeforeCopy?: bool
7739
7740 // Test Certificate
7741 skipCACheck?: bool
7742 })
7743 ...
7744 },
7745 {
7746 // Azure file copy
7747 //
7748 // Copy files to Azure Blob Storage or virtual machines
7749 task!: null | bool | number | =~"^AzureFileCopy@4$" | [...] | {...}
7750
7751 // Azure file copy inputs
7752 inputs!: null |
7753 bool |
7754 number |
7755 string |
7756 [...] |
7757 close({
7758 // Source
7759 SourcePath!: string
7760
7761 // Azure Subscription
7762 azureSubscription!: string
7763
7764 // Destination Type
7765 Destination!: "AzureBlob" | "AzureVMs"
7766
7767 // RM Storage Account
7768 storage!: string
7769
7770 // Container Name
7771 ContainerName?: string
7772
7773 // Blob Prefix
7774 BlobPrefix?: string
7775
7776 // Resource Group
7777 resourceGroup?: string
7778
7779 // Select Machines By
7780 ResourceFilteringMethod?: "machineNames" | "tags"
7781
7782 // Filter Criteria
7783 MachineNames?: string
7784
7785 // Admin Login
7786 vmsAdminUserName?: string
7787
7788 // Password
7789 vmsAdminPassword?: string
7790
7791 // Destination Folder
7792 TargetPath?: string
7793
7794 // Optional Arguments (for uploading files to blob)
7795 AdditionalArgumentsForBlobCopy?: string
7796
7797 // Optional Arguments (for downloading files to VM)
7798 AdditionalArgumentsForVMCopy?: string
7799
7800 // SAS Token Expiration Period In Minutes
7801 sasTokenTimeOutInMinutes?: string
7802
7803 // Enable Copy Prerequisites
7804 enableCopyPrerequisites?: bool
7805
7806 // Copy in Parallel
7807 CopyFilesInParallel?: bool
7808
7809 // Clean Target
7810 CleanTargetBeforeCopy?: bool
7811
7812 // Test Certificate
7813 skipCACheck?: bool
7814 })
7815 ...
7816 },
7817 {
7818 // Azure file copy
7819 //
7820 // Copy files to Azure Blob Storage or virtual machines
7821 task!: null | bool | number | =~"^AzureFileCopy@5$" | [...] | {...}
7822
7823 // Azure file copy inputs
7824 inputs!: null |
7825 bool |
7826 number |
7827 string |
7828 [...] |
7829 close({
7830 // Source
7831 SourcePath!: string
7832
7833 // Azure Subscription
7834 azureSubscription!: string
7835
7836 // Destination Type
7837 Destination!: "AzureBlob" | "AzureVMs"
7838
7839 // RM Storage Account
7840 storage!: string
7841
7842 // Container Name
7843 ContainerName?: string
7844
7845 // Blob Prefix
7846 BlobPrefix?: string
7847
7848 // Resource Group
7849 resourceGroup?: string
7850
7851 // Select Machines By
7852 ResourceFilteringMethod?: "machineNames" | "tags"
7853
7854 // Filter Criteria
7855 MachineNames?: string
7856
7857 // Admin Login
7858 vmsAdminUserName?: string
7859
7860 // Password
7861 vmsAdminPassword?: string
7862
7863 // Destination Folder
7864 TargetPath?: string
7865
7866 // Optional Arguments (for uploading files to blob)
7867 AdditionalArgumentsForBlobCopy?: string
7868
7869 // Optional Arguments (for downloading files to VM)
7870 AdditionalArgumentsForVMCopy?: string
7871
7872 // SAS Token Expiration Period In Minutes
7873 sasTokenTimeOutInMinutes?: string
7874
7875 // Enable Copy Prerequisites
7876 enableCopyPrerequisites?: bool
7877
7878 // Copy in Parallel
7879 CopyFilesInParallel?: bool
7880
7881 // Clean Target
7882 CleanTargetBeforeCopy?: bool
7883
7884 // Test Certificate
7885 skipCACheck?: bool
7886 })
7887 ...
7888 },
7889 {
7890 // Azure file copy
7891 //
7892 // Copy files to Azure Blob Storage or virtual machines
7893 task!: null | bool | number | =~"^AzureFileCopy@2$" | [...] | {...}
7894
7895 // Azure file copy inputs
7896 inputs!: null |
7897 bool |
7898 number |
7899 string |
7900 [...] |
7901 close({
7902 // Source
7903 SourcePath!: string
7904
7905 // Azure Connection Type
7906 azureConnectionType?: "ConnectedServiceName" | "ConnectedServiceNameARM"
7907
7908 // Azure Classic Subscription
7909 azureClassicSubscription?: string
7910
7911 // Azure Subscription
7912 azureSubscription?: string
7913
7914 // Destination Type
7915 Destination!: "AzureBlob" | "AzureVMs"
7916
7917 // Classic Storage Account
7918 classicStorage?: string
7919
7920 // RM Storage Account
7921 storage?: string
7922
7923 // Container Name
7924 ContainerName?: string
7925
7926 // Blob Prefix
7927 BlobPrefix?: string
7928
7929 // Cloud Service
7930 cloudService?: string
7931
7932 // Resource Group
7933 resourceGroup?: string
7934
7935 // Select Machines By
7936 ResourceFilteringMethod?: "machineNames" | "tags"
7937
7938 // Filter Criteria
7939 MachineNames?: string
7940
7941 // Admin Login
7942 vmsAdminUserName?: string
7943
7944 // Password
7945 vmsAdminPassword?: string
7946
7947 // Destination Folder
7948 TargetPath?: string
7949
7950 // Optional Arguments (for uploading files to blob)
7951 AdditionalArgumentsForBlobCopy?: string
7952
7953 // Optional Arguments (for downloading files to VM)
7954 AdditionalArgumentsForVMCopy?: string
7955
7956 // Enable Copy Prerequisites
7957 enableCopyPrerequisites?: bool
7958
7959 // Copy in Parallel
7960 CopyFilesInParallel?: bool
7961
7962 // Clean Target
7963 CleanTargetBeforeCopy?: bool
7964
7965 // Test Certificate
7966 skipCACheck?: bool
7967
7968 // Storage Container URI
7969 outputStorageUri?: string
7970
7971 // Storage Container SAS Token
7972 outputStorageContainerSasToken?: string
7973 })
7974 ...
7975 },
7976 {
7977 // Azure file copy
7978 //
7979 // Copy files to Azure Blob Storage or virtual machines
7980 task!: null | bool | number | =~"^AzureFileCopy@3$" | [...] | {...}
7981
7982 // Azure file copy inputs
7983 inputs!: null |
7984 bool |
7985 number |
7986 string |
7987 [...] |
7988 close({
7989 // Source
7990 SourcePath!: string
7991
7992 // Azure Subscription
7993 azureSubscription!: string
7994
7995 // Destination Type
7996 Destination!: "AzureBlob" | "AzureVMs"
7997
7998 // RM Storage Account
7999 storage!: string
8000
8001 // Container Name
8002 ContainerName?: string
8003
8004 // Blob Prefix
8005 BlobPrefix?: string
8006
8007 // Resource Group
8008 resourceGroup?: string
8009
8010 // Select Machines By
8011 ResourceFilteringMethod?: "machineNames" | "tags"
8012
8013 // Filter Criteria
8014 MachineNames?: string
8015
8016 // Admin Login
8017 vmsAdminUserName?: string
8018
8019 // Password
8020 vmsAdminPassword?: string
8021
8022 // Destination Folder
8023 TargetPath?: string
8024
8025 // Optional Arguments (for uploading files to blob)
8026 AdditionalArgumentsForBlobCopy?: string
8027
8028 // Optional Arguments (for downloading files to VM)
8029 AdditionalArgumentsForVMCopy?: string
8030
8031 // Enable Copy Prerequisites
8032 enableCopyPrerequisites?: bool
8033
8034 // Copy in Parallel
8035 CopyFilesInParallel?: bool
8036
8037 // Clean Target
8038 CleanTargetBeforeCopy?: bool
8039
8040 // Test Certificate
8041 skipCACheck?: bool
8042
8043 // Storage Container URI
8044 outputStorageUri?: string
8045
8046 // Storage Container SAS Token
8047 outputStorageContainerSasToken?: string
8048
8049 // SAS Token Expiration Period In Minutes
8050 sasTokenTimeOutInMinutes?: string
8051 })
8052 ...
8053 },
8054 {
8055 // Azure file copy
8056 //
8057 // Copy files to Azure Blob Storage or virtual machines
8058 task!: null | bool | number | =~"^AzureFileCopy@1$" | [...] | {...}
8059
8060 // Azure file copy inputs
8061 inputs!: null |
8062 bool |
8063 number |
8064 string |
8065 [...] |
8066 close({
8067 // Source
8068 SourcePath!: string
8069
8070 // Azure Connection Type
8071 azureConnectionType?: "ConnectedServiceName" | "ConnectedServiceNameARM"
8072
8073 // Azure Classic Subscription
8074 azureClassicSubscription?: string
8075
8076 // Azure Subscription
8077 azureSubscription?: string
8078
8079 // Destination Type
8080 Destination!: "AzureBlob" | "AzureVMs"
8081
8082 // Classic Storage Account
8083 classicStorage?: string
8084
8085 // RM Storage Account
8086 storage?: string
8087
8088 // Container Name
8089 ContainerName?: string
8090
8091 // Blob Prefix
8092 BlobPrefix?: string
8093
8094 // Cloud Service
8095 cloudService?: string
8096
8097 // Resource Group
8098 resourceGroup?: string
8099
8100 // Select Machines By
8101 ResourceFilteringMethod?: "machineNames" | "tags"
8102
8103 // Filter Criteria
8104 MachineNames?: string
8105
8106 // Admin Login
8107 vmsAdminUserName?: string
8108
8109 // Password
8110 vmsAdminPassword?: string
8111
8112 // Destination Folder
8113 TargetPath?: string
8114
8115 // Additional Arguments
8116 AdditionalArguments?: string
8117
8118 // Enable Copy Prerequisites
8119 enableCopyPrerequisites?: bool
8120
8121 // Copy in Parallel
8122 CopyFilesInParallel?: bool
8123
8124 // Clean Target
8125 CleanTargetBeforeCopy?: bool
8126
8127 // Test Certificate
8128 skipCACheck?: bool
8129
8130 // Storage Container URI
8131 outputStorageUri?: string
8132
8133 // Storage Container SAS Token
8134 outputStorageContainerSasToken?: string
8135 })
8136 ...
8137 },
8138 {
8139 // Index sources and publish symbols
8140 //
8141 // Index your source code and publish symbols to a file share or Azure Artifacts symbol server
8142 task!: null | bool | number | =~"^PublishSymbols@2$" | [...] | {...}
8143
8144 // Index sources and publish symbols inputs
8145 inputs?: null |
8146 bool |
8147 number |
8148 string |
8149 [...] |
8150 close({
8151 // Azure Resource Manager connection
8152 ConnectedServiceName?: string
8153
8154 // Path to symbols folder
8155 SymbolsFolder?: string
8156
8157 // Search pattern
8158 SearchPattern?: string
8159
8160 // Manifest
8161 Manifest?: string
8162
8163 // Index sources
8164 IndexSources?: bool
8165
8166 // Publish symbols
8167 PublishSymbols?: bool
8168
8169 // Symbol server type
8170 SymbolServerType?: " " | "TeamServices" | "FileShare"
8171
8172 // Path to publish symbols
8173 SymbolsPath?: string
8174
8175 // Compress symbols
8176 CompressSymbols?: bool
8177
8178 // Symbol Expiration (in days)
8179 SymbolExpirationInDays?: string
8180
8181 // Symbol file formats to publish
8182 IndexableFileFormats?: "Default" | "Pdb" | "SourceMap" | "All"
8183
8184 // Verbose logging
8185 DetailedLog?: bool
8186
8187 // Warn if not indexed
8188 TreatNotIndexedAsWarning?: bool
8189
8190 // Use NetCore client tool
8191 UseNetCoreClientTool?: bool
8192
8193 // Max wait time (min)
8194 SymbolsMaximumWaitTime?: string
8195
8196 // Product
8197 SymbolsProduct?: string
8198
8199 // Version
8200 SymbolsVersion?: string
8201
8202 // Artifact name
8203 SymbolsArtifactName?: string
8204 })
8205 ...
8206 },
8207 {
8208 // Index Sources & Publish Symbols
8209 //
8210 // Index your source code and publish symbols to a file share
8211 task!: null | bool | number | =~"^PublishSymbols@1$" | [...] | {...}
8212
8213 // Index Sources & Publish Symbols inputs
8214 inputs?: null |
8215 bool |
8216 number |
8217 string |
8218 [...] |
8219 close({
8220 // Path to publish symbols
8221 SymbolsPath?: string
8222
8223 // Search pattern
8224 SearchPattern?: string
8225
8226 // Path to symbols folder
8227 SymbolsFolder?: string
8228
8229 // Skip indexing
8230 SkipIndexing?: bool
8231
8232 // Warn if not indexed
8233 TreatNotIndexedAsWarning?: bool
8234
8235 // Max wait time (min)
8236 SymbolsMaximumWaitTime?: string
8237
8238 // Product
8239 SymbolsProduct?: string
8240
8241 // Version
8242 SymbolsVersion?: string
8243
8244 // Artifact name
8245 SymbolsArtifactName?: string
8246 })
8247 ...
8248 },
8249 {
8250 // Copy files over SSH
8251 //
8252 // Copy files or build artifacts to a remote machine over SSH
8253 task!: null | bool | number | =~"^CopyFilesOverSSH@0$" | [...] | {...}
8254
8255 // Copy files over SSH inputs
8256 inputs!: null |
8257 bool |
8258 number |
8259 string |
8260 [...] |
8261 close({
8262 // SSH service connection
8263 sshEndpoint!: string
8264
8265 // Source folder
8266 sourceFolder?: string
8267
8268 // Contents
8269 contents?: string
8270
8271 // Target folder
8272 targetFolder?: string
8273
8274 // Target machine running Windows
8275 isWindowsOnTarget?: bool
8276
8277 // Clean target folder
8278 cleanTargetFolder?: bool
8279
8280 // Remove hidden files in target folder
8281 cleanHiddenFilesInTarget?: bool
8282
8283 // SSH handshake timeout
8284 readyTimeout?: string
8285
8286 // Overwrite
8287 overwrite?: bool
8288
8289 // Fail if no files found to copy
8290 failOnEmptySource?: bool
8291
8292 // Flatten folders
8293 flattenFolders?: bool
8294
8295 // Number of concurrent uploads when copying files
8296 concurrentUploads?: string
8297
8298 // Delay between queueing uploads (in milliseconds)
8299 delayBetweenUploads?: string
8300 })
8301 ...
8302 },
8303 {
8304 // Gradle
8305 //
8306 // Build using a Gradle wrapper script
8307 task!: null | bool | number | =~"^Gradle@2$" | [...] | {...}
8308
8309 // Gradle inputs
8310 inputs?: null |
8311 bool |
8312 number |
8313 string |
8314 [...] |
8315 close({
8316 // Gradle wrapper
8317 gradleWrapperFile?: string
8318
8319 // Working directory
8320 workingDirectory?: string
8321
8322 // Options
8323 options?: string
8324
8325 // Tasks
8326 tasks?: string
8327
8328 // Publish to Azure Pipelines
8329 publishJUnitResults?: bool
8330
8331 // Test results files
8332 testResultsFiles?: string
8333
8334 // Test run title
8335 testRunTitle?: string
8336
8337 // Code coverage tool
8338 codeCoverageToolOption?: "None" | "Cobertura" | "JaCoCo"
8339
8340 // Class files directories
8341 codeCoverageClassFilesDirectories?: string
8342
8343 // Class inclusion/exclusion filters
8344 codeCoverageClassFilter?: string
8345
8346 // Fail when code coverage results are missing
8347 codeCoverageFailIfEmpty?: bool
8348
8349 // Gradle version >= 5.x
8350 codeCoverageGradle5xOrHigher?: bool
8351
8352 // Set JAVA_HOME by
8353 javaHomeOption?: "JDKVersion" | "Path"
8354
8355 // JDK version
8356 jdkVersionOption?: "default" | "1.17" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
8357
8358 // JDK path
8359 jdkDirectory?: string
8360
8361 // JDK architecture
8362 jdkArchitectureOption?: "x86" | "x64"
8363
8364 // Set GRADLE_OPTS
8365 gradleOptions?: string
8366
8367 // Run SonarQube or SonarCloud Analysis
8368 sonarQubeRunAnalysis?: bool
8369
8370 // SonarQube scanner for Gradle version
8371 sqGradlePluginVersionChoice?: "specify" | "build"
8372
8373 // SonarQube scanner for Gradle plugin version
8374 sonarQubeGradlePluginVersion?: string
8375
8376 // Run Checkstyle
8377 checkStyleRunAnalysis?: bool
8378
8379 // Run FindBugs
8380 findBugsRunAnalysis?: bool
8381
8382 // Run PMD
8383 pmdRunAnalysis?: bool
8384
8385 // Run SpotBugs
8386 spotBugsAnalysis?: bool
8387
8388 // Spotbugs plugin version
8389 spotBugsGradlePluginVersionChoice?: "specify" | "build"
8390
8391 // Version number
8392 spotbugsGradlePluginVersion?: string
8393 })
8394 ...
8395 },
8396 {
8397 // Gradle
8398 //
8399 // Build using a Gradle wrapper script
8400 task!: null | bool | number | =~"^Gradle@3$" | [...] | {...}
8401
8402 // Gradle inputs
8403 inputs?: null |
8404 bool |
8405 number |
8406 string |
8407 [...] |
8408 close({
8409 // Gradle wrapper
8410 gradleWrapperFile?: string
8411
8412 // Working directory
8413 workingDirectory?: string
8414
8415 // Options
8416 options?: string
8417
8418 // Tasks
8419 tasks?: string
8420
8421 // Publish to Azure Pipelines
8422 publishJUnitResults?: bool
8423
8424 // Test results files
8425 testResultsFiles?: string
8426
8427 // Test run title
8428 testRunTitle?: string
8429
8430 // Code coverage tool
8431 codeCoverageToolOption?: "None" | "Cobertura" | "JaCoCo"
8432
8433 // Class files directories
8434 codeCoverageClassFilesDirectories?: string
8435
8436 // Class inclusion/exclusion filters
8437 codeCoverageClassFilter?: string
8438
8439 // Fail when code coverage results are missing
8440 codeCoverageFailIfEmpty?: bool
8441
8442 // Gradle version >= 5.x
8443 codeCoverageGradle5xOrHigher?: bool
8444
8445 // Set JAVA_HOME by
8446 javaHomeOption?: "JDKVersion" | "Path"
8447
8448 // JDK version
8449 jdkVersionOption?: "default" | "1.17" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
8450
8451 // JDK path
8452 jdkDirectory?: string
8453
8454 // JDK architecture
8455 jdkArchitectureOption?: "x86" | "x64"
8456
8457 // Set GRADLE_OPTS
8458 gradleOptions?: string
8459
8460 // Run SonarQube or SonarCloud Analysis
8461 sonarQubeRunAnalysis?: bool
8462
8463 // SonarQube scanner for Gradle version
8464 sqGradlePluginVersionChoice?: "specify" | "build"
8465
8466 // SonarQube scanner for Gradle plugin version
8467 sonarQubeGradlePluginVersion?: string
8468
8469 // Run Checkstyle
8470 checkStyleRunAnalysis?: bool
8471
8472 // Run FindBugs
8473 findBugsRunAnalysis?: bool
8474
8475 // Run PMD
8476 pmdRunAnalysis?: bool
8477
8478 // Run SpotBugs
8479 spotBugsAnalysis?: bool
8480
8481 // Spotbugs plugin version
8482 spotBugsGradlePluginVersionChoice?: "specify" | "build"
8483
8484 // Version number
8485 spotbugsGradlePluginVersion?: string
8486 })
8487 ...
8488 },
8489 {
8490 // Gradle
8491 //
8492 // Build using a Gradle wrapper script
8493 task!: null | bool | number | =~"^Gradle@4$" | [...] | {...}
8494
8495 // Gradle inputs
8496 inputs?: null |
8497 bool |
8498 number |
8499 string |
8500 [...] |
8501 close({
8502 // Gradle wrapper
8503 gradleWrapperFile?: string
8504
8505 // Working directory
8506 workingDirectory?: string
8507
8508 // Options
8509 options?: string
8510
8511 // Tasks
8512 tasks?: string
8513
8514 // Publish to Azure Pipelines
8515 publishJUnitResults?: bool
8516
8517 // Test results files
8518 testResultsFiles?: string
8519
8520 // Test run title
8521 testRunTitle?: string
8522
8523 // Set JAVA_HOME by
8524 javaHomeOption?: "JDKVersion" | "Path"
8525
8526 // JDK version
8527 jdkVersionOption?: "default" | "1.17" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
8528
8529 // JDK path
8530 jdkDirectory?: string
8531
8532 // JDK architecture
8533 jdkArchitectureOption?: "x86" | "x64"
8534
8535 // Set GRADLE_OPTS
8536 gradleOptions?: string
8537
8538 // Run SonarQube or SonarCloud Analysis
8539 sonarQubeRunAnalysis?: bool
8540
8541 // SonarQube scanner for Gradle version
8542 sqGradlePluginVersionChoice?: "specify" | "build"
8543
8544 // SonarQube scanner for Gradle plugin version
8545 sonarQubeGradlePluginVersion?: string
8546
8547 // Run Checkstyle
8548 checkStyleRunAnalysis?: bool
8549
8550 // Run FindBugs
8551 findBugsRunAnalysis?: bool
8552
8553 // Run PMD
8554 pmdRunAnalysis?: bool
8555
8556 // Run SpotBugs
8557 spotBugsAnalysis?: bool
8558
8559 // Spotbugs plugin version
8560 spotBugsGradlePluginVersionChoice?: "specify" | "build"
8561
8562 // Version number
8563 spotbugsGradlePluginVersion?: string
8564 })
8565 ...
8566 },
8567 {
8568 // Gradle
8569 //
8570 // Build using a Gradle wrapper script
8571 task!: null | bool | number | =~"^Gradle@1$" | [...] | {...}
8572
8573 // Gradle inputs
8574 inputs?: null |
8575 bool |
8576 number |
8577 string |
8578 [...] |
8579 close({
8580 // Gradle Wrapper
8581 gradleWrapperFile?: string
8582
8583 // Options
8584 options?: string
8585
8586 // Tasks
8587 tasks?: string
8588
8589 // Working Directory
8590 workingDirectory?: string
8591
8592 // Publish to TFS/Team Services
8593 publishJUnitResults?: bool
8594
8595 // Test Results Files
8596 testResultsFiles?: string
8597
8598 // Test Run Title
8599 testRunTitle?: string
8600
8601 // Code Coverage Tool
8602 codeCoverageToolOption?: "None" | "Cobertura" | "JaCoCo"
8603
8604 // Class Files Directories
8605 codeCoverageClassFilesDirectories?: string
8606
8607 // Class Inclusion/Exclusion Filters
8608 codeCoverageClassFilter?: string
8609
8610 // Fail When Code Coverage Results Are Missing
8611 codeCoverageFailIfEmpty?: bool
8612
8613 // Set JAVA_HOME by
8614 javaHomeOption?: "JDKVersion" | "Path"
8615
8616 // JDK Version
8617 jdkVersionOption?: "default" | "1.9" | "1.8" | "1.7" | "1.6"
8618
8619 // JDK Path
8620 jdkDirectory?: string
8621
8622 // JDK Architecture
8623 jdkArchitectureOption?: "x86" | "x64"
8624
8625 // Set GRADLE_OPTS
8626 gradleOptions?: string
8627
8628 // Run SonarQube Analysis
8629 sonarQubeRunAnalysis?: bool
8630
8631 // SonarQube Endpoint
8632 sonarQubeServiceEndpoint?: string
8633
8634 // SonarQube Project Name
8635 sonarQubeProjectName?: string
8636
8637 // SonarQube Project Key
8638 sonarQubeProjectKey?: string
8639
8640 // SonarQube Project Version
8641 sonarQubeProjectVersion?: string
8642
8643 // SonarQube Gradle Plugin Version
8644 sonarQubeGradlePluginVersion?: string
8645
8646 // The SonarQube server version is lower than 5.2
8647 sonarQubeSpecifyDB?: bool
8648
8649 // Db Connection String
8650 sonarQubeDBUrl?: string
8651
8652 // Db Username
8653 sonarQubeDBUsername?: string
8654
8655 // Db User Password
8656 sonarQubeDBPassword?: string
8657
8658 // Include full analysis report in the build summary (SQ 5.3+)
8659 sonarQubeIncludeFullReport?: bool
8660
8661 // Fail the build on quality gate failure (SQ 5.3+)
8662 sonarQubeFailWhenQualityGateFails?: bool
8663
8664 // Run Checkstyle
8665 checkStyleRunAnalysis?: bool
8666
8667 // Run FindBugs
8668 findBugsRunAnalysis?: bool
8669
8670 // Run PMD
8671 pmdRunAnalysis?: bool
8672 })
8673 ...
8674 },
8675 {
8676 // Azure Test Plan
8677 //
8678 // Run manual and automated tests points of test plan for different testing
8679 // frameworks like Maven and Gradle for Java, PyTest for Python and Jest for
8680 // JavaScript
8681 task!: null | bool | number | =~"^AzureTestPlan@0$" | [...] | {...}
8682
8683 // Azure Test Plan inputs
8684 inputs!: null |
8685 bool |
8686 number |
8687 string |
8688 [...] |
8689 close({
8690 // Azure Resource Manager connection
8691 azureSubscription?: string
8692
8693 // Test cases to be executed
8694 testSelector!: "manualTests" | "automatedTests"
8695
8696 // Select tests using
8697 testPlanOrRunSelector?: "testPlan" | "testRun"
8698
8699 // Test Run
8700 testRunId?: string
8701
8702 // Test plan
8703 testPlan?: string
8704
8705 // Test suite
8706 testSuite?: string
8707
8708 // Test configuration
8709 testConfiguration!: string
8710
8711 // Select Test framework language
8712 testLanguageInput?: "JavaMaven" | "JavaGradle" | "Python" | "JavaScriptJest" | "Playwright"
8713
8714 // Pom file path
8715 pomFilePath?: string
8716
8717 // Gradle file path
8718 gradleFilePath?: string
8719
8720 // Upload test results files
8721 publishRunAttachments?: bool
8722
8723 // Fail if there are test failures
8724 failTaskOnFailedTests?: bool
8725
8726 // Fail if there is failure in publishing test results
8727 failTaskOnFailureToPublishResults?: bool
8728
8729 // Fail if no result files are found
8730 failTaskOnMissingResultsFile?: bool
8731 })
8732 ...
8733 },
8734 {
8735 // App Center distribute
8736 //
8737 // Distribute app builds to testers and users via Visual Studio App Center
8738 task!: null | bool | number | =~"^AppCenterDistribute@1$" | [...] | {...}
8739
8740 // App Center distribute inputs
8741 inputs!: null |
8742 bool |
8743 number |
8744 string |
8745 [...] |
8746 close({
8747 // App Center service connection
8748 serverEndpoint!: string
8749
8750 // App slug
8751 appSlug!: string
8752
8753 // Binary file path
8754 appFile!: string
8755
8756 // Symbols type
8757 symbolsOption?: "Apple"
8758
8759 // Symbols path
8760 symbolsPath?: string
8761
8762 // Symbols path (*.pdb)
8763 symbolsPdbFiles?: string
8764
8765 // dSYM path
8766 symbolsDsymFiles?: string
8767
8768 // Mapping file
8769 symbolsMappingTxtFile?: string
8770
8771 // Include all items in parent folder
8772 symbolsIncludeParentDirectory?: bool
8773
8774 // Create release notes
8775 releaseNotesOption?: "input" | "file"
8776
8777 // Release notes
8778 releaseNotesInput?: string
8779
8780 // Release notes file
8781 releaseNotesFile?: string
8782
8783 // Require users to update to this release
8784 isMandatory?: bool
8785
8786 // Destination ID
8787 distributionGroupId?: string
8788 })
8789 ...
8790 },
8791 {
8792 // App Center distribute
8793 //
8794 // Distribute app builds to testers and users via Visual Studio App Center
8795 task!: null | bool | number | =~"^AppCenterDistribute@2$" | [...] | {...}
8796
8797 // App Center distribute inputs
8798 inputs!: null |
8799 bool |
8800 number |
8801 string |
8802 [...] |
8803 close({
8804 // App Center service connection
8805 serverEndpoint!: string
8806
8807 // App slug
8808 appSlug!: string
8809
8810 // Binary file path
8811 appFile!: string
8812
8813 // Symbols type
8814 symbolsOption?: "Apple"
8815
8816 // Symbols path
8817 symbolsPath?: string
8818
8819 // Symbols path (*.pdb)
8820 symbolsPdbFiles?: string
8821
8822 // dSYM path
8823 symbolsDsymFiles?: string
8824
8825 // Mapping file
8826 symbolsMappingTxtFile?: string
8827
8828 // Include all items in parent folder
8829 symbolsIncludeParentDirectory?: bool
8830
8831 // Create release notes
8832 releaseNotesOption?: "input" | "file"
8833
8834 // Release notes
8835 releaseNotesInput?: string
8836
8837 // Release notes file
8838 releaseNotesFile?: string
8839
8840 // Require users to update to this release
8841 isMandatory?: bool
8842
8843 // Destination IDs
8844 distributionGroupId?: string
8845 })
8846 ...
8847 },
8848 {
8849 // App Center distribute
8850 //
8851 // Distribute app builds to testers and users via Visual Studio App Center
8852 task!: null | bool | number | =~"^AppCenterDistribute@3$" | [...] | {...}
8853
8854 // App Center distribute inputs
8855 inputs!: null |
8856 bool |
8857 number |
8858 string |
8859 [...] |
8860 close({
8861 // App Center service connection
8862 serverEndpoint!: string
8863
8864 // App slug
8865 appSlug!: string
8866
8867 // Binary file path
8868 appFile!: string
8869
8870 // Build version
8871 buildVersion?: string
8872
8873 // Symbols type
8874 symbolsOption?: "Apple" | "Android" | "UWP"
8875
8876 // Symbols path
8877 symbolsPath?: string
8878
8879 // Symbols path (*.appxsym)
8880 appxsymPath?: string
8881
8882 // dSYM path
8883 symbolsDsymFiles?: string
8884
8885 // Mapping file
8886 symbolsMappingTxtFile?: string
8887
8888 // Native Library File Path
8889 nativeLibrariesPath?: string
8890
8891 // Include all items in parent folder
8892 symbolsIncludeParentDirectory?: bool
8893
8894 // Create release notes
8895 releaseNotesOption?: "input" | "file"
8896
8897 // Release notes
8898 releaseNotesInput?: string
8899
8900 // Release notes file
8901 releaseNotesFile?: string
8902
8903 // Require users to update to this release
8904 isMandatory?: bool
8905
8906 // Release destination
8907 destinationType?: "groups" | "store"
8908
8909 // Destination IDs
8910 distributionGroupId?: string
8911
8912 // Destination ID
8913 destinationStoreId?: string
8914
8915 // Do not notify testers. Release will still be available to install.
8916 isSilent?: bool
8917 })
8918 ...
8919 },
8920 {
8921 // App Center Distribute
8922 //
8923 // Distribute app builds to testers and users via App Center
8924 task!: null | bool | number | =~"^AppCenterDistribute@0$" | [...] | {...}
8925
8926 // App Center Distribute inputs
8927 inputs!: null |
8928 bool |
8929 number |
8930 string |
8931 [...] |
8932 close({
8933 // App Center connection
8934 serverEndpoint!: string
8935
8936 // App slug
8937 appSlug!: string
8938
8939 // Binary file path
8940 appFile!: string
8941
8942 // Symbols type
8943 symbolsOption?: "Apple"
8944
8945 // Symbols path
8946 symbolsPath?: string
8947
8948 // Symbols path (*.pdb)
8949 symbolsPdbFiles?: string
8950
8951 // dSYM path
8952 symbolsDsymFiles?: string
8953
8954 // Mapping file
8955 symbolsMappingTxtFile?: string
8956
8957 // Include all items in parent folder
8958 symbolsIncludeParentDirectory?: bool
8959
8960 // Create release notes
8961 releaseNotesOption?: "input" | "file"
8962
8963 // Release notes
8964 releaseNotesInput?: string
8965
8966 // Release notes file
8967 releaseNotesFile?: string
8968
8969 // Distribution group ID
8970 distributionGroupId?: string
8971 })
8972 ...
8973 },
8974 {
8975 // NuGet tool installer
8976 //
8977 // Acquires a specific version of NuGet from the internet or the tools cache and
8978 // adds it to the PATH. Use this task to change the version of NuGet used in
8979 // the NuGet tasks.
8980 task!: null | bool | number | =~"^NuGetToolInstaller@0$" | [...] | {...}
8981
8982 // NuGet tool installer inputs
8983 inputs?: null |
8984 bool |
8985 number |
8986 string |
8987 [...] |
8988 close({
8989 // Version of NuGet.exe to install
8990 versionSpec?: string
8991
8992 // Always download the latest matching version
8993 checkLatest?: bool
8994 })
8995 ...
8996 },
8997 {
8998 // NuGet tool installer
8999 //
9000 // Acquires a specific version of NuGet from the internet or the tools cache and
9001 // adds it to the PATH. Use this task to change the version of NuGet used in
9002 // the NuGet tasks.
9003 task!: null | bool | number | =~"^NuGetToolInstaller@1$" | [...] | {...}
9004
9005 // NuGet tool installer inputs
9006 inputs?: null |
9007 bool |
9008 number |
9009 string |
9010 [...] |
9011 close({
9012 // Version of NuGet.exe to install
9013 versionSpec?: string
9014
9015 // Always check for new versions
9016 checkLatest?: bool
9017 })
9018 ...
9019 },
9020 {
9021 // Jenkins download artifacts
9022 //
9023 // Download artifacts produced by a Jenkins job
9024 task!: null | bool | number | =~"^JenkinsDownloadArtifacts@2$" | [...] | {...}
9025
9026 // Jenkins download artifacts inputs
9027 inputs!: null |
9028 bool |
9029 number |
9030 string |
9031 [...] |
9032 close({
9033 // Jenkins service connection
9034 jenkinsServerConnection!: string
9035
9036 // Job name
9037 jobName!: string
9038
9039 // Jenkins job type
9040 jenkinsJobType?: string
9041
9042 // Save to
9043 saveTo?: string
9044
9045 // Download artifacts produced by
9046 jenkinsBuild?: "LastSuccessfulBuild" | "BuildNumber"
9047
9048 // Jenkins build number
9049 jenkinsBuildNumber?: string
9050
9051 // Item Pattern
9052 itemPattern?: string
9053
9054 // Download Commits and WorkItems
9055 downloadCommitsAndWorkItems?: bool
9056
9057 // Download commits and work items from
9058 startJenkinsBuildNumber?: string
9059
9060 // Commit and WorkItem FileName
9061 artifactDetailsFileNameSuffix?: string
9062
9063 // Artifacts are propagated to Azure
9064 propagatedArtifacts?: bool
9065
9066 // Artifact Provider
9067 artifactProvider?: "azureStorage"
9068
9069 // Azure Subscription
9070 ConnectedServiceNameARM?: string
9071
9072 // Storage Account Name
9073 storageAccountName?: string
9074
9075 // Container Name
9076 containerName?: string
9077
9078 // Common Virtual Path
9079 commonVirtualPath?: string
9080 })
9081 ...
9082 },
9083 {
9084 // Jenkins download artifacts
9085 //
9086 // Download artifacts produced by a Jenkins job
9087 task!: null | bool | number | =~"^JenkinsDownloadArtifacts@1$" | [...] | {...}
9088
9089 // Jenkins download artifacts inputs
9090 inputs!: null |
9091 bool |
9092 number |
9093 string |
9094 [...] |
9095 close({
9096 // Jenkins service connection
9097 jenkinsServerConnection!: string
9098
9099 // Job name
9100 jobName!: string
9101
9102 // Jenkins job type
9103 jenkinsJobType?: string
9104
9105 // Save to
9106 saveTo?: string
9107
9108 // Download artifacts produced by
9109 jenkinsBuild?: "LastSuccessfulBuild" | "BuildNumber"
9110
9111 // Jenkins build number
9112 jenkinsBuildNumber?: string
9113
9114 // Item Pattern
9115 itemPattern?: string
9116
9117 // Download Commits and WorkItems
9118 downloadCommitsAndWorkItems?: bool
9119
9120 // Download commits and work items from
9121 startJenkinsBuildNumber?: string
9122
9123 // Commit and WorkItem FileName
9124 artifactDetailsFileNameSuffix?: string
9125
9126 // Artifacts are propagated to Azure
9127 propagatedArtifacts?: bool
9128
9129 // Artifact Provider
9130 artifactProvider?: "azureStorage"
9131
9132 // Azure Subscription
9133 ConnectedServiceNameARM?: string
9134
9135 // Storage Account Name
9136 storageAccountName?: string
9137
9138 // Container Name
9139 containerName?: string
9140
9141 // Common Virtual Path
9142 commonVirtualPath?: string
9143 })
9144 ...
9145 },
9146 {
9147 // Jenkins download artifacts
9148 //
9149 // Download artifacts produced by a Jenkins job
9150 task!: null | bool | number | =~"^JenkinsDownloadArtifacts@2$" | [...] | {...}
9151
9152 // Jenkins download artifacts inputs
9153 inputs!: null |
9154 bool |
9155 number |
9156 string |
9157 [...] |
9158 close({
9159 // Jenkins service connection
9160 jenkinsServerConnection!: string
9161
9162 // Job name
9163 jobName!: string
9164
9165 // Jenkins job type
9166 jenkinsJobType?: string
9167
9168 // Save to
9169 saveTo?: string
9170
9171 // Download artifacts produced by
9172 jenkinsBuild?: "LastSuccessfulBuild" | "BuildNumber"
9173
9174 // Jenkins build number
9175 jenkinsBuildNumber?: string
9176
9177 // Item Pattern
9178 itemPattern?: string
9179
9180 // Download Commits and WorkItems
9181 downloadCommitsAndWorkItems?: bool
9182
9183 // Download commits and work items from
9184 startJenkinsBuildNumber?: string
9185
9186 // Commit and WorkItem FileName
9187 artifactDetailsFileNameSuffix?: string
9188
9189 // Artifacts are propagated to Azure
9190 propagatedArtifacts?: bool
9191
9192 // Artifact Provider
9193 artifactProvider?: "azureStorage"
9194
9195 // Azure Subscription
9196 ConnectedServiceNameARM?: string
9197
9198 // Storage Account Name
9199 storageAccountName?: string
9200
9201 // Container Name
9202 containerName?: string
9203
9204 // Common Virtual Path
9205 commonVirtualPath?: string
9206 })
9207 ...
9208 },
9209 {
9210 // Azure Functions for container
9211 //
9212 // Update a function app with a Docker container
9213 task!: null | bool | number | =~"^AzureFunctionAppContainer@1$" | [...] | {...}
9214
9215 // Azure Functions for container inputs
9216 inputs!: null |
9217 bool |
9218 number |
9219 string |
9220 [...] |
9221 close({
9222 // Azure subscription
9223 azureSubscription!: string
9224
9225 // App name
9226 appName!: string
9227
9228 // Deploy to Slot or App Service Environment
9229 deployToSlotOrASE?: bool
9230
9231 // Resource group
9232 resourceGroupName?: string
9233
9234 // Slot
9235 slotName?: string
9236
9237 // Image name
9238 imageName!: string
9239
9240 // Startup command
9241 containerCommand?: string
9242
9243 // App settings
9244 appSettings?: string
9245
9246 // Configuration settings
9247 configurationStrings?: string
9248 })
9249 ...
9250 },
9251 {
9252 // Decrypt file (OpenSSL)
9253 //
9254 // Decrypt a file using OpenSSL
9255 task!: null | bool | number | =~"^DecryptFile@1$" | [...] | {...}
9256
9257 // Decrypt file (OpenSSL) inputs
9258 inputs!: null |
9259 bool |
9260 number |
9261 string |
9262 [...] |
9263 close({
9264 // Cypher
9265 cipher?: string
9266
9267 // Encrypted file
9268 inFile!: string
9269
9270 // Passphrase
9271 passphrase!: string
9272
9273 // Decrypted file path
9274 outFile?: string
9275
9276 // Working directory
9277 workingDirectory?: string
9278 })
9279 ...
9280 },
9281 {
9282 // Package and deploy Helm charts
9283 //
9284 // Deploy, configure, update a Kubernetes cluster in Azure Container Service by
9285 // running helm commands
9286 task!: null | bool | number | =~"^HelmDeploy@1$" | [...] | {...}
9287
9288 // Package and deploy Helm charts inputs
9289 inputs!: null |
9290 bool |
9291 number |
9292 string |
9293 [...] |
9294 close({
9295 // Connection Type
9296 connectionType?: "Azure Resource Manager" | "Kubernetes Service Connection" | "None"
9297
9298 // Azure subscription
9299 azureSubscription?: string
9300
9301 // Resource group
9302 azureResourceGroup?: string
9303
9304 // Kubernetes cluster
9305 kubernetesCluster?: string
9306
9307 // Use cluster admin credentials
9308 useClusterAdmin?: bool
9309
9310 // Kubernetes Service Connection
9311 kubernetesServiceConnection?: string
9312
9313 // Namespace
9314 namespace?: string
9315
9316 // Azure subscription for Container Registry
9317 azureSubscriptionForACR!: string
9318
9319 // Resource group
9320 azureResourceGroupForACR!: string
9321
9322 // Azure Container Registry
9323 azureContainerRegistry!: string
9324
9325 // Command
9326 command?: "create" |
9327 "delete" |
9328 "expose" |
9329 "get" |
9330 "init" |
9331 "install" |
9332 "login" |
9333 "logout" |
9334 "ls" |
9335 "package" |
9336 "rollback" |
9337 "upgrade" |
9338 "uninstall"
9339
9340 // Chart Type
9341 chartType?: "Name" | "FilePath"
9342
9343 // Chart Name
9344 chartName?: string
9345
9346 // Chart Path
9347 chartPath?: string
9348
9349 // Version
9350 chartVersion?: string
9351
9352 // Release Name
9353 releaseName?: string
9354
9355 // Set Values
9356 overrideValues?: string
9357
9358 // Value File
9359 valueFile?: string
9360
9361 // Destination
9362 destination?: string
9363
9364 // Use canary image version.
9365 canaryImage?: bool
9366
9367 // Upgrade Tiller
9368 upgradeTiller?: bool
9369
9370 // Update Dependency
9371 updateDependency?: bool
9372
9373 // Save
9374 save?: bool
9375
9376 // Install if release not present.
9377 install?: bool
9378
9379 // Recreate Pods.
9380 recreate?: bool
9381
9382 // Reset Values.
9383 resetValues?: bool
9384
9385 // Force
9386 force?: bool
9387
9388 // Wait
9389 waitForExecution?: bool
9390
9391 // Arguments
9392 arguments?: string
9393
9394 // Enable TLS
9395 enableTls?: bool
9396
9397 // CA certificate
9398 caCert?: string
9399
9400 // Certificate
9401 certificate?: string
9402
9403 // Key
9404 privatekey?: string
9405
9406 // Tiller namespace
9407 tillerNamespace?: string
9408
9409 // Fail on Standard Error
9410 failOnStderr?: bool
9411
9412 // Publish pipeline metadata
9413 publishPipelineMetadata?: bool
9414
9415 // Chart Name For Azure Container Registry
9416 chartNameForACR?: string
9417
9418 // Chart Path for Azure Container Registry
9419 chartPathForACR?: string
9420 })
9421 ...
9422 },
9423 {
9424 // Package and deploy Helm charts
9425 //
9426 // Deploy, configure, update a Kubernetes cluster in Azure Container Service by
9427 // running helm commands
9428 task!: null | bool | number | =~"^HelmDeploy@0$" | [...] | {...}
9429
9430 // Package and deploy Helm charts inputs
9431 inputs!: null |
9432 bool |
9433 number |
9434 string |
9435 [...] |
9436 close({
9437 // Connection Type
9438 connectionType?: "Azure Resource Manager" | "Kubernetes Service Connection" | "None"
9439
9440 // Azure subscription
9441 azureSubscription?: string
9442
9443 // Resource group
9444 azureResourceGroup?: string
9445
9446 // Kubernetes cluster
9447 kubernetesCluster?: string
9448
9449 // Use cluster admin credentials
9450 useClusterAdmin?: bool
9451
9452 // Kubernetes Service Connection
9453 kubernetesServiceConnection?: string
9454
9455 // Namespace
9456 namespace?: string
9457
9458 // Azure subscription for Container Registry
9459 azureSubscriptionForACR!: string
9460
9461 // Resource group
9462 azureResourceGroupForACR!: string
9463
9464 // Azure Container Registry
9465 azureContainerRegistry!: string
9466
9467 // Command
9468 command?: "create" |
9469 "delete" |
9470 "expose" |
9471 "get" |
9472 "init" |
9473 "install" |
9474 "login" |
9475 "logout" |
9476 "ls" |
9477 "push" |
9478 "package" |
9479 "rollback" |
9480 "save" |
9481 "upgrade" |
9482 "uninstall"
9483
9484 // Chart Type
9485 chartType?: "Name" | "FilePath"
9486
9487 // Chart Name
9488 chartName?: string
9489
9490 // Chart Path
9491 chartPath?: string
9492
9493 // Remote Repo
9494 remoteRepo?: string
9495
9496 // Version
9497 chartVersion?: string
9498
9499 // Release Name
9500 releaseName?: string
9501
9502 // Set Values
9503 overrideValues?: string
9504
9505 // Value File
9506 valueFile?: string
9507
9508 // Destination
9509 destination?: string
9510
9511 // Use canary image version.
9512 canaryImage?: bool
9513
9514 // Upgrade Tiller
9515 upgradeTiller?: bool
9516
9517 // Update Dependency
9518 updateDependency?: bool
9519
9520 // Save
9521 save?: bool
9522
9523 // Install if release not present.
9524 install?: bool
9525
9526 // Recreate Pods.
9527 recreate?: bool
9528
9529 // Reset Values.
9530 resetValues?: bool
9531
9532 // Force
9533 force?: bool
9534
9535 // Wait
9536 waitForExecution?: bool
9537
9538 // Arguments
9539 arguments?: string
9540
9541 // Enable TLS
9542 enableTls?: bool
9543
9544 // CA certificate
9545 caCert?: string
9546
9547 // Certificate
9548 certificate?: string
9549
9550 // Key
9551 privatekey?: string
9552
9553 // Tiller namespace
9554 tillerNamespace?: string
9555
9556 // Fail on Standard Error
9557 failOnStderr?: bool
9558
9559 // Publish pipeline metadata
9560 publishPipelineMetadata?: bool
9561
9562 // Chart Name For Azure Container Registry
9563 chartNameForACR?: string
9564
9565 // Chart Path for Azure Container Registry
9566 chartPathForACR?: string
9567 })
9568 ...
9569 },
9570 {
9571 // Install Apple certificate
9572 //
9573 // Install an Apple certificate required to build on a macOS agent machine
9574 task!: null | bool | number | =~"^InstallAppleCertificate@2$" | [...] | {...}
9575
9576 // Install Apple certificate inputs
9577 inputs!: null |
9578 bool |
9579 number |
9580 string |
9581 [...] |
9582 close({
9583 // Certificate (P12)
9584 certSecureFile!: string
9585
9586 // Certificate (P12) password
9587 certPwd?: string
9588
9589 // Keychain
9590 keychain?: "default" | "temp" | "custom"
9591
9592 // Keychain password
9593 keychainPassword?: string
9594
9595 // Custom keychain path
9596 customKeychainPath?: string
9597
9598 // Delete certificate from keychain
9599 deleteCert?: bool
9600
9601 // Delete custom keychain
9602 deleteCustomKeychain?: bool
9603
9604 // Certificate signing identity
9605 signingIdentity?: string
9606
9607 // Set up partition_id ACL for the imported private key
9608 setUpPartitionIdACLForPrivateKey?: bool
9609
9610 // OpenSSL arguments for PKCS12
9611 opensslPkcsArgs?: string
9612 })
9613 ...
9614 },
9615 {
9616 // Install Apple Certificate
9617 //
9618 // Install an Apple certificate required to build on a macOS agent
9619 task!: null | bool | number | =~"^InstallAppleCertificate@1$" | [...] | {...}
9620
9621 // Install Apple Certificate inputs
9622 inputs!: null |
9623 bool |
9624 number |
9625 string |
9626 [...] |
9627 close({
9628 // Certificate (P12)
9629 certSecureFile!: string
9630
9631 // Certificate (P12) password
9632 certPwd?: string
9633
9634 // Keychain
9635 keychain?: "default" | "temp" | "custom"
9636
9637 // Keychain password
9638 keychainPassword?: string
9639
9640 // Custom keychain path
9641 customKeychainPath?: string
9642
9643 // Delete certificate from keychain
9644 deleteCert?: bool
9645
9646 // Delete custom keychain
9647 deleteCustomKeychain?: bool
9648
9649 // Certificate signing identity
9650 signingIdentity?: string
9651 })
9652 ...
9653 },
9654 {
9655 // Install Apple Certificate
9656 //
9657 // Install an Apple certificate required to build on a macOS agent
9658 task!: null | bool | number | =~"^InstallAppleCertificate@0$" | [...] | {...}
9659
9660 // Install Apple Certificate inputs
9661 inputs!: null |
9662 bool |
9663 number |
9664 string |
9665 [...] |
9666 close({
9667 // Certificate (P12)
9668 certSecureFile!: string
9669
9670 // Certificate (P12) Password
9671 certPwd?: string
9672
9673 // Keychain
9674 keychain?: "default" | "temp" | "custom"
9675
9676 // Keychain Password
9677 keychainPassword?: string
9678
9679 // Custom Keychain Path
9680 customKeychainPath?: string
9681
9682 // Delete Certificate from Keychain
9683 deleteCert?: bool
9684
9685 // Delete Custom Keychain
9686 deleteCustomKeychain?: bool
9687
9688 // Certificate Signing Identity
9689 signingIdentity?: string
9690 })
9691 ...
9692 },
9693 {
9694 // Invoke Azure Function
9695 //
9696 // Invoke an Azure Function
9697 task!: null | bool | number | =~"^AzureFunction@1$" | [...] | {...}
9698
9699 // Invoke Azure Function inputs
9700 inputs!: null |
9701 bool |
9702 number |
9703 string |
9704 [...] |
9705 close({
9706 // Azure function URL
9707 function!: string
9708
9709 // Function key
9710 key!: string
9711
9712 // Method
9713 method?: "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "PATCH"
9714
9715 // Headers
9716 headers?: string
9717
9718 // Query parameters
9719 queryParameters?: string
9720
9721 // Body
9722 body?: string
9723
9724 // Completion event
9725 waitForCompletion?: "true" | "false"
9726
9727 // Success criteria
9728 successCriteria?: string
9729 })
9730 ...
9731 },
9732 {
9733 // Invoke Azure Function
9734 //
9735 // Invoke Azure function as a part of your process.
9736 task!: null | bool | number | =~"^AzureFunction@0$" | [...] | {...}
9737
9738 // Invoke Azure Function inputs
9739 inputs!: null |
9740 bool |
9741 number |
9742 string |
9743 [...] |
9744 close({
9745 // Azure function url
9746 function!: string
9747
9748 // Function key
9749 key!: string
9750
9751 // Method
9752 method?: "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "PATCH"
9753
9754 // Headers
9755 headers?: string
9756
9757 // Query parameters
9758 queryParameters?: string
9759
9760 // Body
9761 body?: string
9762
9763 // Complete based on
9764 waitForCompletion?: "true" | "false"
9765
9766 // Success criteria
9767 successCriteria?: string
9768 })
9769 ...
9770 },
9771 {
9772 // Open Policy Agent Installer
9773 //
9774 // Install Open Policy Agent on agent machine
9775 task!: null | bool | number | =~"^OpenPolicyAgentInstaller@0$" | [...] | {...}
9776
9777 // Open Policy Agent Installer inputs
9778 inputs?: null |
9779 bool |
9780 number |
9781 string |
9782 [...] |
9783 close({
9784 // OPA Version Spec
9785 opaVersion?: string
9786 })
9787 ...
9788 },
9789 {
9790 // Download GitHub Release
9791 //
9792 // Downloads a GitHub Release from a repository
9793 task!: null | bool | number | =~"^DownloadGitHubRelease@0$" | [...] | {...}
9794
9795 // Download GitHub Release inputs
9796 inputs!: null |
9797 bool |
9798 number |
9799 string |
9800 [...] |
9801 close({
9802 // GitHub Connection
9803 connection!: string
9804
9805 // Repository
9806 userRepository!: string
9807
9808 // Default version
9809 defaultVersionType?: "latest" | "specificVersion" | "specificTag"
9810
9811 // Release
9812 version?: string
9813
9814 // Item Pattern
9815 itemPattern?: string
9816
9817 // Destination directory
9818 downloadPath?: string
9819 })
9820 ...
9821 },
9822 {
9823 // SSH
9824 //
9825 // Run shell commands or a script on a remote machine using SSH
9826 task!: null | bool | number | =~"^SSH@0$" | [...] | {...}
9827
9828 // SSH inputs
9829 inputs!: null |
9830 bool |
9831 number |
9832 string |
9833 [...] |
9834 close({
9835 // SSH service connection
9836 sshEndpoint!: string
9837
9838 // Run
9839 runOptions?: "commands" | "script" | "inline"
9840
9841 // Commands
9842 commands?: string
9843
9844 // Shell script path
9845 scriptPath?: string
9846
9847 // Inline Script
9848 inline?: string
9849
9850 // Interpreter command
9851 interpreterCommand?: string
9852
9853 // Arguments
9854 args?: string
9855
9856 // Fail on STDERR
9857 failOnStdErr?: bool
9858
9859 // Enable interactive session
9860 interactiveSession?: bool
9861
9862 // SSH handshake timeout
9863 readyTimeout?: string
9864
9865 // Use interactive-keyboard authentication
9866 interactiveKeyboardAuthentication?: bool
9867 })
9868 ...
9869 },
9870 {
9871 // Publish pipeline artifact
9872 //
9873 // Publish a local directory or file as a named artifact for the current pipeline
9874 task!: null | bool | number | =~"^PublishPipelineArtifact@0$" | [...] | {...}
9875
9876 // Publish pipeline artifact inputs
9877 inputs!: null |
9878 bool |
9879 number |
9880 string |
9881 [...] |
9882 close({
9883 // The name of this artifact
9884 artifactName?: string
9885
9886 // Path to publish
9887 targetPath!: string
9888
9889 // Custom properties
9890 properties?: string
9891 })
9892 ...
9893 },
9894 {
9895 // Publish Pipeline Artifacts
9896 //
9897 // Publish (upload) a file or directory as a named artifact for the current run
9898 task!: null | bool | number | =~"^PublishPipelineArtifact@1$" | [...] | {...}
9899
9900 // Publish Pipeline Artifacts inputs
9901 inputs?: null |
9902 bool |
9903 number |
9904 string |
9905 [...] |
9906 close({
9907 // File or directory path
9908 targetPath?: string
9909
9910 // Artifact name
9911 artifact?: string
9912
9913 // Artifact publish location
9914 publishLocation?: "pipeline" | "filepath"
9915
9916 // File share path
9917 fileSharePath?: string
9918
9919 // Parallel copy
9920 parallel?: bool
9921
9922 // Parallel count
9923 parallelCount?: int
9924
9925 // Custom properties
9926 properties?: string
9927 })
9928 ...
9929 },
9930 {
9931 // SonarQube for MSBuild - Begin Analysis
9932 //
9933 // [DEPRECATED] Fetch the Quality Profile from SonarQube to configure the analysis
9934 task!: null | bool | number | =~"^SonarQubePreBuild@1$" | [...] | {...}
9935
9936 // SonarQube for MSBuild - Begin Analysis inputs
9937 inputs!: null |
9938 bool |
9939 number |
9940 string |
9941 [...] |
9942 close({
9943 // Project Key
9944 projectKey!: string
9945
9946 // Project Name
9947 projectName!: string
9948
9949 // Project Version
9950 projectVersion?: string
9951
9952 // SonarQube Endpoint
9953 connectedServiceName!: string
9954
9955 // Db Connection String
9956 dbUrl?: string
9957
9958 // Db UserName
9959 dbUsername?: string
9960
9961 // Db User Password
9962 dbPassword?: string
9963
9964 // Additional Settings
9965 cmdLineArgs?: string
9966
9967 // Settings File
9968 configFile?: string
9969
9970 // Include full analysis report in the build summary (SQ 5.3+)
9971 includeFullReport?: bool
9972
9973 // Fail the build on quality gate failure (SQ 5.3+)
9974 breakBuild?: bool
9975 })
9976 ...
9977 },
9978 {
9979 // Download artifacts from file share
9980 //
9981 // Download artifacts from a file share, like \\share\drop
9982 task!: null | bool | number | =~"^DownloadFileshareArtifacts@1$" | [...] | {...}
9983
9984 // Download artifacts from file share inputs
9985 inputs!: null |
9986 bool |
9987 number |
9988 string |
9989 [...] |
9990 close({
9991 // File share path
9992 filesharePath!: string
9993
9994 // Artifact name
9995 artifactName!: string
9996
9997 // Matching pattern
9998 itemPattern?: string
9999
10000 // Download path
10001 downloadPath?: string
10002
10003 // Parallelization limit
10004 parallelizationLimit?: string
10005 })
10006 ...
10007 },
10008 {
10009 // Kubectl
10010 //
10011 // Deploy, configure, update a Kubernetes cluster in Azure Container Service by
10012 // running kubectl commands
10013 task!: null | bool | number | =~"^Kubernetes@1$" | [...] | {...}
10014
10015 // Kubectl inputs
10016 inputs?: null |
10017 bool |
10018 number |
10019 string |
10020 [...] |
10021 close({
10022 // Service connection type
10023 connectionType?: "Azure Resource Manager" | "Kubernetes Service Connection" | "None"
10024
10025 // Kubernetes service connection
10026 kubernetesServiceEndpoint?: string
10027
10028 // Azure subscription
10029 azureSubscriptionEndpoint?: string
10030
10031 // Resource group
10032 azureResourceGroup?: string
10033
10034 // Kubernetes cluster
10035 kubernetesCluster?: string
10036
10037 // Use cluster admin credentials
10038 useClusterAdmin?: bool
10039
10040 // Namespace
10041 namespace?: string
10042
10043 // Command
10044 command?: "apply" |
10045 "create" |
10046 "delete" |
10047 "exec" |
10048 "expose" |
10049 "get" |
10050 "login" |
10051 "logout" |
10052 "logs" |
10053 "rollout" |
10054 "run" |
10055 "set" |
10056 "top"
10057
10058 // Use configuration
10059 useConfigurationFile?: bool
10060
10061 // Configuration type
10062 configurationType?: "configuration" | "inline"
10063
10064 // File path
10065 configuration?: string
10066
10067 // Inline configuration
10068 inline?: string
10069
10070 // Arguments
10071 arguments?: string
10072
10073 // Type of secret
10074 secretType?: "dockerRegistry" | "generic"
10075
10076 // Arguments
10077 secretArguments?: string
10078
10079 // Container registry type
10080 containerRegistryType?: "Azure Container Registry" | "Container Registry"
10081
10082 // Docker registry service connection
10083 dockerRegistryEndpoint?: string
10084
10085 // Azure subscription
10086 azureSubscriptionEndpointForSecrets?: string
10087
10088 // Azure container registry
10089 azureContainerRegistry?: string
10090
10091 // Secret name
10092 secretName?: string
10093
10094 // Force update secret
10095 forceUpdate?: bool
10096
10097 // ConfigMap name
10098 configMapName?: string
10099
10100 // Force update configmap
10101 forceUpdateConfigMap?: bool
10102
10103 // Use file
10104 useConfigMapFile?: bool
10105
10106 // ConfigMap file
10107 configMapFile?: string
10108
10109 // Arguments
10110 configMapArguments?: string
10111
10112 // Kubectl
10113 versionOrLocation?: "version" | "location"
10114
10115 // Version spec
10116 versionSpec?: string
10117
10118 // Check for latest version
10119 checkLatest?: bool
10120
10121 // Path to kubectl
10122 specifyLocation?: string
10123
10124 // Working directory
10125 workingDirectory?: string
10126
10127 // Output format
10128 outputFormat?: "json" | "yaml" | "none"
10129 })
10130 ...
10131 },
10132 {
10133 // Kubectl
10134 //
10135 // Deploy, configure, update a Kubernetes cluster in Azure Container Service by
10136 // running kubectl commands
10137 task!: null | bool | number | =~"^Kubernetes@0$" | [...] | {...}
10138
10139 // Kubectl inputs
10140 inputs?: null |
10141 bool |
10142 number |
10143 string |
10144 [...] |
10145 close({
10146 // Kubernetes service connection
10147 kubernetesServiceConnection?: string
10148
10149 // Namespace
10150 namespace?: string
10151
10152 // Command
10153 command?: "apply" | "create" | "delete" | "exec" | "expose" | "get" | "logs" | "run" | "set" | "top"
10154
10155 // Use Configuration files
10156 useConfigurationFile?: bool
10157
10158 // Configuration file
10159 configuration?: string
10160
10161 // Arguments
10162 arguments?: string
10163
10164 // Type of secret
10165 secretType?: "dockerRegistry" | "generic"
10166
10167 // Arguments
10168 secretArguments?: string
10169
10170 // Container Registry type
10171 containerRegistryType?: "Azure Container Registry" | "Container Registry"
10172
10173 // Docker Registry service connection
10174 dockerRegistryConnection?: string
10175
10176 // Azure subscription
10177 azureSubscription?: string
10178
10179 // Azure Container Registry
10180 azureContainerRegistry?: string
10181
10182 // Secret name
10183 secretName?: string
10184
10185 // Force update secret
10186 forceUpdate?: bool
10187
10188 // ConfigMap name
10189 configMapName?: string
10190
10191 // Force update configmap
10192 forceUpdateConfigMap?: bool
10193
10194 // Use file
10195 useConfigMapFile?: bool
10196
10197 // ConfigMap file
10198 configMapFile?: string
10199
10200 // Arguments
10201 configMapArguments?: string
10202
10203 // Kubectl
10204 versionOrLocation?: "version" | "location"
10205
10206 // Version spec
10207 versionSpec?: string
10208
10209 // Check for latest version
10210 checkLatest?: bool
10211
10212 // Path to Kubectl
10213 specifyLocation?: string
10214
10215 // Working directory
10216 workingDirectory?: string
10217
10218 // Output format
10219 outputFormat?: "json" | "yaml"
10220
10221 // Output variable name
10222 kubectlOutput?: string
10223 })
10224 ...
10225 },
10226 {
10227 // Azure IoT Edge
10228 //
10229 // Build and deploy an Azure IoT Edge image
10230 task!: null | bool | number | =~"^AzureIoTEdge@2$" | [...] | {...}
10231
10232 // Azure IoT Edge inputs
10233 inputs?: null |
10234 bool |
10235 number |
10236 string |
10237 [...] |
10238 close({
10239 // Action
10240 action?: "Build module images" |
10241 "Push module images" |
10242 "Generate deployment manifest" |
10243 "Deploy to IoT Edge devices"
10244
10245 // Deployment file
10246 deploymentFilePath?: string
10247
10248 // Azure subscription contains IoT Hub
10249 azureSubscription?: string
10250
10251 // IoT Hub name
10252 iothubname?: string
10253
10254 // IoT Edge deployment ID
10255 deploymentid?: string
10256
10257 // IoT Edge deployment priority
10258 priority?: string
10259
10260 // Choose single/multiple device
10261 deviceOption?: "Single Device" | "Multiple Devices"
10262
10263 // IoT Edge device ID
10264 deviceId?: string
10265
10266 // IoT Edge device target condition
10267 targetcondition?: string
10268
10269 // Container registry type
10270 containerregistrytype?: "Azure Container Registry" | "Generic Container Registry"
10271
10272 // Docker Registry Connection
10273 dockerRegistryConnection?: string
10274
10275 // Azure subscription
10276 azureSubscriptionEndpoint?: string
10277
10278 // Azure Container Registry
10279 azureContainerRegistry?: string
10280
10281 // .template.json file
10282 templateFilePath?: string
10283
10284 // Default platform
10285 defaultPlatform?: "amd64" | "windows-amd64" | "arm32v7" | "arm64v8"
10286
10287 // Add registry credential to deployment manifest
10288 fillRegistryCredential?: "true" | "false"
10289
10290 // Output path
10291 deploymentManifestOutputPath?: string
10292
10293 // Validate the schema of generated deployment manifest
10294 validateGeneratedDeploymentManifest?: "true" | "false"
10295
10296 // Bypass module(s)
10297 bypassModules?: string
10298 })
10299 ...
10300 },
10301 {
10302 // Service Fabric Compose deploy
10303 //
10304 // Deploy a Docker Compose application to an Azure Service Fabric cluster
10305 task!: null | bool | number | =~"^ServiceFabricComposeDeploy@0$" | [...] | {...}
10306
10307 // Service Fabric Compose deploy inputs
10308 inputs!: null |
10309 bool |
10310 number |
10311 string |
10312 [...] |
10313 close({
10314 // Cluster Service Connection
10315 clusterConnection!: string
10316
10317 // Compose File Path
10318 composeFilePath?: string
10319
10320 // Application Name
10321 applicationName?: string
10322
10323 // Registry Credentials Source
10324 registryCredentials?: "AzureResourceManagerEndpoint" |
10325 "ContainerRegistryEndpoint" |
10326 "UsernamePassword" |
10327 "None"
10328
10329 // Docker Registry Service Connection
10330 dockerRegistryConnection?: string
10331
10332 // Azure subscription
10333 azureSubscription?: string
10334
10335 // Registry User Name
10336 registryUserName?: string
10337
10338 // Registry Password
10339 registryPassword?: string
10340
10341 // Password Encrypted
10342 passwordEncrypted?: bool
10343
10344 // Upgrade
10345 upgrade?: bool
10346
10347 // Deploy Timeout (s)
10348 deployTimeoutSec?: string
10349
10350 // Remove Timeout (s)
10351 removeTimeoutSec?: string
10352
10353 // Get Status Timeout (s)
10354 getStatusTimeoutSec?: string
10355 })
10356 ...
10357 },
10358 {
10359 // Android Signing
10360 //
10361 // Sign and align Android APK files
10362 task!: null | bool | number | =~"^AndroidSigning@1$" | [...] | {...}
10363
10364 // Android Signing inputs
10365 inputs!: null |
10366 bool |
10367 number |
10368 string |
10369 [...] |
10370 close({
10371 // APK Files
10372 files!: string
10373
10374 // Sign the APK
10375 jarsign?: bool
10376
10377 // Keystore File
10378 keystoreFile?: string
10379
10380 // Keystore Password
10381 keystorePass?: string
10382
10383 // Alias
10384 keystoreAlias?: string
10385
10386 // Key Password
10387 keyPass?: string
10388
10389 // Jarsigner Arguments
10390 jarsignerArguments?: string
10391
10392 // Zipalign
10393 zipalign?: bool
10394
10395 // Zipalign Location
10396 zipalignLocation?: string
10397 })
10398 ...
10399 },
10400 {
10401 // Android signing
10402 //
10403 // Sign and align Android APK files
10404 task!: null | bool | number | =~"^AndroidSigning@2$" | [...] | {...}
10405
10406 // Android signing inputs
10407 inputs?: null |
10408 bool |
10409 number |
10410 string |
10411 [...] |
10412 close({
10413 // APK files
10414 apkFiles?: string
10415
10416 // Sign the APK
10417 jarsign?: bool
10418
10419 // Keystore file
10420 jarsignerKeystoreFile?: string
10421
10422 // Keystore password
10423 jarsignerKeystorePassword?: string
10424
10425 // Alias
10426 jarsignerKeystoreAlias?: string
10427
10428 // Key password
10429 jarsignerKeyPassword?: string
10430
10431 // Jarsigner arguments
10432 jarsignerArguments?: string
10433
10434 // Zipalign
10435 zipalign?: bool
10436
10437 // Zipalign location
10438 zipalignFile?: string
10439 })
10440 ...
10441 },
10442 {
10443 // Android signing
10444 //
10445 // Sign and align Android APK files
10446 task!: null | bool | number | =~"^AndroidSigning@3$" | [...] | {...}
10447
10448 // Android signing inputs
10449 inputs?: null |
10450 bool |
10451 number |
10452 string |
10453 [...] |
10454 close({
10455 // APK files
10456 apkFiles?: string
10457
10458 // Sign the APK
10459 apksign?: bool
10460
10461 // Keystore file
10462 apksignerKeystoreFile?: string
10463
10464 // Keystore password
10465 apksignerKeystorePassword?: string
10466
10467 // Alias
10468 apksignerKeystoreAlias?: string
10469
10470 // Key password
10471 apksignerKeyPassword?: string
10472
10473 // apksigner version
10474 apksignerVersion?: string
10475
10476 // apksigner arguments
10477 apksignerArguments?: string
10478
10479 // apksigner location
10480 apksignerFile?: string
10481
10482 // Zipalign
10483 zipalign?: bool
10484
10485 // Zipalign version
10486 zipalignVersion?: string
10487
10488 // Zipalign location
10489 zipalignFile?: string
10490 })
10491 ...
10492 },
10493 {
10494 // Download pipeline artifact
10495 //
10496 // Downloads an artifact associated with a pipeline
10497 task!: null | bool | number | =~"^DownloadPipelineArtifact@0$" | [...] | {...}
10498
10499 // Download pipeline artifact inputs
10500 inputs!: null |
10501 bool |
10502 number |
10503 string |
10504 [...] |
10505 close({
10506 // The specific pipeline to download from
10507 pipelineId?: string
10508
10509 // The name of artifact to download.
10510 artifactName?: string
10511
10512 // Path to download to
10513 targetPath!: string
10514 })
10515 ...
10516 },
10517 {
10518 // Download Pipeline Artifacts
10519 //
10520 // Download build and pipeline artifacts
10521 task!: null | bool | number | =~"^DownloadPipelineArtifact@2$" | [...] | {...}
10522
10523 // Download Pipeline Artifacts inputs
10524 inputs?: null |
10525 bool |
10526 number |
10527 string |
10528 [...] |
10529 close({
10530 // Download artifacts produced by
10531 buildType?: "current" | "specific"
10532
10533 // Project
10534 project?: string
10535
10536 // Build pipeline
10537 definition?: string
10538
10539 // When appropriate, download artifacts from the triggering build.
10540 specificBuildWithTriggering?: bool
10541
10542 // Build version to download
10543 buildVersionToDownload?: "latest" | "latestFromBranch" | "specific"
10544
10545 // Branch name
10546 branchName?: string
10547
10548 // Build
10549 pipelineId?: string
10550
10551 // Build Tags
10552 tags?: string
10553
10554 // Download artifacts from partially succeeded builds.
10555 allowPartiallySucceededBuilds?: bool
10556
10557 // Download artifacts from failed builds.
10558 allowFailedBuilds?: bool
10559
10560 // Artifact name
10561 artifactName?: string
10562
10563 // Matching patterns
10564 itemPattern?: string
10565
10566 // Destination directory
10567 targetPath?: string
10568 })
10569 ...
10570 },
10571 {
10572 // Download pipeline artifact
10573 //
10574 // Download a named artifact from a pipeline to a local path
10575 task!: null | bool | number | =~"^DownloadPipelineArtifact@1$" | [...] | {...}
10576
10577 // Download pipeline artifact inputs
10578 inputs?: null |
10579 bool |
10580 number |
10581 string |
10582 [...] |
10583 close({
10584 // Download artifacts produced by
10585 buildType?: "current" | "specific"
10586
10587 // Project
10588 project?: string
10589
10590 // Build pipeline
10591 pipeline?: string
10592
10593 // When appropriate, download artifacts from the triggering build.
10594 specificBuildWithTriggering?: bool
10595
10596 // Build version to download
10597 buildVersionToDownload?: "latest" | "latestFromBranch" | "specific"
10598
10599 // Branch name
10600 branchName?: string
10601
10602 // Build
10603 pipelineId?: string
10604
10605 // Build Tags
10606 tags?: string
10607
10608 // Artifact name
10609 artifactName?: string
10610
10611 // Matching pattern
10612 itemPattern?: string
10613
10614 // Destination directory
10615 targetPath?: string
10616 })
10617 ...
10618 },
10619 {
10620 // Use Python version
10621 //
10622 // Use the specified version of Python from the tool cache, optionally adding it to the PATH
10623 task!: null | bool | number | =~"^UsePythonVersion@0$" | [...] | {...}
10624
10625 // Use Python version inputs
10626 inputs?: null |
10627 bool |
10628 number |
10629 string |
10630 [...] |
10631 close({
10632 // Version spec
10633 versionSpec?: string
10634
10635 // Disable downloading releases from the GitHub registry
10636 disableDownloadFromRegistry?: bool
10637
10638 // Allow downloading unstable releases
10639 allowUnstable?: bool
10640
10641 // GitHub token for GitHub Actions python registry
10642 githubToken?: string
10643
10644 // Add to PATH
10645 addToPath?: bool
10646
10647 // Architecture
10648 architecture?: "x86" | "x64"
10649 })
10650 ...
10651 },
10652 {
10653 // Service Fabric PowerShell
10654 //
10655 // Run a PowerShell script in the context of an Azure Service Fabric cluster connection
10656 task!: null | bool | number | =~"^ServiceFabricPowerShell@1$" | [...] | {...}
10657
10658 // Service Fabric PowerShell inputs
10659 inputs!: null |
10660 bool |
10661 number |
10662 string |
10663 [...] |
10664 close({
10665 // Cluster Service Connection
10666 clusterConnection!: string
10667
10668 // Script Type
10669 ScriptType?: "FilePath" | "InlineScript"
10670
10671 // Script Path
10672 ScriptPath?: string
10673
10674 // Inline Script
10675 Inline?: string
10676
10677 // Script Arguments
10678 ScriptArguments?: string
10679 })
10680 ...
10681 },
10682 {
10683 // Visual Studio Test
10684 //
10685 // Run unit and functional tests (Selenium, Appium, Coded UI test, etc.) using
10686 // the Visual Studio Test (VsTest) runner. Test frameworks that have a Visual
10687 // Studio test adapter such as MsTest, xUnit, NUnit, Chutzpah (for JavaScript
10688 // tests using QUnit, Mocha and Jasmine), etc. can be run. Tests can be
10689 // distributed on multiple agents using this task (version 2 and later).
10690 task!: null | bool | number | =~"^VSTest@2$" | [...] | {...}
10691
10692 // Visual Studio Test inputs
10693 inputs?: null |
10694 bool |
10695 number |
10696 string |
10697 [...] |
10698 close({
10699 // Select tests using
10700 testSelector?: "testAssemblies" | "testPlan" | "testRun"
10701
10702 // Test files
10703 testAssemblyVer2?: string
10704
10705 // Test plan
10706 testPlan?: string
10707
10708 // Test suite
10709 testSuite?: string
10710
10711 // Test configuration
10712 testConfiguration?: string
10713
10714 // Test Run
10715 tcmTestRun?: string
10716
10717 // Search folder
10718 searchFolder?: string
10719
10720 // Test results folder
10721 resultsFolder?: string
10722
10723 // Test filter criteria
10724 testFiltercriteria?: string
10725
10726 // Run only impacted tests
10727 runOnlyImpactedTests?: bool
10728
10729 // Number of builds after which all tests should be run
10730 runAllTestsAfterXBuilds?: string
10731
10732 // Test mix contains UI tests
10733 uiTests?: bool
10734
10735 // Select test platform using
10736 vstestLocationMethod?: "version" | "location"
10737
10738 // Test platform version
10739 vsTestVersion?: "latest" | "17.0" | "16.0" | "15.0" | "14.0" | "toolsInstaller"
10740
10741 // Path to vstest.console.exe
10742 vstestLocation?: string
10743
10744 // Settings file
10745 runSettingsFile?: string
10746
10747 // Override test run parameters
10748 overrideTestrunParameters?: string
10749
10750 // Path to custom test adapters
10751 pathtoCustomTestAdapters?: string
10752
10753 // Run tests in parallel on multi-core machines
10754 runInParallel?: bool
10755
10756 // Run tests in isolation
10757 runTestsInIsolation?: bool
10758
10759 // Code coverage enabled
10760 codeCoverageEnabled?: bool
10761
10762 // Other console options
10763 otherConsoleOptions?: string
10764
10765 // Batch tests
10766 distributionBatchType?: "basedOnTestCases" | "basedOnExecutionTime" | "basedOnAssembly"
10767
10768 // Batch options
10769 batchingBasedOnAgentsOption?: "autoBatchSize" | "customBatchSize"
10770
10771 // Number of tests per batch
10772 customBatchSizeValue?: string
10773
10774 // Batch options
10775 batchingBasedOnExecutionTimeOption?: "autoBatchSize" | "customTimeBatchSize"
10776
10777 // Running time (sec) per batch
10778 customRunTimePerBatchValue?: string
10779
10780 // Replicate tests instead of distributing when multiple agents are used in the job
10781 dontDistribute?: bool
10782
10783 // Test run title
10784 testRunTitle?: string
10785
10786 // Build platform
10787 platform?: string
10788
10789 // Build configuration
10790 configuration?: string
10791
10792 // Upload test attachments
10793 publishRunAttachments?: bool
10794
10795 // Fail the task if a minimum number of tests are not run.
10796 failOnMinTestsNotRun?: bool
10797
10798 // Minimum # of tests
10799 minimumExpectedTests?: string
10800
10801 // Collect advanced diagnostics in case of catastrophic failures
10802 diagnosticsEnabled?: bool
10803
10804 // Collect process dump and attach to test run report
10805 collectDumpOn?: "onAbortOnly" | "always" | "never"
10806
10807 // Rerun failed tests
10808 rerunFailedTests?: bool
10809
10810 // Do not rerun if test failures exceed specified threshold
10811 rerunType?: "basedOnTestFailurePercentage" | "basedOnTestFailureCount"
10812
10813 // % failure
10814 rerunFailedThreshold?: string
10815
10816 // # of failed tests
10817 rerunFailedTestCasesMaxLimit?: string
10818
10819 // Maximum # of attempts
10820 rerunMaxAttempts?: string
10821 })
10822 ...
10823 },
10824 {
10825 // Visual Studio Test
10826 //
10827 // Run unit and functional tests (Selenium, Appium, Coded UI test, etc.) using
10828 // the Visual Studio Test (VsTest) runner. Test frameworks that have a Visual
10829 // Studio test adapter such as MsTest, xUnit, NUnit, Chutzpah (for JavaScript
10830 // tests using QUnit, Mocha and Jasmine), etc. can be run. Tests can be
10831 // distributed on multiple agents using this task (version 2 and later).
10832 task!: null | bool | number | =~"^VSTest@3$" | [...] | {...}
10833
10834 // Visual Studio Test inputs
10835 inputs?: null |
10836 bool |
10837 number |
10838 string |
10839 [...] |
10840 close({
10841 // Azure Resource Manager connection
10842 azureSubscription?: string
10843
10844 // Select tests using
10845 testSelector?: "testAssemblies" | "testPlan" | "testRun"
10846
10847 // Test files
10848 testAssemblyVer2?: string
10849
10850 // Test plan
10851 testPlan?: string
10852
10853 // Test suite
10854 testSuite?: string
10855
10856 // Test configuration
10857 testConfiguration?: string
10858
10859 // Test Run
10860 tcmTestRun?: string
10861
10862 // Search folder
10863 searchFolder?: string
10864
10865 // Test results folder
10866 resultsFolder?: string
10867
10868 // Test filter criteria
10869 testFiltercriteria?: string
10870
10871 // Run only impacted tests
10872 runOnlyImpactedTests?: bool
10873
10874 // Number of builds after which all tests should be run
10875 runAllTestsAfterXBuilds?: string
10876
10877 // Test mix contains UI tests
10878 uiTests?: bool
10879
10880 // Select test platform using
10881 vstestLocationMethod?: "version" | "location"
10882
10883 // Test platform version
10884 vsTestVersion?: "latest" | "17.0" | "16.0" | "15.0" | "14.0" | "toolsInstaller"
10885
10886 // Path to vstest.console.exe
10887 vstestLocation?: string
10888
10889 // Settings file
10890 runSettingsFile?: string
10891
10892 // Override test run parameters
10893 overrideTestrunParameters?: string
10894
10895 // Path to custom test adapters
10896 pathtoCustomTestAdapters?: string
10897
10898 // Run tests in parallel on multi-core machines
10899 runInParallel?: bool
10900
10901 // Run tests in isolation
10902 runTestsInIsolation?: bool
10903
10904 // Code coverage enabled
10905 codeCoverageEnabled?: bool
10906
10907 // Other console options
10908 otherConsoleOptions?: string
10909
10910 // Batch tests
10911 distributionBatchType?: "basedOnTestCases" | "basedOnExecutionTime" | "basedOnAssembly"
10912
10913 // Batch options
10914 batchingBasedOnAgentsOption?: "autoBatchSize" | "customBatchSize"
10915
10916 // Number of tests per batch
10917 customBatchSizeValue?: string
10918
10919 // Batch options
10920 batchingBasedOnExecutionTimeOption?: "autoBatchSize" | "customTimeBatchSize"
10921
10922 // Running time (sec) per batch
10923 customRunTimePerBatchValue?: string
10924
10925 // Replicate tests instead of distributing when multiple agents are used in the job
10926 dontDistribute?: bool
10927
10928 // Test run title
10929 testRunTitle?: string
10930
10931 // Build platform
10932 platform?: string
10933
10934 // Build configuration
10935 configuration?: string
10936
10937 // Custom Logger Configuration
10938 customLoggerConfig?: string
10939
10940 // Upload test attachments
10941 publishRunAttachments?: bool
10942
10943 // Disable publishing test results
10944 donotPublishTestResults?: bool
10945
10946 // Fail the task if a minimum number of tests are not run.
10947 failOnMinTestsNotRun?: bool
10948
10949 // Minimum # of tests
10950 minimumExpectedTests?: string
10951
10952 // Collect advanced diagnostics in case of catastrophic failures
10953 diagnosticsEnabled?: bool
10954
10955 // Collect process dump and attach to test run report
10956 collectDumpOn?: "onAbortOnly" | "always" | "never"
10957
10958 // Rerun failed tests
10959 rerunFailedTests?: bool
10960
10961 // Do not rerun if test failures exceed specified threshold
10962 rerunType?: "basedOnTestFailurePercentage" | "basedOnTestFailureCount"
10963
10964 // % failure
10965 rerunFailedThreshold?: string
10966
10967 // # of failed tests
10968 rerunFailedTestCasesMaxLimit?: string
10969
10970 // Maximum # of attempts
10971 rerunMaxAttempts?: string
10972 })
10973 ...
10974 },
10975 {
10976 // Visual Studio Test
10977 //
10978 // Run tests with Visual Studio test runner
10979 task!: null | bool | number | =~"^VSTest@1$" | [...] | {...}
10980
10981 // Visual Studio Test inputs
10982 inputs?: null |
10983 bool |
10984 number |
10985 string |
10986 [...] |
10987 close({
10988 // Test Assembly
10989 testAssembly?: string
10990
10991 // Test Filter criteria
10992 testFiltercriteria?: string
10993
10994 // Run Settings File
10995 runSettingsFile?: string
10996
10997 // Override TestRun Parameters
10998 overrideTestrunParameters?: string
10999
11000 // Code Coverage Enabled
11001 codeCoverageEnabled?: bool
11002
11003 // Run In Parallel
11004 runInParallel?: bool
11005
11006 // VSTest
11007 vstestLocationMethod?: "version" | "location"
11008
11009 // VSTest version
11010 vsTestVersion?: "latest" | "14.0" | "12.0"
11011
11012 // Path to vstest.console.exe
11013 vstestLocation?: string
11014
11015 // Path to Custom Test Adapters
11016 pathtoCustomTestAdapters?: string
11017
11018 // Other console options
11019 otherConsoleOptions?: string
11020
11021 // Test Run Title
11022 testRunTitle?: string
11023
11024 // Platform
11025 platform?: string
11026
11027 // Configuration
11028 configuration?: string
11029
11030 // Upload Test Attachments
11031 publishRunAttachments?: bool
11032 })
11033 ...
11034 },
11035 {
11036 // Manual validation
11037 //
11038 // Pause a pipeline run to wait for manual interaction. Works only with YAML pipelines.
11039 task!: null | bool | number | =~"^ManualValidation@1$" | [...] | {...}
11040
11041 // Manual validation inputs
11042 inputs!: null |
11043 bool |
11044 number |
11045 string |
11046 [...] |
11047 close({
11048 // Notify users
11049 notifyUsers!: string
11050
11051 // Approvers
11052 approvers?: string
11053
11054 // Allow approvers to approve their own run
11055 allowApproversToApproveTheirOwnRuns?: bool
11056
11057 // Instructions
11058 instructions?: string
11059
11060 // On timeout
11061 onTimeout?: "reject" | "resume"
11062 })
11063 ...
11064 },
11065 {
11066 // Manual validation
11067 //
11068 // Pause a pipeline run to wait for manual interaction. Works only with YAML pipelines.
11069 task!: null | bool | number | =~"^ManualValidation@0$" | [...] | {...}
11070
11071 // Manual validation inputs
11072 inputs!: null |
11073 bool |
11074 number |
11075 string |
11076 [...] |
11077 close({
11078 // Notify users
11079 notifyUsers!: string
11080
11081 // Approvers
11082 approvers?: string
11083
11084 // Allow approvers to approve their own run
11085 allowApproversToApproveTheirOwnRuns?: bool
11086
11087 // Instructions
11088 instructions?: string
11089
11090 // On timeout
11091 onTimeout?: "reject" | "resume"
11092 })
11093 ...
11094 },
11095 {
11096 // Ant
11097 //
11098 // Build with Apache Ant
11099 task!: null | bool | number | =~"^Ant@1$" | [...] | {...}
11100
11101 // Ant inputs
11102 inputs?: null |
11103 bool |
11104 number |
11105 string |
11106 [...] |
11107 close({
11108 // Ant build file
11109 buildFile?: string
11110
11111 // Options
11112 options?: string
11113
11114 // Target(s)
11115 targets?: string
11116
11117 // Publish to Azure Pipelines
11118 publishJUnitResults?: bool
11119
11120 // Test results files
11121 testResultsFiles?: string
11122
11123 // Test run title
11124 testRunTitle?: string
11125
11126 // Code coverage tool
11127 codeCoverageToolOptions?: "None" | "Cobertura" | "JaCoCo"
11128
11129 // Class files directories
11130 codeCoverageClassFilesDirectories?: string
11131
11132 // Class inclusion/exclusion filters
11133 codeCoverageClassFilter?: string
11134
11135 // Source files directories
11136 codeCoverageSourceDirectories?: string
11137
11138 // Fail when code coverage results are missing
11139 codeCoverageFailIfEmpty?: bool
11140
11141 // Set ANT_HOME path
11142 antHomeDirectory?: string
11143
11144 // Set JAVA_HOME by
11145 javaHomeOption?: "JDKVersion" | "Path"
11146
11147 // JDK version
11148 jdkVersionOption?: "default" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
11149
11150 // JDK path
11151 jdkUserInputDirectory?: string
11152
11153 // JDK architecture
11154 jdkArchitectureOption?: "x86" | "x64"
11155 })
11156 ...
11157 },
11158 {
11159 // Visual Studio test agent deployment
11160 //
11161 // Deprecated: Instead, use the 'Visual Studio Test' task to run unit and functional tests
11162 task!: null | bool | number | =~"^DeployVisualStudioTestAgent@2$" | [...] | {...}
11163
11164 // Visual Studio test agent deployment inputs
11165 inputs!: null |
11166 bool |
11167 number |
11168 string |
11169 [...] |
11170 close({
11171 // Machines
11172 testMachines!: string
11173
11174 // Admin login
11175 adminUserName!: string
11176
11177 // Admin password
11178 adminPassword!: string
11179
11180 // Protocol
11181 winRmProtocol?: "Http" | "Https"
11182
11183 // Test Certificate
11184 testCertificate?: bool
11185
11186 // Username
11187 machineUserName!: string
11188
11189 // Password
11190 machinePassword!: string
11191
11192 // Run UI tests
11193 runAsProcess?: bool
11194
11195 // Enable data collection only
11196 isDataCollectionOnly?: bool
11197
11198 // Test agent version
11199 testPlatform?: "15.0" | "14.0"
11200
11201 // Test agent location
11202 agentLocation?: string
11203
11204 // Update test agent
11205 updateTestAgent?: bool
11206 })
11207 ...
11208 },
11209 {
11210 // Visual Studio Test Agent Deployment
11211 //
11212 // Deploy and configure Test Agent to run tests on a set of machines
11213 task!: null | bool | number | =~"^DeployVisualStudioTestAgent@1$" | [...] | {...}
11214
11215 // Visual Studio Test Agent Deployment inputs
11216 inputs!: null |
11217 bool |
11218 number |
11219 string |
11220 [...] |
11221 close({
11222 // Machines
11223 testMachineGroup!: string
11224
11225 // Admin Login
11226 adminUserName?: string
11227
11228 // Admin Password
11229 adminPassword?: string
11230
11231 // Protocol
11232 winRmProtocol?: "Http" | "Https"
11233
11234 // Test Certificate
11235 testCertificate?: bool
11236
11237 // Select Machines By
11238 resourceFilteringMethod?: "machineNames" | "tags"
11239
11240 // Filter Criteria
11241 testMachines?: string
11242
11243 // Username
11244 machineUserName!: string
11245
11246 // Password
11247 machinePassword!: string
11248
11249 // Interactive Process
11250 runAsProcess?: bool
11251
11252 // Test Agent Location
11253 agentLocation?: string
11254
11255 // Update Test Agent
11256 updateTestAgent?: bool
11257
11258 // Enable Data Collection Only
11259 isDataCollectionOnly?: bool
11260 })
11261 ...
11262 },
11263 {
11264 // Conda environment
11265 //
11266 // Create and activate a Conda environment
11267 task!: null | bool | number | =~"^CondaEnvironment@0$" | [...] | {...}
11268
11269 // Conda environment inputs
11270 inputs!: null |
11271 bool |
11272 number |
11273 string |
11274 [...] |
11275 close({
11276 // Environment name
11277 environmentName!: string
11278
11279 // Package specs
11280 packageSpecs?: string
11281
11282 // Update to the latest Conda
11283 updateConda?: bool
11284
11285 // Environment creation options
11286 createOptions?: string
11287
11288 // Clean the environment
11289 cleanEnvironment?: bool
11290 })
11291 ...
11292 },
11293 {
11294 // Conda environment
11295 //
11296 // This task is deprecated. Use `conda` directly in script to work with Anaconda environments.
11297 task!: null | bool | number | =~"^CondaEnvironment@1$" | [...] | {...}
11298
11299 // Conda environment inputs
11300 inputs?: null |
11301 bool |
11302 number |
11303 string |
11304 [...] |
11305 close({
11306 // Create a custom environment
11307 createCustomEnvironment?: bool
11308
11309 // Environment name
11310 environmentName?: string
11311
11312 // Package specs
11313 packageSpecs?: string
11314
11315 // Update to the latest Conda
11316 updateConda?: bool
11317
11318 // Other options for `conda install`
11319 installOptions?: string
11320
11321 // Other options for `conda create`
11322 createOptions?: string
11323
11324 // Clean the environment
11325 cleanEnvironment?: bool
11326 })
11327 ...
11328 },
11329 {
11330 // Batch script
11331 //
11332 // Run a Windows command or batch script and optionally allow it to change the environment
11333 task!: null | bool | number | =~"^BatchScript@1$" | [...] | {...}
11334
11335 // Batch script inputs
11336 inputs!: null |
11337 bool |
11338 number |
11339 string |
11340 [...] |
11341 close({
11342 // Path
11343 filename!: string
11344
11345 // Arguments
11346 arguments?: string
11347
11348 // Modify Environment
11349 modifyEnvironment?: bool
11350
11351 // Working folder
11352 workingFolder?: string
11353
11354 // Fail on Standard Error
11355 failOnStandardError?: bool
11356 })
11357 ...
11358 },
11359 {
11360 // Download Github Npm Package
11361 //
11362 // Install npm packages from GitHub.
11363 task!: null | bool | number | =~"^DownloadGithubNpmPackage@1$" | [...] | {...}
11364
11365 // Download Github Npm Package inputs
11366 inputs!: null |
11367 bool |
11368 number |
11369 string |
11370 [...] |
11371 close({
11372 // Package Name
11373 packageName!: string
11374
11375 // Package Version
11376 version!: string
11377
11378 // Credentials for registry from GitHub
11379 externalRegistryCredentials!: string
11380
11381 // Destination directory
11382 installDirectory?: string
11383 })
11384 ...
11385 },
11386 {
11387 // Visual Studio build
11388 //
11389 // Build with MSBuild and set the Visual Studio version property
11390 task!: null | bool | number | =~"^VSBuild@1$" | [...] | {...}
11391
11392 // Visual Studio build inputs
11393 inputs?: null |
11394 bool |
11395 number |
11396 string |
11397 [...] |
11398 close({
11399 // Solution
11400 solution?: string
11401
11402 // Visual Studio Version
11403 vsVersion?: "latest" | "17.0" | "16.0" | "15.0" | "14.0" | "12.0" | "11.0"
11404
11405 // MSBuild Arguments
11406 msbuildArgs?: string
11407
11408 // Platform
11409 platform?: string
11410
11411 // Configuration
11412 configuration?: string
11413
11414 // Clean
11415 clean?: bool
11416
11417 // Build in Parallel
11418 maximumCpuCount?: bool
11419
11420 // Restore NuGet Packages
11421 restoreNugetPackages?: bool
11422
11423 // MSBuild Architecture
11424 msbuildArchitecture?: "x86" | "x64"
11425
11426 // Record Project Details
11427 logProjectEvents?: bool
11428
11429 // Create Log File
11430 createLogFile?: bool
11431
11432 // Log File Verbosity
11433 logFileVerbosity?: "quiet" | "minimal" | "normal" | "detailed" | "diagnostic"
11434
11435 // Enable Default Logger
11436 enableDefaultLogger?: bool
11437
11438 // Custom Version
11439 customVersion?: string
11440 })
11441 ...
11442 },
11443 {
11444 // Azure Key Vault
11445 //
11446 // Download Azure Key Vault secrets
11447 task!: null | bool | number | =~"^AzureKeyVault@1$" | [...] | {...}
11448
11449 // Azure Key Vault inputs
11450 inputs!: null |
11451 bool |
11452 number |
11453 string |
11454 [...] |
11455 close({
11456 // Azure subscription
11457 azureSubscription!: string
11458
11459 // Key vault
11460 KeyVaultName!: string
11461
11462 // Secrets filter
11463 SecretsFilter?: string
11464
11465 // Make secrets available to whole job
11466 RunAsPreJob?: bool
11467 })
11468 ...
11469 },
11470 {
11471 // Azure Key Vault
11472 //
11473 // Download Azure Key Vault secrets
11474 task!: null | bool | number | =~"^AzureKeyVault@2$" | [...] | {...}
11475
11476 // Azure Key Vault inputs
11477 inputs!: null |
11478 bool |
11479 number |
11480 string |
11481 [...] |
11482 close({
11483 // Azure subscription
11484 azureSubscription!: string
11485
11486 // Key vault
11487 KeyVaultName!: string
11488
11489 // Secrets filter
11490 SecretsFilter?: string
11491
11492 // Make secrets available to whole job
11493 RunAsPreJob?: bool
11494 })
11495 ...
11496 },
11497 {
11498 // Use .NET Core
11499 //
11500 // Acquires a specific version of the .NET Core SDK from the internet or the
11501 // local cache and adds it to the PATH. Use this task to change the version of
11502 // .NET Core used in subsequent tasks. Additionally provides proxy support.
11503 task!: null | bool | number | =~"^UseDotNet@2$" | [...] | {...}
11504
11505 // Use .NET Core inputs
11506 inputs?: null |
11507 bool |
11508 number |
11509 string |
11510 [...] |
11511 close({
11512 // Package to install
11513 packageType?: "runtime" | "sdk"
11514
11515 // Use global json
11516 useGlobalJson?: bool
11517
11518 // Working Directory
11519 workingDirectory?: string
11520
11521 // Version
11522 version?: string
11523
11524 // Compatible Visual Studio version
11525 vsVersion?: string
11526
11527 // Include Preview Versions
11528 includePreviewVersions?: bool
11529
11530 // Path To Install .Net Core
11531 installationPath?: string
11532
11533 // Perform Multi Level Lookup
11534 performMultiLevelLookup?: bool
11535
11536 // Set timeout for package download request
11537 requestTimeout?: int
11538 })
11539 ...
11540 },
11541 {
11542 // .NET Core SDK/runtime installer
11543 //
11544 // Acquire a specific version of the .NET Core SDK from the internet or local
11545 // cache and add it to the PATH
11546 task!: null | bool | number | =~"^DotNetCoreInstaller@0$" | [...] | {...}
11547
11548 // .NET Core SDK/runtime installer inputs
11549 inputs?: null |
11550 bool |
11551 number |
11552 string |
11553 [...] |
11554 close({
11555 // Package to install
11556 packageType?: "runtime" | "sdk"
11557
11558 // Version
11559 version?: string
11560 })
11561 ...
11562 },
11563 {
11564 // .NET Core sdk/runtime installer
11565 //
11566 // Acquire a specific version of the .NET Core SDK from the internet or local
11567 // cache and add it to the PATH
11568 task!: null | bool | number | =~"^DotNetCoreInstaller@1$" | [...] | {...}
11569
11570 // .NET Core sdk/runtime installer inputs
11571 inputs?: null |
11572 bool |
11573 number |
11574 string |
11575 [...] |
11576 close({
11577 // Package to install
11578 packageType?: "runtime" | "sdk"
11579
11580 // Version
11581 version?: string
11582
11583 // Include Preview Versions
11584 includePreviewVersions?: bool
11585
11586 // Path To Install .Net Core
11587 installationPath?: string
11588
11589 // Perform Multi Level Lookup
11590 performMultiLevelLookup?: bool
11591 })
11592 ...
11593 },
11594 {
11595 // Use .NET Core
11596 //
11597 // Acquires a specific version of the .NET Core SDK from the internet or the
11598 // local cache and adds it to the PATH. Use this task to change the version of
11599 // .NET Core used in subsequent tasks. Additionally provides proxy support.
11600 task!: null | bool | number | =~"^UseDotNet@2$" | [...] | {...}
11601
11602 // Use .NET Core inputs
11603 inputs?: null |
11604 bool |
11605 number |
11606 string |
11607 [...] |
11608 close({
11609 // Package to install
11610 packageType?: "runtime" | "sdk"
11611
11612 // Use global json
11613 useGlobalJson?: bool
11614
11615 // Working Directory
11616 workingDirectory?: string
11617
11618 // Version
11619 version?: string
11620
11621 // Compatible Visual Studio version
11622 vsVersion?: string
11623
11624 // Include Preview Versions
11625 includePreviewVersions?: bool
11626
11627 // Path To Install .Net Core
11628 installationPath?: string
11629
11630 // Perform Multi Level Lookup
11631 performMultiLevelLookup?: bool
11632
11633 // Set timeout for package download request
11634 requestTimeout?: int
11635 })
11636 ...
11637 },
11638 {
11639 // Azure App Configuration Import
11640 //
11641 // Import settings from configuration files into Azure App Configuration through
11642 // build or deployment pipelines
11643 task!: null | bool | number | =~"^AzureAppConfigurationImport@10$" | [...] | {...}
11644
11645 // Azure App Configuration Import inputs
11646 inputs!: null |
11647 bool |
11648 number |
11649 string |
11650 [...] |
11651 close({
11652 // Azure subscription
11653 azureSubscription!: string
11654
11655 // App Configuration Endpoint
11656 AppConfigurationEndpoint!: string
11657
11658 // Configuration File Path
11659 ConfigurationFile!: string
11660
11661 // Use the file path extension to determine the file format
11662 UseFilePathExtension?: bool
11663
11664 // File Format
11665 FileFormat?: "json" | "yaml" | "properties"
11666
11667 // File Content Profile
11668 FileContentProfile?: "appconfig/default" | "appconfig/kvset"
11669
11670 // Separator
11671 Separator?: "." | "/" | ":" | ";" | "," | "-" | "_" | "__"
11672
11673 // Depth
11674 Depth?: string
11675
11676 // Prefix
11677 Prefix?: string
11678
11679 // Label
11680 Label?: string
11681
11682 // Content Type
11683 ContentType?: string
11684
11685 // Tags
11686 Tags?: string
11687
11688 // Exclude feature flags
11689 ExcludeFeatureFlags?: bool
11690
11691 // Delete key-values that are not included in the configuration file
11692 Strict?: bool
11693
11694 // Dry run
11695 DryRun?: bool
11696
11697 // Import Mode
11698 ImportMode?: "All" | "Ignore-Match"
11699 })
11700 ...
11701 },
11702 {
11703 // Azure App Service manage
11704 //
11705 // Start, stop, restart, slot swap, slot delete, install site extensions or
11706 // enable continuous monitoring for an Azure App Service
11707 task!: null | bool | number | =~"^AzureAppServiceManage@0$" | [...] | {...}
11708
11709 // Azure App Service manage inputs
11710 inputs!: null |
11711 bool |
11712 number |
11713 string |
11714 [...] |
11715 close({
11716 // Azure subscription
11717 azureSubscription!: string
11718
11719 // Action
11720 Action?: "Swap Slots" |
11721 "Start Azure App Service" |
11722 "Stop Azure App Service" |
11723 "Restart Azure App Service" |
11724 "Start Swap With Preview" |
11725 "Complete Swap" |
11726 "Cancel Swap" |
11727 "Delete Slot" |
11728 "Install Extensions" |
11729 "Enable Continuous Monitoring" |
11730 "Start all continuous webjobs" |
11731 "Stop all continuous webjobs"
11732
11733 // App Service name
11734 WebAppName!: string
11735
11736 // Specify Slot or App Service Environment
11737 SpecifySlotOrASE?: bool
11738
11739 // Resource group
11740 ResourceGroupName?: string
11741
11742 // Source Slot
11743 SourceSlot?: string
11744
11745 // Swap with Production
11746 SwapWithProduction?: bool
11747
11748 // Target Slot
11749 TargetSlot?: string
11750
11751 // Preserve Vnet
11752 PreserveVnet?: bool
11753
11754 // Slot
11755 Slot?: string
11756
11757 // Install Extensions
11758 ExtensionsList?: string
11759
11760 // Output variable
11761 OutputVariable?: string
11762
11763 // Resource Group name for Application Insights
11764 AppInsightsResourceGroupName?: string
11765
11766 // Application Insights resource name
11767 ApplicationInsightsResourceName?: string
11768
11769 // Application Insights web test name
11770 ApplicationInsightsWebTestName?: string
11771 })
11772 ...
11773 },
11774 {
11775 // Kubelogin tool installer
11776 //
11777 // Helps to install kubelogin
11778 task!: null | bool | number | =~"^KubeloginInstaller@0$" | [...] | {...}
11779
11780 // Kubelogin tool installer inputs
11781 inputs?: null |
11782 bool |
11783 number |
11784 string |
11785 [...] |
11786 close({
11787 // kubelogin version
11788 kubeloginVersion?: string
11789
11790 // GitHub Connection
11791 gitHubConnection?: string
11792 })
11793 ...
11794 },
11795 {
11796 // Install Azure Func Core Tools
11797 //
11798 // Install Azure Func Core Tools
11799 task!: null | bool | number | =~"^FuncToolsInstaller@0$" | [...] | {...}
11800
11801 // Install Azure Func Core Tools inputs
11802 inputs?: null |
11803 bool |
11804 number |
11805 string |
11806 [...] |
11807 close({
11808 // Version
11809 version?: string
11810 })
11811 ...
11812 },
11813 {
11814 // File transform
11815 //
11816 // Replace tokens with variable values in XML or JSON configuration files
11817 task!: null | bool | number | =~"^FileTransform@2$" | [...] | {...}
11818
11819 // File transform inputs
11820 inputs?: null |
11821 bool |
11822 number |
11823 string |
11824 [...] |
11825 close({
11826 // Package or folder
11827 folderPath?: string
11828
11829 // XML transformation
11830 enableXmlTransform?: bool
11831
11832 // XML Transformation rules
11833 xmlTransformationRules?: string
11834
11835 // JSON target files
11836 jsonTargetFiles?: string
11837
11838 // XML target files
11839 xmlTargetFiles?: string
11840
11841 // Error on empty files and invalid substitution.
11842 errorOnInvalidSubstitution?: bool
11843 })
11844 ...
11845 },
11846 {
11847 // File transform
11848 //
11849 // Replace tokens with variable values in XML or JSON configuration files
11850 task!: null | bool | number | =~"^FileTransform@1$" | [...] | {...}
11851
11852 // File transform inputs
11853 inputs?: null |
11854 bool |
11855 number |
11856 string |
11857 [...] |
11858 close({
11859 // Package or folder
11860 folderPath?: string
11861
11862 // XML transformation
11863 enableXmlTransform?: bool
11864
11865 // Transformation rules
11866 xmlTransformationRules?: string
11867
11868 // File format
11869 fileType?: "xml" | "json"
11870
11871 // Target files
11872 targetFiles?: string
11873 })
11874 ...
11875 },
11876 {
11877 // Extract files
11878 //
11879 // Extract a variety of archive and compression files such as .7z, .rar, .tar.gz, and .zip
11880 task!: null | bool | number | =~"^ExtractFiles@1$" | [...] | {...}
11881
11882 // Extract files inputs
11883 inputs!: null |
11884 bool |
11885 number |
11886 string |
11887 [...] |
11888 close({
11889 // Archive file patterns
11890 archiveFilePatterns?: string
11891
11892 // Destination folder
11893 destinationFolder!: string
11894
11895 // Clean destination folder before extracting
11896 cleanDestinationFolder?: bool
11897
11898 // Overwrite existing files
11899 overwriteExistingFiles?: bool
11900
11901 // Path to 7z utility
11902 pathToSevenZipTool?: string
11903 })
11904 ...
11905 },
11906 {
11907 // Xamarin.Android
11908 //
11909 // Build an Android app with Xamarin
11910 task!: null | bool | number | =~"^XamarinAndroid@1$" | [...] | {...}
11911
11912 // Xamarin.Android inputs
11913 inputs?: null |
11914 bool |
11915 number |
11916 string |
11917 [...] |
11918 close({
11919 // Project
11920 projectFile?: string
11921
11922 // Target
11923 target?: string
11924
11925 // Output directory
11926 outputDirectory?: string
11927
11928 // Configuration
11929 configuration?: string
11930
11931 // Create app package
11932 createAppPackage?: bool
11933
11934 // Clean
11935 clean?: bool
11936
11937 // MSBuild
11938 msbuildLocationOption?: "version" | "location"
11939
11940 // MSBuild version
11941 msbuildVersionOption?: "latest" | "17.0" | "16.0" | "15.0" | "14.0" | "12.0" | "4.0"
11942
11943 // MSBuild location
11944 msbuildFile?: string
11945
11946 // MSBuild architecture
11947 msbuildArchitectureOption?: "x86" | "x64"
11948
11949 // Additional arguments
11950 msbuildArguments?: string
11951
11952 // Select JDK to use for the build
11953 jdkOption?: "JDKVersion" | "Path"
11954
11955 // JDK version
11956 jdkVersionOption?: "default" | "1.11" | "1.10" | "1.9" | "1.8" | "1.7" | "1.6"
11957
11958 // JDK path
11959 jdkDirectory?: string
11960
11961 // JDK architecture
11962 jdkArchitectureOption?: "x86" | "x64"
11963 })
11964 ...
11965 },
11966 {
11967 // Copy and Publish Build Artifacts
11968 //
11969 // [DEPRECATED] Use the Copy Files task and the Publish Build Artifacts task instead
11970 task!: null | bool | number | =~"^CopyPublishBuildArtifacts@1$" | [...] | {...}
11971
11972 // Copy and Publish Build Artifacts inputs
11973 inputs!: null |
11974 bool |
11975 number |
11976 string |
11977 [...] |
11978 close({
11979 // Copy Root
11980 CopyRoot?: string
11981
11982 // Contents
11983 Contents!: string
11984
11985 // Artifact Name
11986 ArtifactName!: string
11987
11988 // Artifact Type
11989 ArtifactType!: "Container" | "FilePath"
11990
11991 // Path
11992 TargetPath?: string
11993 })
11994 ...
11995 },
11996 {
11997 // Download package
11998 //
11999 // Download a package from a package management feed in Azure Artifacts
12000 task!: null | bool | number | =~"^DownloadPackage@0$" | [...] | {...}
12001
12002 // Download package inputs
12003 inputs!: null |
12004 bool |
12005 number |
12006 string |
12007 [...] |
12008 close({
12009 // Feed
12010 feed!: string
12011
12012 // Package
12013 definition!: string
12014
12015 // Version
12016 version!: string
12017
12018 // Destination directory
12019 downloadPath?: string
12020 })
12021 ...
12022 },
12023 {
12024 // Download package
12025 //
12026 // Download a package from a package management feed in Azure Artifacts
12027 task!: null | bool | number | =~"^DownloadPackage@1$" | [...] | {...}
12028
12029 // Download package inputs
12030 inputs!: null |
12031 bool |
12032 number |
12033 string |
12034 [...] |
12035 close({
12036 // Package Type
12037 packageType?: "maven" | "npm" | "nuget" | "pypi" | "upack" | "cargo"
12038
12039 // Feed
12040 feed!: string
12041
12042 // View
12043 view?: string
12044
12045 // Package
12046 definition!: string
12047
12048 // Version
12049 version!: string
12050
12051 // Files
12052 files?: string
12053
12054 // Extract package contents
12055 extract?: bool
12056
12057 // Destination directory
12058 downloadPath?: string
12059 })
12060 ...
12061 },
12062 {
12063 // Azure Resource Group Deployment
12064 //
12065 // Deploy, start, stop, delete Azure Resource Groups
12066 task!: null | bool | number | =~"^AzureResourceGroupDeployment@1$" | [...] | {...}
12067
12068 // Azure Resource Group Deployment inputs
12069 inputs?: null |
12070 bool |
12071 number |
12072 string |
12073 [...] |
12074 close({
12075 // Azure Connection Type
12076 ConnectedServiceNameSelector?: "ConnectedServiceName" | "ConnectedServiceNameClassic"
12077
12078 // Azure Subscription
12079 ConnectedServiceName?: string
12080
12081 // Azure Classic Subscription
12082 ConnectedServiceNameClassic?: string
12083
12084 // Action
12085 action?: "Create Or Update Resource Group" |
12086 "Select Resource Group" |
12087 "Start" |
12088 "Stop" |
12089 "Restart" |
12090 "Delete" |
12091 "DeleteRG"
12092
12093 // Action
12094 actionClassic?: "Select Resource Group"
12095
12096 // Resource Group
12097 resourceGroupName?: string
12098
12099 // Cloud Service
12100 cloudService?: string
12101
12102 // Location
12103 location?: "Australia East" |
12104 "Australia Southeast" |
12105 "Brazil South" |
12106 "Canada Central" |
12107 "Canada East" |
12108 "Central India" |
12109 "Central US" |
12110 "East Asia" |
12111 "East US" |
12112 "East US 2 " |
12113 "Japan East" |
12114 "Japan West" |
12115 "North Central US" |
12116 "North Europe" |
12117 "South Central US" |
12118 "South India" |
12119 "Southeast Asia" |
12120 "UK South" |
12121 "UK West" |
12122 "West Central US" |
12123 "West Europe" |
12124 "West India" |
12125 "West US" |
12126 "West US 2"
12127
12128 // Template
12129 csmFile?: string
12130
12131 // Template Parameters
12132 csmParametersFile?: string
12133
12134 // Override Template Parameters
12135 overrideParameters?: string
12136
12137 // Deployment Mode
12138 deploymentMode?: "Validation" | "Incremental" | "Complete"
12139
12140 // Enable Deployment Prerequisites
12141 enableDeploymentPrerequisitesForCreate?: bool
12142
12143 // Enable Deployment Prerequisites
12144 enableDeploymentPrerequisitesForSelect?: bool
12145
12146 // Resource Group
12147 outputVariable?: string
12148 })
12149 ...
12150 },
12151 {
12152 // Azure resource group deployment
12153 //
12154 // Deploy an Azure Resource Manager (ARM) template to a resource group and manage virtual machines
12155 task!: null | bool | number | =~"^AzureResourceGroupDeployment@2$" | [...] | {...}
12156
12157 // Azure resource group deployment inputs
12158 inputs!: null |
12159 bool |
12160 number |
12161 string |
12162 [...] |
12163 close({
12164 // Azure subscription
12165 azureSubscription!: string
12166
12167 // Action
12168 action?: "Create Or Update Resource Group" |
12169 "Select Resource Group" |
12170 "Start" |
12171 "Stop" |
12172 "StopWithDeallocate" |
12173 "Restart" |
12174 "Delete" |
12175 "DeleteRG"
12176
12177 // Resource group
12178 resourceGroupName!: string
12179
12180 // Location
12181 location?: string
12182
12183 // Template location
12184 templateLocation?: "Linked artifact" | "URL of the file"
12185
12186 // Template link
12187 csmFileLink?: string
12188
12189 // Template parameters link
12190 csmParametersFileLink?: string
12191
12192 // Template
12193 csmFile?: string
12194
12195 // Template parameters
12196 csmParametersFile?: string
12197
12198 // Override template parameters
12199 overrideParameters?: string
12200
12201 // Deployment mode
12202 deploymentMode?: "Incremental" | "Complete" | "Validation"
12203
12204 // Enable prerequisites
12205 enableDeploymentPrerequisites?: "None" | "ConfigureVMwithWinRM" | "ConfigureVMWithDGAgent"
12206
12207 // Azure Pipelines service connection
12208 teamServicesConnection?: string
12209
12210 // Team project
12211 teamProject?: string
12212
12213 // Deployment Group
12214 deploymentGroupName?: string
12215
12216 // Copy Azure VM tags to agents
12217 copyAzureVMTags?: bool
12218
12219 // Run agent service as a user
12220 runAgentServiceAsUser?: bool
12221
12222 // User name
12223 userName?: string
12224
12225 // Password
12226 password?: string
12227
12228 // VM details for WinRM
12229 outputVariable?: string
12230
12231 // Deployment name
12232 deploymentName?: string
12233
12234 // Deployment outputs
12235 deploymentOutputs?: string
12236
12237 // Access service principal details in override parameters
12238 addSpnToEnvironment?: bool
12239
12240 // Use individual output values without JSON.Stringify applied
12241 useWithoutJSON?: bool
12242 })
12243 ...
12244 },
12245 {
12246 // ARM template deployment
12247 //
12248 // Deploy an Azure Resource Manager (ARM) template to all the deployment scopes
12249 task!: null | bool | number | =~"^AzureResourceManagerTemplateDeployment@3$" | [...] | {...}
12250
12251 // ARM template deployment inputs
12252 inputs!: null |
12253 bool |
12254 number |
12255 string |
12256 [...] |
12257 close({
12258 // Deployment scope
12259 deploymentScope?: "Management Group" | "Subscription" | "Resource Group"
12260
12261 // Azure Resource Manager connection
12262 azureResourceManagerConnection!: string
12263
12264 // Subscription
12265 subscriptionId?: string
12266
12267 // Action
12268 action?: "Create Or Update Resource Group" | "DeleteRG"
12269
12270 // Resource group
12271 resourceGroupName?: string
12272
12273 // Location
12274 location?: string
12275
12276 // Template location
12277 templateLocation?: "Linked artifact" | "URL of the file"
12278
12279 // Template link
12280 csmFileLink?: string
12281
12282 // Template parameters link
12283 csmParametersFileLink?: string
12284
12285 // Template
12286 csmFile?: string
12287
12288 // Template parameters
12289 csmParametersFile?: string
12290
12291 // Override template parameters
12292 overrideParameters?: string
12293
12294 // Deployment mode
12295 deploymentMode?: "Incremental" | "Complete" | "Validation"
12296
12297 // Deployment name
12298 deploymentName?: string
12299
12300 // Deployment outputs
12301 deploymentOutputs?: string
12302
12303 // Access service principal details in override parameters
12304 addSpnToEnvironment?: bool
12305
12306 // Use individual output values without JSON.Stringify applied
12307 useWithoutJSON?: bool
12308 })
12309 ...
12310 },
12311 {
12312 // Invoke REST API
12313 //
12314 // Invoke REST API as a part of your process.
12315 task!: null | bool | number | =~"^InvokeRESTAPI@0$" | [...] | {...}
12316
12317 // Invoke REST API inputs
12318 inputs!: null |
12319 bool |
12320 number |
12321 string |
12322 [...] |
12323 close({
12324 // Generic endpoint
12325 serviceConnection!: string
12326
12327 // Method
12328 method?: "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "PATCH"
12329
12330 // Headers
12331 headers?: string
12332
12333 // Body
12334 body?: string
12335
12336 // Url suffix string
12337 urlSuffix?: string
12338
12339 // Complete based on
12340 waitForCompletion?: "true" | "false"
12341
12342 // Success criteria
12343 successCriteria?: string
12344 })
12345 ...
12346 },
12347 {
12348 // Invoke REST API
12349 //
12350 // Invoke a REST API as a part of your pipeline.
12351 task!: null | bool | number | =~"^InvokeRESTAPI@1$" | [...] | {...}
12352
12353 // Invoke REST API inputs
12354 inputs?: null |
12355 bool |
12356 number |
12357 string |
12358 [...] |
12359 close({
12360 // Connection type
12361 connectionType?: "connectedServiceName" | "connectedServiceNameARM"
12362
12363 // Generic service connection
12364 serviceConnection?: string
12365
12366 // Azure subscription
12367 azureServiceConnection?: string
12368
12369 // Method
12370 method?: "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "PATCH"
12371
12372 // Headers
12373 headers?: string
12374
12375 // Body
12376 body?: string
12377
12378 // URL suffix and parameters
12379 urlSuffix?: string
12380
12381 // Completion event
12382 waitForCompletion?: "true" | "false"
12383
12384 // Success criteria
12385 successCriteria?: string
12386 })
12387 ...
12388 },
12389 {
12390 // Archive Files
12391 //
12392 // Archive files using compression formats such as .7z, .rar, .tar.gz, and .zip.
12393 task!: null | bool | number | =~"^ArchiveFiles@1$" | [...] | {...}
12394
12395 // Archive Files inputs
12396 inputs?: null |
12397 bool |
12398 number |
12399 string |
12400 [...] |
12401 close({
12402 // Root folder (or file) to archive
12403 rootFolder?: string
12404
12405 // Prefix root folder name to archive paths
12406 includeRootFolder?: bool
12407
12408 // Archive type
12409 archiveType?: "default" | "7z" | "tar" | "wim"
12410
12411 // Tar compression
12412 tarCompression?: "gz" | "bz2" | "xz" | "none"
12413
12414 // Archive file to create
12415 archiveFile?: string
12416
12417 // Replace existing archive
12418 replaceExistingArchive?: bool
12419 })
12420 ...
12421 },
12422 {
12423 // Archive files
12424 //
12425 // Compress files into .7z, .tar.gz, or .zip
12426 task!: null | bool | number | =~"^ArchiveFiles@2$" | [...] | {...}
12427
12428 // Archive files inputs
12429 inputs?: null |
12430 bool |
12431 number |
12432 string |
12433 [...] |
12434 close({
12435 // Root folder or file to archive
12436 rootFolderOrFile?: string
12437
12438 // Prepend root folder name to archive paths
12439 includeRootFolder?: bool
12440
12441 // Archive type
12442 archiveType?: "zip" | "7z" | "tar" | "wim"
12443
12444 // 7z compression
12445 sevenZipCompression?: "ultra" | "maximum" | "normal" | "fast" | "fastest" | "none"
12446
12447 // Tar compression
12448 tarCompression?: "gz" | "bz2" | "xz" | "none"
12449
12450 // Archive file to create
12451 archiveFile?: string
12452
12453 // Replace existing archive
12454 replaceExistingArchive?: bool
12455
12456 // Force verbose output
12457 verbose?: bool
12458
12459 // Force quiet output
12460 quiet?: bool
12461 })
12462 ...
12463 },
12464 {
12465 // GitHub Comment
12466 //
12467 // Write a comment to your Github entity i.e. issue or a Pull Request (PR)
12468 task!: null | bool | number | =~"^GitHubComment@0$" | [...] | {...}
12469
12470 // GitHub Comment inputs
12471 inputs!: null |
12472 bool |
12473 number |
12474 string |
12475 [...] |
12476 close({
12477 // GitHub connection (OAuth or PAT)
12478 gitHubConnection!: string
12479
12480 // Repository
12481 repositoryName?: string
12482
12483 // ID of the github pr/issue
12484 id?: string
12485
12486 // Comment
12487 comment?: string
12488 })
12489 ...
12490 },
12491 {
12492 // Copy files
12493 //
12494 // Copy files from a source folder to a target folder using patterns matching
12495 // file paths (not folder paths)
12496 task!: null | bool | number | =~"^CopyFiles@2$" | [...] | {...}
12497
12498 // Copy files inputs
12499 inputs!: null |
12500 bool |
12501 number |
12502 string |
12503 [...] |
12504 close({
12505 // Source Folder
12506 SourceFolder?: string
12507
12508 // Contents
12509 Contents?: string
12510
12511 // Target Folder
12512 TargetFolder!: string
12513
12514 // Clean Target Folder
12515 CleanTargetFolder?: bool
12516
12517 // Overwrite
12518 OverWrite?: bool
12519
12520 // Flatten Folders
12521 flattenFolders?: bool
12522
12523 // Preserve Target Timestamp
12524 preserveTimestamp?: bool
12525
12526 // Retry count to copy the file
12527 retryCount?: string
12528
12529 // Delay between two retries.
12530 delayBetweenRetries?: string
12531
12532 // Ignore errors during creation of target folder.
12533 ignoreMakeDirErrors?: bool
12534 })
12535 ...
12536 },
12537 {
12538 // Copy Files
12539 //
12540 // Copy files from source folder to target folder using minimatch patterns (The
12541 // minimatch patterns will only match file paths, not folder paths)
12542 task!: null | bool | number | =~"^CopyFiles@1$" | [...] | {...}
12543
12544 // Copy Files inputs
12545 inputs!: null |
12546 bool |
12547 number |
12548 string |
12549 [...] |
12550 close({
12551 // Source Folder
12552 SourceFolder?: string
12553
12554 // Contents
12555 Contents?: string
12556
12557 // Target Folder
12558 TargetFolder!: string
12559
12560 // Clean Target Folder
12561 CleanTargetFolder?: bool
12562
12563 // Overwrite
12564 OverWrite?: bool
12565
12566 // Flatten Folders
12567 flattenFolders?: bool
12568 })
12569 ...
12570 },
12571 {
12572 // Azure Database for MySQL deployment
12573 //
12574 // Run your scripts and make changes to your Azure Database for MySQL
12575 task!: null | bool | number | =~"^AzureMysqlDeployment@1$" | [...] | {...}
12576
12577 // Azure Database for MySQL deployment inputs
12578 inputs!: null |
12579 bool |
12580 number |
12581 string |
12582 [...] |
12583 close({
12584 // Azure Subscription
12585 azureSubscription!: string
12586
12587 // Host Name
12588 ServerName!: string
12589
12590 // Database Name
12591 DatabaseName?: string
12592
12593 // Server Admin Login
12594 SqlUsername!: string
12595
12596 // Password
12597 SqlPassword!: string
12598
12599 // Type
12600 TaskNameSelector?: "SqlTaskFile" | "InlineSqlTask"
12601
12602 // MySQL Script
12603 SqlFile?: string
12604
12605 // Inline MySQL Script
12606 SqlInline?: string
12607
12608 // Additional MySQL Arguments
12609 SqlAdditionalArguments?: string
12610
12611 // Specify Firewall Rules Using
12612 IpDetectionMethod?: "AutoDetect" | "IPAddressRange"
12613
12614 // Start IP Address
12615 StartIpAddress?: string
12616
12617 // End IP Address
12618 EndIpAddress?: string
12619
12620 // Delete Rule After Task Ends
12621 DeleteFirewallRule?: bool
12622 })
12623 ...
12624 },
12625 {
12626 // npm
12627 //
12628 // Install and publish npm packages, or run an npm command. Supports npmjs.com
12629 // and authenticated registries like Azure Artifacts.
12630 task!: null | bool | number | =~"^Npm@1$" | [...] | {...}
12631
12632 // npm inputs
12633 inputs?: null |
12634 bool |
12635 number |
12636 string |
12637 [...] |
12638 close({
12639 // Command
12640 command?: "ci" | "install" | "publish" | "custom"
12641
12642 // Working folder that contains package.json
12643 workingDir?: string
12644
12645 // Verbose logging
12646 verbose?: bool
12647
12648 // Command and arguments
12649 customCommand?: string
12650
12651 // Registries to use
12652 customRegistry?: "useNpmrc" | "useFeed"
12653
12654 // Use packages from this Azure Artifacts/TFS registry
12655 customFeed?: string
12656
12657 // Credentials for registries outside this organization/collection
12658 customEndpoint?: string
12659
12660 // Registry location
12661 publishRegistry?: "useExternalRegistry" | "useFeed"
12662
12663 // Target registry
12664 publishFeed?: string
12665
12666 // Publish pipeline metadata
12667 publishPackageMetadata?: bool
12668
12669 // External Registry
12670 publishEndpoint?: string
12671 })
12672 ...
12673 },
12674 {
12675 // npm
12676 //
12677 // Run an npm command. Use NpmAuthenticate@0 task for latest capabilities.
12678 task!: null | bool | number | =~"^Npm@0$" | [...] | {...}
12679
12680 // npm inputs
12681 inputs?: null |
12682 bool |
12683 number |
12684 string |
12685 [...] |
12686 close({
12687 // working folder
12688 cwd?: string
12689
12690 // npm command
12691 command?: string
12692
12693 // arguments
12694 arguments?: string
12695 })
12696 ...
12697 },
12698 {
12699 // Deploy Azure Static Web App
12700 //
12701 // [PREVIEW] Build and deploy an Azure Static Web App
12702 task!: null | bool | number | =~"^AzureStaticWebApp@0$" | [...] | {...}
12703
12704 // Deploy Azure Static Web App inputs
12705 inputs?: null |
12706 bool |
12707 number |
12708 string |
12709 [...] |
12710 close({
12711 // Working directory
12712 workingDirectory?: string
12713
12714 // App location
12715 app_location?: string
12716
12717 // App build command
12718 app_build_command?: string
12719
12720 // Output location
12721 output_location?: string
12722
12723 // Api location
12724 api_location?: string
12725
12726 // Api build command
12727 api_build_command?: string
12728
12729 // Routes location
12730 routes_location?: string
12731
12732 // Config file location
12733 config_file_location?: string
12734
12735 // Skip app build
12736 skip_app_build?: bool
12737
12738 // Skip api build
12739 skip_api_build?: bool
12740
12741 // Set static export
12742 is_static_export?: bool
12743
12744 // Verbose
12745 verbose?: bool
12746
12747 // Build timeout in minutes
12748 build_timeout_in_minutes?: int
12749
12750 // Azure Static Web Apps api token
12751 azure_static_web_apps_api_token?: string
12752
12753 // Deployment Environment
12754 deployment_environment?: string
12755
12756 // Production Branch
12757 production_branch?: string
12758
12759 // Data api location
12760 data_api_location?: string
12761
12762 // Azure Access Token
12763 azure_access_token?: string
12764
12765 // Default Hostname
12766 default_hostname?: string
12767 })
12768 ...
12769 },
12770 {
12771 // Node.js tool installer
12772 //
12773 // Finds or downloads and caches the specified version spec of Node.js and adds it to the PATH
12774 task!: null | bool | number | =~"^NodeTool@0$" | [...] | {...}
12775
12776 // Node.js tool installer inputs
12777 inputs?: null |
12778 bool |
12779 number |
12780 string |
12781 [...] |
12782 close({
12783 // Source of version
12784 versionSource?: "spec" | "fromFile"
12785
12786 // Version Spec
12787 versionSpec?: string
12788
12789 // Path to the .nvmrc file
12790 versionFilePath?: string
12791
12792 // Check for Latest Version
12793 checkLatest?: bool
12794
12795 // Use 32 bit version on x64 agents
12796 force32bit?: bool
12797
12798 // Set source for Node.js binaries
12799 nodejsMirror?: string
12800
12801 // Set retry count when nodes downloads failed
12802 retryCountOnDownloadFails?: string
12803
12804 // Set delay between retries
12805 delayBetweenRetries?: string
12806 })
12807 ...
12808 },
12809 {
12810 // [Deprecated] SQL Server database deploy
12811 //
12812 // Deploy a SQL Server database using DACPAC
12813 task!: null | bool | number | =~"^SqlServerDacpacDeployment@1$" | [...] | {...}
12814
12815 // [Deprecated] SQL Server database deploy inputs
12816 inputs!: null |
12817 bool |
12818 number |
12819 string |
12820 [...] |
12821 close({
12822 // Machines
12823 EnvironmentName!: string
12824
12825 // Admin Login
12826 AdminUserName?: string
12827
12828 // Password
12829 AdminPassword?: string
12830
12831 // Protocol
12832 Protocol?: "Http" | "Https"
12833
12834 // Test Certificate
12835 TestCertificate?: bool
12836
12837 // DACPAC File
12838 DacpacFile!: string
12839
12840 // Specify SQL Using
12841 TargetMethod?: "server" | "connectionString" | "publishProfile"
12842
12843 // Server Name
12844 ServerName?: string
12845
12846 // Database Name
12847 DatabaseName?: string
12848
12849 // SQL Username
12850 SqlUsername?: string
12851
12852 // SQL Password
12853 SqlPassword?: string
12854
12855 // Connection String
12856 ConnectionString?: string
12857
12858 // Publish Profile
12859 PublishProfile?: string
12860
12861 // Additional Arguments
12862 AdditionalArguments?: string
12863
12864 // Deploy in Parallel
12865 DeployInParallel?: bool
12866
12867 // Select Machines By
12868 ResourceFilteringMethod?: "machineNames" | "tags"
12869
12870 // Deploy to Machines
12871 MachineFilter?: string
12872 })
12873 ...
12874 },
12875 {
12876 // Visual Studio test platform installer
12877 //
12878 // Acquire the test platform from nuget.org or the tool cache. Satisfies the
12879 // ‘vstest’ demand and can be used for running tests and collecting diagnostic
12880 // data using the Visual Studio Test task.
12881 task!: null | bool | number | =~"^VisualStudioTestPlatformInstaller@1$" | [...] | {...}
12882
12883 // Visual Studio test platform installer inputs
12884 inputs?: null |
12885 bool |
12886 number |
12887 string |
12888 [...] |
12889 close({
12890 // Package Feed
12891 packageFeedSelector?: "nugetOrg" | "customFeed" | "netShare"
12892
12893 // Version
12894 versionSelector?: "latestPreRelease" | "latestStable" | "specificVersion"
12895
12896 // Test Platform Version
12897 testPlatformVersion?: string
12898
12899 // Package Source
12900 customFeed?: string
12901
12902 // User Name
12903 username?: string
12904
12905 // Password
12906 password?: string
12907
12908 // UNC Path
12909 netShare?: string
12910 })
12911 ...
12912 },
12913 {
12914 // Publish To Azure Service Bus
12915 //
12916 // Sends a message to Azure Service Bus using a service connection (no agent is required)
12917 task!: null | bool | number | =~"^PublishToAzureServiceBus@1$" | [...] | {...}
12918
12919 // Publish To Azure Service Bus inputs
12920 inputs!: null |
12921 bool |
12922 number |
12923 string |
12924 [...] |
12925 close({
12926 // Azure Service Bus service connection
12927 azureSubscription!: string
12928
12929 // Message body
12930 messageBody?: string
12931
12932 // Session Id
12933 sessionId?: string
12934
12935 // Sign the Message
12936 signPayload?: bool
12937
12938 // Certificate Variable
12939 certificateString?: string
12940
12941 // Signature Property Key
12942 signatureKey?: string
12943
12944 // Wait for task completion
12945 waitForCompletion?: bool
12946
12947 // Use .NET data contract serializer
12948 useDataContractSerializer?: bool
12949 })
12950 ...
12951 },
12952 {
12953 // Publish To Azure Service Bus
12954 //
12955 // Sends a message to Azure Service Bus using an Azure Resource Manager service
12956 // connection (no agent is required)
12957 task!: null | bool | number | =~"^PublishToAzureServiceBus@2$" | [...] | {...}
12958
12959 // Publish To Azure Service Bus inputs
12960 inputs!: null |
12961 bool |
12962 number |
12963 string |
12964 [...] |
12965 close({
12966 // Azure Resource Manager service connection
12967 azureSubscription!: string
12968
12969 // Azure Service Bus Queue name
12970 serviceBusQueueName!: string
12971
12972 // Azure Service Bus Namespace
12973 serviceBusNamespace!: string
12974
12975 // Message body
12976 messageBody?: string
12977
12978 // Session Id
12979 sessionId?: string
12980
12981 // Sign the Message
12982 signPayload?: bool
12983
12984 // Certificate Variable
12985 certificateString?: string
12986
12987 // Signature Property Key
12988 signatureKey?: string
12989
12990 // Wait for task completion
12991 waitForCompletion?: bool
12992
12993 // Use .NET data contract serializer
12994 useDataContractSerializer?: bool
12995 })
12996 ...
12997 },
12998 {
12999 // Publish To Azure Service Bus
13000 //
13001 // Sends a message to azure service bus using a service connection (no agent required).
13002 task!: null | bool | number | =~"^PublishToAzureServiceBus@0$" | [...] | {...}
13003
13004 // Publish To Azure Service Bus inputs
13005 inputs!: null |
13006 bool |
13007 number |
13008 string |
13009 [...] |
13010 close({
13011 // Azure service bus connection
13012 azureSubscription!: string
13013
13014 // Message body
13015 messageBody?: string
13016
13017 // Wait for task completion
13018 waitForCompletion?: bool
13019 })
13020 ...
13021 },
13022 {
13023 // Deploy to Kubernetes
13024 //
13025 // Use Kubernetes manifest files to deploy to clusters or even bake the manifest
13026 // files to be used for deployments using Helm charts
13027 task!: null | bool | number | =~"^KubernetesManifest@0$" | [...] | {...}
13028
13029 // Deploy to Kubernetes inputs
13030 inputs?: null |
13031 bool |
13032 number |
13033 string |
13034 [...] |
13035 close({
13036 // Action
13037 action?: "bake" | "createSecret" | "delete" | "deploy" | "patch" | "promote" | "scale" | "reject"
13038
13039 // Kubernetes service connection
13040 kubernetesServiceConnection?: string
13041
13042 // Namespace
13043 namespace?: string
13044
13045 // Strategy
13046 strategy?: "canary" | "none"
13047
13048 // Traffic split method
13049 trafficSplitMethod?: "pod" | "smi"
13050
13051 // Percentage
13052 percentage?: string
13053
13054 // Baseline and canary replicas
13055 baselineAndCanaryReplicas?: string
13056
13057 // Manifests
13058 manifests?: string
13059
13060 // Containers
13061 containers?: string
13062
13063 // ImagePullSecrets
13064 imagePullSecrets?: string
13065
13066 // Render Engine
13067 renderType?: "helm" | "kompose" | "kustomize"
13068
13069 // Path to docker compose file
13070 dockerComposeFile?: string
13071
13072 // Helm Chart
13073 helmChart?: string
13074
13075 // Helm Release Name
13076 releaseName?: string
13077
13078 // Override Files
13079 overrideFiles?: string
13080
13081 // Overrides
13082 overrides?: string
13083
13084 // Kustomization Path
13085 kustomizationPath?: string
13086
13087 // Resource to patch
13088 resourceToPatch?: "file" | "name"
13089
13090 // File path
13091 resourceFileToPatch?: string
13092
13093 // Kind
13094 kind?: "deployment" | "replicaset" | "statefulset"
13095
13096 // Name
13097 name?: string
13098
13099 // Replica count
13100 replicas?: string
13101
13102 // Merge Strategy
13103 mergeStrategy?: "json" | "merge" | "strategic"
13104
13105 // Arguments
13106 arguments?: string
13107
13108 // Patch
13109 patch?: string
13110
13111 // Type of secret
13112 secretType?: "dockerRegistry" | "generic"
13113
13114 // Secret name
13115 secretName?: string
13116
13117 // Arguments
13118 secretArguments?: string
13119
13120 // Docker registry service connection
13121 dockerRegistryEndpoint?: string
13122
13123 // Timeout for rollout status
13124 rolloutStatusTimeout?: string
13125 })
13126 ...
13127 },
13128 {
13129 // Deploy to Kubernetes
13130 //
13131 // Use Kubernetes manifest files to deploy to clusters or even bake the manifest
13132 // files to be used for deployments using Helm charts
13133 task!: null | bool | number | =~"^KubernetesManifest@1$" | [...] | {...}
13134
13135 // Deploy to Kubernetes inputs
13136 inputs?: null |
13137 bool |
13138 number |
13139 string |
13140 [...] |
13141 close({
13142 // Action
13143 action?: "bake" | "createSecret" | "delete" | "deploy" | "patch" | "promote" | "scale" | "reject"
13144
13145 // Service connection type
13146 connectionType?: "azureResourceManager" | "kubernetesServiceConnection"
13147
13148 // Kubernetes service connection
13149 kubernetesServiceConnection?: string
13150
13151 // Azure subscription
13152 azureSubscriptionConnection?: string
13153
13154 // Resource group
13155 azureResourceGroup?: string
13156
13157 // Kubernetes cluster
13158 kubernetesCluster?: string
13159
13160 // Use cluster admin credentials
13161 useClusterAdmin?: bool
13162
13163 // Namespace
13164 namespace?: string
13165
13166 // Strategy
13167 strategy?: "canary" | "none"
13168
13169 // Traffic split method
13170 trafficSplitMethod?: "pod" | "smi"
13171
13172 // Percentage
13173 percentage?: string
13174
13175 // Baseline and canary replicas
13176 baselineAndCanaryReplicas?: string
13177
13178 // Manifests
13179 manifests?: string
13180
13181 // Containers
13182 containers?: string
13183
13184 // ImagePullSecrets
13185 imagePullSecrets?: string
13186
13187 // Render Engine
13188 renderType?: "helm" | "kompose" | "kustomize"
13189
13190 // Path to docker compose file
13191 dockerComposeFile?: string
13192
13193 // Helm Chart
13194 helmChart?: string
13195
13196 // Helm Release Name
13197 releaseName?: string
13198
13199 // Override Files
13200 overrideFiles?: string
13201
13202 // Overrides
13203 overrides?: string
13204
13205 // Kustomization Path
13206 kustomizationPath?: string
13207
13208 // Resource to patch
13209 resourceToPatch?: "file" | "name"
13210
13211 // File path
13212 resourceFileToPatch?: string
13213
13214 // Kind
13215 kind?: "deployment" | "replicaset" | "statefulset"
13216
13217 // Name
13218 name?: string
13219
13220 // Replica count
13221 replicas?: string
13222
13223 // Merge Strategy
13224 mergeStrategy?: "json" | "merge" | "strategic"
13225
13226 // Arguments
13227 arguments?: string
13228
13229 // Patch
13230 patch?: string
13231
13232 // Type of secret
13233 secretType?: "dockerRegistry" | "generic"
13234
13235 // Secret name
13236 secretName?: string
13237
13238 // Arguments
13239 secretArguments?: string
13240
13241 // Docker registry service connection
13242 dockerRegistryEndpoint?: string
13243
13244 // Timeout for rollout status
13245 rolloutStatusTimeout?: string
13246
13247 // Resource type
13248 resourceType?: string
13249 })
13250 ...
13251 },
13252 {
13253 // Download build artifacts
13254 //
13255 // Download files that were saved as artifacts of a completed build
13256 task!: null | bool | number | =~"^DownloadBuildArtifacts@0$" | [...] | {...}
13257
13258 // Download build artifacts inputs
13259 inputs?: null |
13260 bool |
13261 number |
13262 string |
13263 [...] |
13264 close({
13265 // Download artifacts produced by
13266 buildType?: "current" | "specific"
13267
13268 // Project
13269 project?: string
13270
13271 // Build pipeline
13272 pipeline?: string
13273
13274 // When appropriate, download artifacts from the triggering build.
13275 specificBuildWithTriggering?: bool
13276
13277 // Build version to download
13278 buildVersionToDownload?: "latest" | "latestFromBranch" | "specific"
13279
13280 // Download artifacts even from partially succeeded builds.
13281 allowPartiallySucceededBuilds?: bool
13282
13283 // Branch name
13284 branchName?: string
13285
13286 // Build
13287 buildId?: string
13288
13289 // Build Tags
13290 tags?: string
13291
13292 // Download type
13293 downloadType?: "single" | "specific"
13294
13295 // Artifact name
13296 artifactName?: string
13297
13298 // Matching pattern
13299 itemPattern?: string
13300
13301 // Destination directory
13302 downloadPath?: string
13303
13304 // Clean destination folder
13305 cleanDestinationFolder?: bool
13306
13307 // Parallelization limit
13308 parallelizationLimit?: string
13309
13310 // Check downloaded files
13311 checkDownloadedFiles?: bool
13312
13313 // Retry count
13314 retryDownloadCount?: string
13315
13316 // Retry count for redirect download
13317 retryRedirectDownloadCount?: string
13318
13319 // Extract all files that are stored inside tar archives
13320 extractTars?: bool
13321 })
13322 ...
13323 },
13324 {
13325 // Download build artifacts
13326 //
13327 // Download files that were saved as artifacts of a completed build
13328 task!: null | bool | number | =~"^DownloadBuildArtifacts@1$" | [...] | {...}
13329
13330 // Download build artifacts inputs
13331 inputs?: null |
13332 bool |
13333 number |
13334 string |
13335 [...] |
13336 close({
13337 // Download artifacts produced by
13338 buildType?: "current" | "specific"
13339
13340 // Project
13341 project?: string
13342
13343 // Build pipeline
13344 pipeline?: string
13345
13346 // When appropriate, download artifacts from the triggering build.
13347 specificBuildWithTriggering?: bool
13348
13349 // Build version to download
13350 buildVersionToDownload?: "latest" | "latestFromBranch" | "specific"
13351
13352 // Download artifacts even from partially succeeded builds.
13353 allowPartiallySucceededBuilds?: bool
13354
13355 // Branch name
13356 branchName?: string
13357
13358 // Build
13359 buildId?: string
13360
13361 // Build Tags
13362 tags?: string
13363
13364 // Download type
13365 downloadType?: "single" | "specific"
13366
13367 // Artifact name
13368 artifactName?: string
13369
13370 // Matching pattern
13371 itemPattern?: string
13372
13373 // Destination directory
13374 downloadPath?: string
13375
13376 // Clean destination folder
13377 cleanDestinationFolder?: bool
13378
13379 // Parallelization limit
13380 parallelizationLimit?: string
13381
13382 // Check downloaded files
13383 checkDownloadedFiles?: bool
13384
13385 // Retry count
13386 retryDownloadCount?: string
13387
13388 // Extract all files that are stored inside tar archives
13389 extractTars?: bool
13390 })
13391 ...
13392 },
13393 {
13394 // CocoaPods
13395 //
13396 // Install CocoaPods dependencies for Swift and Objective-C Cocoa projects
13397 task!: null | bool | number | =~"^CocoaPods@0$" | [...] | {...}
13398
13399 // CocoaPods inputs
13400 inputs?: null |
13401 bool |
13402 number |
13403 string |
13404 [...] |
13405 close({
13406 // Working directory
13407 workingDirectory?: string
13408
13409 // Force repo update
13410 forceRepoUpdate?: bool
13411
13412 // Project directory
13413 projectDirectory?: string
13414 })
13415 ...
13416 },
13417 {
13418 // Azure Spring Apps
13419 //
13420 // Deploy applications to Azure Spring Apps and manage deployments.
13421 task!: null | bool | number | =~"^AzureSpringCloud@0$" | [...] | {...}
13422
13423 // Azure Spring Apps inputs
13424 inputs!: null |
13425 bool |
13426 number |
13427 string |
13428 [...] |
13429 close({
13430 // Azure subscription
13431 azureSubscription!: string
13432
13433 // Action
13434 Action?: "Deploy" | "Set Production" | "Delete Staging Deployment"
13435
13436 // Azure Spring Apps Name
13437 AzureSpringCloud!: string
13438
13439 // App
13440 AppName!: string
13441
13442 // Deployment Type
13443 DeploymentType?: "Artifacts" | "CustomContainer"
13444
13445 // Use Staging Deployment
13446 UseStagingDeployment?: bool
13447
13448 // Create a new staging deployment if one does not exist.
13449 CreateNewDeployment?: bool
13450
13451 // Deployment
13452 DeploymentName?: string
13453
13454 // Package or folder
13455 Package?: string
13456
13457 // Builder
13458 Builder?: string
13459
13460 // Registry Server
13461 RegistryServer?: string
13462
13463 // Registry Username
13464 RegistryUsername?: string
13465
13466 // Registry Password
13467 RegistryPassword?: string
13468
13469 // Image Name and Tag
13470 ImageName?: string
13471
13472 // Image Command
13473 ImageCommand?: string
13474
13475 // Image Arguments
13476 ImageArgs?: string
13477
13478 // Language Framework
13479 ImageLanguageFramework?: "springboot" | ""
13480
13481 // Environment Variables
13482 EnvironmentVariables?: string
13483
13484 // JVM Options
13485 JvmOptions?: string
13486
13487 // Runtime Version
13488 RuntimeVersion?: "Java_8" | "Java_11" | "Java_17" | "Java_21" | "NetCore_31"
13489
13490 // Main Entry Path
13491 DotNetCoreMainEntryPath?: string
13492
13493 // Version
13494 Version?: string
13495 })
13496 ...
13497 },
13498 {
13499 // Azure Web App
13500 //
13501 // Deploy an Azure Web App for Linux or Windows
13502 task!: null | bool | number | =~"^AzureWebApp@1$" | [...] | {...}
13503
13504 // Azure Web App inputs
13505 inputs!: null |
13506 bool |
13507 number |
13508 string |
13509 [...] |
13510 close({
13511 // Azure subscription
13512 azureSubscription!: string
13513
13514 // App type
13515 appType!: "webApp" | "webAppLinux"
13516
13517 // App name
13518 appName!: string
13519
13520 // Deploy to Slot or App Service Environment
13521 deployToSlotOrASE?: bool
13522
13523 // Resource group
13524 resourceGroupName?: string
13525
13526 // Slot
13527 slotName?: string
13528
13529 // Package or folder
13530 package?: string
13531
13532 // Custom Deploy Folder
13533 customDeployFolder?: string
13534
13535 // Runtime stack
13536 runtimeStack?: "DOTNETCORE|9.0" |
13537 "DOTNETCORE|8.0" |
13538 "DOTNETCORE|7.0" |
13539 "DOTNETCORE|6.0" |
13540 "NODE|22-lts" |
13541 "NODE|20-lts" |
13542 "NODE|18-lts" |
13543 "NODE|16-lts" |
13544 "PYTHON|3.13" |
13545 "PYTHON|3.12" |
13546 "PYTHON|3.11" |
13547 "PYTHON|3.10" |
13548 "PYTHON|3.9" |
13549 "PYTHON|3.8" |
13550 "PHP|8.3" |
13551 "PHP|8.2" |
13552 "PHP|8.1" |
13553 "PHP|8.0" |
13554 "JAVA|21-java21" |
13555 "JAVA|17-java17" |
13556 "JAVA|11-java11" |
13557 "JAVA|8-jre8" |
13558 "JBOSSEAP|8-java17" |
13559 "JBOSSEAP|8-java11" |
13560 "JBOSSEAP|7-java17" |
13561 "JBOSSEAP|7-java11" |
13562 "JBOSSEAP|7-java8" |
13563 "TOMCAT|10.1-java21" |
13564 "TOMCAT|10.1-java17" |
13565 "TOMCAT|10.1-java11" |
13566 "TOMCAT|10.0-java17" |
13567 "TOMCAT|10.0-java11" |
13568 "TOMCAT|10.0-jre8" |
13569 "TOMCAT|9.0-java21" |
13570 "TOMCAT|9.0-java17" |
13571 "TOMCAT|9.0-java11" |
13572 "TOMCAT|9.0-jre8" |
13573 "TOMCAT|8.5-java11" |
13574 "TOMCAT|8.5-jre8"
13575
13576 // Startup command
13577 startUpCommand?: string
13578
13579 // Generate web.config parameters for Python, Node.js, Go and Java apps
13580 customWebConfig?: string
13581
13582 // App settings
13583 appSettings?: string
13584
13585 // Configuration settings
13586 configurationStrings?: string
13587
13588 // Deployment method
13589 deploymentMethod?: "auto" | "zipDeploy" | "runFromPackage"
13590 })
13591 ...
13592 },
13593 {
13594 // Azure CLI
13595 //
13596 // Run Azure CLI commands against an Azure subscription in a Shell script when
13597 // running on Linux agent or Batch script when running on Windows agent.
13598 task!: null | bool | number | =~"^AzureCLI@1$" | [...] | {...}
13599
13600 // Azure CLI inputs
13601 inputs!: null |
13602 bool |
13603 number |
13604 string |
13605 [...] |
13606 close({
13607 // Azure subscription
13608 azureSubscription!: string
13609
13610 // Script Location
13611 scriptLocation?: "inlineScript" | "scriptPath"
13612
13613 // Script Path
13614 scriptPath?: string
13615
13616 // Inline Script
13617 inlineScript?: string
13618
13619 // Arguments
13620 arguments?: string
13621
13622 // Access service principal details in script
13623 addSpnToEnvironment?: bool
13624
13625 // Use global Azure CLI configuration
13626 useGlobalConfig?: bool
13627
13628 // Working Directory
13629 workingDirectory?: string
13630
13631 // Fail on Standard Error
13632 failOnStandardError?: bool
13633 })
13634 ...
13635 },
13636 {
13637 // Azure CLI
13638 //
13639 // Run Azure CLI commands against an Azure subscription in a PowerShell
13640 // Core/Shell script when running on Linux agent or PowerShell/PowerShell
13641 // Core/Batch script when running on Windows agent.
13642 task!: null | bool | number | =~"^AzureCLI@2$" | [...] | {...}
13643
13644 // Azure CLI inputs
13645 inputs!: null |
13646 bool |
13647 number |
13648 string |
13649 [...] |
13650 close({
13651 // Azure Resource Manager connection
13652 azureSubscription!: string
13653
13654 // Script Type
13655 scriptType!: "ps" | "pscore" | "batch" | "bash"
13656
13657 // Script Location
13658 scriptLocation?: "inlineScript" | "scriptPath"
13659
13660 // Script Path
13661 scriptPath?: string
13662
13663 // Inline Script
13664 inlineScript?: string
13665
13666 // Script Arguments
13667 arguments?: string
13668
13669 // ErrorActionPreference
13670 powerShellErrorActionPreference?: "stop" | "continue" | "silentlyContinue"
13671
13672 // Access service principal details in script
13673 addSpnToEnvironment?: bool
13674
13675 // Use global Azure CLI configuration
13676 useGlobalConfig?: bool
13677
13678 // Working Directory
13679 workingDirectory?: string
13680
13681 // Fail on Standard Error
13682 failOnStandardError?: bool
13683
13684 // Ignore $LASTEXITCODE
13685 powerShellIgnoreLASTEXITCODE?: bool
13686
13687 // az login output visibility
13688 visibleAzLogin?: bool
13689
13690 // [Experimental] Keep Azure CLI session active
13691 keepAzSessionActive?: bool
13692 })
13693 ...
13694 },
13695 {
13696 // Azure CLI Preview
13697 //
13698 // Run a Shell or Batch script with Azure CLI commands against an azure subscription
13699 task!: null | bool | number | =~"^AzureCLI@0$" | [...] | {...}
13700
13701 // Azure CLI Preview inputs
13702 inputs?: null |
13703 bool |
13704 number |
13705 string |
13706 [...] |
13707 close({
13708 // Azure Connection Type
13709 connectedServiceNameSelector?: "connectedServiceName" | "connectedServiceNameARM"
13710
13711 // AzureRM Subscription
13712 connectedServiceNameARM?: string
13713
13714 // Azure Classic Subscription
13715 connectedServiceName?: string
13716
13717 // Script Location
13718 scriptLocation?: "inlineScript" | "scriptPath"
13719
13720 // Script Path
13721 scriptPath?: string
13722
13723 // Inline Script
13724 inlineScript?: string
13725
13726 // Arguments
13727 args?: string
13728
13729 // Working Directory
13730 cwd?: string
13731
13732 // Fail on Standard Error
13733 failOnStandardError?: bool
13734 })
13735 ...
13736 },
13737 {
13738 // Azure CLI
13739 //
13740 // Run Azure CLI commands against an Azure subscription in a PowerShell
13741 // Core/Shell script when running on Linux agent or PowerShell/PowerShell
13742 // Core/Batch script when running on Windows agent.
13743 task!: null | bool | number | =~"^AzureCLI@2$" | [...] | {...}
13744
13745 // Azure CLI inputs
13746 inputs!: null |
13747 bool |
13748 number |
13749 string |
13750 [...] |
13751 close({
13752 // Azure Resource Manager connection
13753 azureSubscription!: string
13754
13755 // Script Type
13756 scriptType!: "ps" | "pscore" | "batch" | "bash"
13757
13758 // Script Location
13759 scriptLocation?: "inlineScript" | "scriptPath"
13760
13761 // Script Path
13762 scriptPath?: string
13763
13764 // Inline Script
13765 inlineScript?: string
13766
13767 // Script Arguments
13768 arguments?: string
13769
13770 // ErrorActionPreference
13771 powerShellErrorActionPreference?: "stop" | "continue" | "silentlyContinue"
13772
13773 // Access service principal details in script
13774 addSpnToEnvironment?: bool
13775
13776 // Use global Azure CLI configuration
13777 useGlobalConfig?: bool
13778
13779 // Working Directory
13780 workingDirectory?: string
13781
13782 // Fail on Standard Error
13783 failOnStandardError?: bool
13784
13785 // Ignore $LASTEXITCODE
13786 powerShellIgnoreLASTEXITCODE?: bool
13787
13788 // az login output visibility
13789 visibleAzLogin?: bool
13790
13791 // [Experimental] Keep Azure CLI session active
13792 keepAzSessionActive?: bool
13793 })
13794 ...
13795 },
13796 {
13797 // GitHub Release
13798 //
13799 // Create, edit, or delete a GitHub release
13800 task!: null | bool | number | =~"^GitHubRelease@1$" | [...] | {...}
13801
13802 // GitHub Release inputs
13803 inputs!: null |
13804 bool |
13805 number |
13806 string |
13807 [...] |
13808 close({
13809 // GitHub connection (OAuth or PAT)
13810 gitHubConnection!: string
13811
13812 // Repository
13813 repositoryName?: string
13814
13815 // Action
13816 action?: "create" | "edit" | "delete"
13817
13818 // Target
13819 target?: string
13820
13821 // Tag source
13822 tagSource?: "gitTag" | "userSpecifiedTag"
13823
13824 // Tag Pattern
13825 tagPattern?: string
13826
13827 // Tag
13828 tag?: string
13829
13830 // Release title
13831 title?: string
13832
13833 // Release notes source
13834 releaseNotesSource?: "filePath" | "inline"
13835
13836 // Release notes file path
13837 releaseNotesFilePath?: string
13838
13839 // Release notes
13840 releaseNotesInline?: string
13841
13842 // Assets
13843 assets?: string
13844
13845 // Asset upload mode
13846 assetUploadMode?: "delete" | "replace"
13847
13848 // Draft release
13849 isDraft?: bool
13850
13851 // Pre-release
13852 isPreRelease?: bool
13853
13854 // Add changelog
13855 addChangeLog?: bool
13856
13857 // Compare to
13858 changeLogCompareToRelease?: "lastFullRelease" | "lastNonDraftRelease" | "lastNonDraftReleaseByTag"
13859
13860 // Release Tag
13861 changeLogCompareToReleaseTag?: string
13862
13863 // Changelog type
13864 changeLogType?: "commitBased" | "issueBased"
13865
13866 // Categories
13867 changeLogLabels?: string
13868 })
13869 ...
13870 },
13871 {
13872 // GitHub Release
13873 //
13874 // Create, edit, or delete a GitHub release
13875 task!: null | bool | number | =~"^GitHubRelease@0$" | [...] | {...}
13876
13877 // GitHub Release inputs
13878 inputs!: null |
13879 bool |
13880 number |
13881 string |
13882 [...] |
13883 close({
13884 // GitHub connection (OAuth or PAT)
13885 gitHubConnection!: string
13886
13887 // Repository
13888 repositoryName?: string
13889
13890 // Action
13891 action?: "create" | "edit" | "delete"
13892
13893 // Target
13894 target?: string
13895
13896 // Tag source
13897 tagSource?: "auto" | "manual"
13898
13899 // Tag Pattern
13900 tagPattern?: string
13901
13902 // Tag
13903 tag?: string
13904
13905 // Release title
13906 title?: string
13907
13908 // Release notes source
13909 releaseNotesSource?: "file" | "input"
13910
13911 // Release notes file path
13912 releaseNotesFile?: string
13913
13914 // Release notes
13915 releaseNotes?: string
13916
13917 // Assets
13918 assets?: string
13919
13920 // Asset upload mode
13921 assetUploadMode?: "delete" | "replace"
13922
13923 // Draft release
13924 isDraft?: bool
13925
13926 // Pre-release
13927 isPreRelease?: bool
13928
13929 // Add changelog
13930 addChangeLog?: bool
13931
13932 // Compare to
13933 changeLogCompareToRelease?: "lastFullRelease" | "lastNonDraftRelease" | "lastNonDraftReleaseByTag"
13934
13935 // Release Tag
13936 changeLogCompareToReleaseTag?: string
13937
13938 // Changelog type
13939 changeLogType?: "commitBased" | "issueBased"
13940
13941 // Categories
13942 changeLogLabels?: string
13943 })
13944 ...
13945 },
13946 {
13947 // cURL Upload Files
13948 //
13949 // Use cURL to upload files with FTP, FTPS, SFTP, HTTP, and more.
13950 task!: null | bool | number | =~"^cURLUploader@1$" | [...] | {...}
13951
13952 // cURL Upload Files inputs
13953 inputs!: null |
13954 bool |
13955 number |
13956 string |
13957 [...] |
13958 close({
13959 // Files
13960 files!: string
13961
13962 // Username
13963 username?: string
13964
13965 // Password
13966 password?: string
13967
13968 // URL
13969 url!: string
13970
13971 // Optional Arguments
13972 options?: string
13973
13974 // Redirect Standard Error to Standard Out
13975 redirectStderr?: bool
13976 })
13977 ...
13978 },
13979 {
13980 // cURL upload files
13981 //
13982 // Use cURL's supported protocols to upload files
13983 task!: null | bool | number | =~"^cURLUploader@2$" | [...] | {...}
13984
13985 // cURL upload files inputs
13986 inputs!: null |
13987 bool |
13988 number |
13989 string |
13990 [...] |
13991 close({
13992 // Files
13993 files!: string
13994
13995 // Authentication Method
13996 authType?: "ServiceEndpoint" | "UserAndPass"
13997
13998 // Service Connection
13999 serviceEndpoint?: string
14000
14001 // Username
14002 username?: string
14003
14004 // Password
14005 password?: string
14006
14007 // URL
14008 url?: string
14009
14010 // Remote Directory
14011 remotePath?: string
14012
14013 // Optional Arguments
14014 options?: string
14015
14016 // Redirect Standard Error to Standard Out
14017 redirectStderr?: bool
14018 })
14019 ...
14020 },
14021 {
14022 // Azure App Service Settings
14023 //
14024 // Update/Add App settings an Azure Web App for Linux or Windows
14025 task!: null | bool | number | =~"^AzureAppServiceSettings@1$" | [...] | {...}
14026
14027 // Azure App Service Settings inputs
14028 inputs!: null |
14029 bool |
14030 number |
14031 string |
14032 [...] |
14033 close({
14034 // Azure subscription
14035 azureSubscription!: string
14036
14037 // App Service name
14038 appName!: string
14039
14040 // Resource group
14041 resourceGroupName!: string
14042
14043 // Slot
14044 slotName?: string
14045
14046 // App settings
14047 appSettings?: string
14048
14049 // General settings
14050 generalSettings?: string
14051
14052 // Connection Strings
14053 connectionStrings?: string
14054 })
14055 ...
14056 },
14057 {
14058 // Universal packages
14059 //
14060 // Download or publish Universal Packages
14061 task!: null | bool | number | =~"^UniversalPackages@0$" | [...] | {...}
14062
14063 // Universal packages inputs
14064 inputs?: null |
14065 bool |
14066 number |
14067 string |
14068 [...] |
14069 close({
14070 // Command
14071 command?: "download" | "publish"
14072
14073 // Destination directory
14074 downloadDirectory?: string
14075
14076 // Feed location
14077 feedsToUse?: "internal" | "external"
14078
14079 // organization/collection connection
14080 externalFeedCredentials?: string
14081
14082 // Feed
14083 vstsFeed?: string
14084
14085 // Package name
14086 vstsFeedPackage?: string
14087
14088 // Version
14089 vstsPackageVersion?: string
14090
14091 // Feed (or Project/Feed if the feed was created in a project)
14092 feedDownloadExternal?: string
14093
14094 // Package name
14095 packageDownloadExternal?: string
14096
14097 // Version
14098 versionDownloadExternal?: string
14099
14100 // Path to file(s) to publish
14101 publishDirectory?: string
14102
14103 // Feed location
14104 feedsToUsePublish?: "internal" | "external"
14105
14106 // organization/collection connection
14107 publishFeedCredentials?: string
14108
14109 // Destination Feed
14110 vstsFeedPublish?: string
14111
14112 // Publish pipeline metadata
14113 publishPackageMetadata?: bool
14114
14115 // Package name
14116 vstsFeedPackagePublish?: string
14117
14118 // Feed (or Project/Feed if the feed was created in a project)
14119 feedPublishExternal?: string
14120
14121 // Package name
14122 packagePublishExternal?: string
14123
14124 // Version
14125 versionOption?: "major" | "minor" | "patch" | "custom"
14126
14127 // Custom version
14128 versionPublish?: string
14129
14130 // Description
14131 packagePublishDescription?: string
14132
14133 // Verbosity
14134 verbosity?: "None" | "Trace" | "Debug" | "Information" | "Warning" | "Error" | "Critical"
14135
14136 // Package Output Variable
14137 publishedPackageVar?: string
14138 })
14139 ...
14140 },
14141 {
14142 // Check Azure Policy compliance
14143 //
14144 // Security and compliance assessment for Azure Policy
14145 task!: null | bool | number | =~"^AzurePolicyCheckGate@0$" | [...] | {...}
14146
14147 // Check Azure Policy compliance inputs
14148 inputs!: null |
14149 bool |
14150 number |
14151 string |
14152 [...] |
14153 close({
14154 // Azure subscription
14155 azureSubscription!: string
14156
14157 // Resource group
14158 ResourceGroupName?: string
14159
14160 // Resource name
14161 Resources?: string
14162
14163 // Retry duration
14164 RetryDuration?: string
14165 })
14166 ...
14167 },
14168 {
14169 // Azure Function on Kubernetes
14170 //
14171 // Deploy Azure function to Kubernetes cluster.
14172 task!: null | bool | number | =~"^AzureFunctionOnKubernetes@0$" | [...] | {...}
14173
14174 // Azure Function on Kubernetes inputs
14175 inputs!: null |
14176 bool |
14177 number |
14178 string |
14179 [...] |
14180 close({
14181 // Docker registry service connection
14182 dockerRegistryServiceConnection!: string
14183
14184 // Kubernetes service connection
14185 kubernetesServiceConnection!: string
14186
14187 // Kubernetes namespace
14188 namespace?: string
14189
14190 // Secret Name
14191 secretName?: string
14192
14193 // Docker Hub namespace
14194 dockerHubNamespace?: string
14195
14196 // Application Name
14197 appName!: string
14198
14199 // Function root directory
14200 functionRootDirectory?: string
14201
14202 // Wait for stability
14203 waitForStability?: bool
14204
14205 // Arguments
14206 arguments?: string
14207 })
14208 ...
14209 },
14210 {
14211 // Azure Function on Kubernetes
14212 //
14213 // Deploy Azure function to Kubernetes cluster.
14214 task!: null | bool | number | =~"^AzureFunctionOnKubernetes@1$" | [...] | {...}
14215
14216 // Azure Function on Kubernetes inputs
14217 inputs!: null |
14218 bool |
14219 number |
14220 string |
14221 [...] |
14222 close({
14223 // Service connection type
14224 connectionType?: "Azure Resource Manager" | "Kubernetes Service Connection"
14225
14226 // Docker registry service connection
14227 dockerRegistryServiceConnection!: string
14228
14229 // Kubernetes service connection
14230 kubernetesServiceConnection?: string
14231
14232 // Azure subscription
14233 azureSubscriptionConnection?: string
14234
14235 // Resource group
14236 azureResourceGroup?: string
14237
14238 // Kubernetes cluster
14239 kubernetesCluster?: string
14240
14241 // Kubernetes namespace
14242 namespace?: string
14243
14244 // Secret Name
14245 secretName?: string
14246
14247 // Docker Hub namespace
14248 dockerHubNamespace?: string
14249
14250 // Application Name
14251 appName!: string
14252
14253 // Function root directory
14254 functionRootDirectory?: string
14255
14256 // Wait for stability
14257 waitForStability?: bool
14258
14259 // Arguments
14260 arguments?: string
14261 })
14262 ...
14263 },
14264 {
14265 // Shell script
14266 //
14267 // Run a shell script using Bash
14268 task!: null | bool | number | =~"^ShellScript@2$" | [...] | {...}
14269
14270 // Shell script inputs
14271 inputs!: null |
14272 bool |
14273 number |
14274 string |
14275 [...] |
14276 close({
14277 // Script Path
14278 scriptPath!: string
14279
14280 // Arguments
14281 args?: string
14282
14283 // Specify Working Directory
14284 disableAutoCwd?: bool
14285
14286 // Working Directory
14287 cwd?: string
14288
14289 // Fail on Standard Error
14290 failOnStandardError?: bool
14291 })
14292 ...
14293 },
14294 {
14295 // Bash
14296 //
14297 // Run a Bash script on macOS, Linux, or Windows
14298 task!: null | bool | number | =~"^Bash@3$" | [...] | {...}
14299
14300 // Bash inputs
14301 inputs?: null |
14302 bool |
14303 number |
14304 string |
14305 [...] |
14306 close({
14307 // Type
14308 targetType?: "filePath" | "inline"
14309
14310 // Script Path
14311 filePath?: string
14312
14313 // Arguments
14314 arguments?: string
14315
14316 // Script
14317 script?: string
14318
14319 // Working Directory
14320 workingDirectory?: string
14321
14322 // Fail on Standard Error
14323 failOnStderr?: bool
14324
14325 // Set value for BASH_ENV environment variable
14326 bashEnvValue?: string
14327 })
14328 ...
14329 },
14330 {
14331 // Publish build artifacts
14332 //
14333 // Publish build artifacts to Azure Pipelines or a Windows file share
14334 task!: null | bool | number | =~"^PublishBuildArtifacts@1$" | [...] | {...}
14335
14336 // Publish build artifacts inputs
14337 inputs?: null |
14338 bool |
14339 number |
14340 string |
14341 [...] |
14342 close({
14343 // Path to publish
14344 PathtoPublish?: string
14345
14346 // Artifact name
14347 ArtifactName?: string
14348
14349 // Artifact publish location
14350 publishLocation?: "Container" | "FilePath"
14351
14352 // Max Artifact Size
14353 MaxArtifactSize?: int
14354
14355 // File share path
14356 TargetPath?: string
14357
14358 // Parallel copy
14359 Parallel?: bool
14360
14361 // Parallel count
14362 ParallelCount?: int
14363
14364 // Tar the artifact before uploading
14365 StoreAsTar?: bool
14366 })
14367 ...
14368 },
14369 {
14370 // Install SSH key
14371 //
14372 // Install an SSH key prior to a build or deployment
14373 task!: null | bool | number | =~"^InstallSSHKey@0$" | [...] | {...}
14374
14375 // Install SSH key inputs
14376 inputs!: null |
14377 bool |
14378 number |
14379 string |
14380 [...] |
14381 close({
14382 // Known Hosts Entry
14383 knownHostsEntry!: string
14384
14385 // SSH Public Key
14386 sshPublicKey?: string
14387
14388 // SSH Passphrase
14389 sshPassphrase?: string
14390
14391 // SSH Key
14392 sshKeySecureFile!: string
14393
14394 // Add entry to SSH config
14395 addEntryToConfig?: bool
14396
14397 // Alias
14398 configHostAlias?: string
14399
14400 // Host name
14401 configHostname?: string
14402
14403 // User
14404 configUser?: string
14405
14406 // Port
14407 configPort?: string
14408 })
14409 ...
14410 },
14411 {
14412 // Azure VM scale set deployment
14413 //
14414 // Deploy a virtual machine scale set image
14415 task!: null | bool | number | =~"^AzureVmssDeployment@0$" | [...] | {...}
14416
14417 // Azure VM scale set deployment inputs
14418 inputs!: null |
14419 bool |
14420 number |
14421 string |
14422 [...] |
14423 close({
14424 // Azure subscription
14425 azureSubscription!: string
14426
14427 // Action
14428 action?: "Update image" | "Configure application startup"
14429
14430 // Virtual Machine scale set name
14431 vmssName!: string
14432
14433 // OS type
14434 vmssOsType!: "Windows" | "Linux"
14435
14436 // Image URL
14437 imageUrl!: string
14438
14439 // Custom script directory
14440 customScriptsDirectory?: string
14441
14442 // Command
14443 customScript?: string
14444
14445 // Arguments
14446 customScriptArguments?: string
14447
14448 // Azure storage account where custom scripts will be uploaded
14449 customScriptsStorageAccount?: string
14450
14451 // Skip Archiving custom scripts
14452 skipArchivingCustomScripts?: bool
14453 })
14454 ...
14455 },
14456 {
14457 // Azure VM scale set deployment
14458 //
14459 // Deploy a virtual machine scale set image
14460 task!: null | bool | number | =~"^AzureVmssDeployment@1$" | [...] | {...}
14461
14462 // Azure VM scale set deployment inputs
14463 inputs!: null |
14464 bool |
14465 number |
14466 string |
14467 [...] |
14468 close({
14469 // Azure subscription
14470 azureSubscription!: string
14471
14472 // Action
14473 action?: "Update image" | "Configure application startup"
14474
14475 // Virtual Machine scale set name
14476 vmssName!: string
14477
14478 // OS type
14479 vmssOsType!: "Windows" | "Linux"
14480
14481 // Image URL
14482 imageUrl!: string
14483
14484 // Custom script directory
14485 customScriptsDirectory?: string
14486
14487 // Command
14488 customScript?: string
14489
14490 // Arguments
14491 customScriptArguments?: string
14492
14493 // Azure storage account where custom scripts will be uploaded
14494 customScriptsStorageAccount?: string
14495
14496 // Skip Archiving custom scripts
14497 skipArchivingCustomScripts?: bool
14498 })
14499 ...
14500 },
14501 {
14502 // Azure App Service: Classic (Deprecated)
14503 //
14504 // Create or update Azure App Service using Azure PowerShell
14505 task!: null | bool | number | =~"^AzureWebPowerShellDeployment@1$" | [...] | {...}
14506
14507 // Azure App Service: Classic (Deprecated) inputs
14508 inputs!: null |
14509 bool |
14510 number |
14511 string |
14512 [...] |
14513 close({
14514 // Azure Subscription (Classic)
14515 ConnectedServiceName!: string
14516
14517 // Web App Location
14518 WebSiteLocation!: string
14519
14520 // Web App Name
14521 WebSiteName!: string
14522
14523 // Slot
14524 Slot?: string
14525
14526 // Web Deploy Package
14527 Package!: string
14528
14529 // Set DoNotDelete flag
14530 doNotDelete?: bool
14531
14532 // Additional Arguments
14533 AdditionalArguments?: string
14534 })
14535 ...
14536 },
14537 {
14538 // Conda authenticate (for task runners)
14539 //
14540 // Authentication task for the conda client
14541 task!: null | bool | number | =~"^CondaAuthenticate@0$" | [...] | {...}
14542
14543 // Conda authenticate (for task runners) inputs
14544 inputs?: null |
14545 bool |
14546 number |
14547 string |
14548 [...] |
14549 close({
14550 // 'Azure DevOps' Service Connection
14551 azureDevOpsServiceConnection?: string
14552 })
14553 ...
14554 },
14555 {
14556 // Azure Cloud Service deployment
14557 //
14558 // Deploy an Azure Cloud Service
14559 task!: null | bool | number | =~"^AzureCloudPowerShellDeployment@2$" | [...] | {...}
14560
14561 // Azure Cloud Service deployment inputs
14562 inputs!: null |
14563 bool |
14564 number |
14565 string |
14566 [...] |
14567 close({
14568 // Azure subscription (ARM)
14569 ARMConnectedServiceName!: string
14570
14571 // Resource group
14572 ResourceGroupName!: string
14573
14574 // Storage account (ARM)
14575 ARMStorageAccount!: string
14576
14577 // Service name
14578 ServiceName!: string
14579
14580 // Service location
14581 ServiceLocation!: string
14582
14583 // CsCfg
14584 CsCfg!: string
14585
14586 // CsDef
14587 CsDef!: string
14588
14589 // CsPkg
14590 CsPkg!: string
14591
14592 // Azure KeyVault
14593 KeyVault?: string
14594
14595 // Deployment label
14596 DeploymentLabel?: string
14597
14598 // Append current date and time
14599 AppendDateTimeToLabel?: bool
14600
14601 // Update mode for the cloud service
14602 UpgradeMode?: string
14603
14604 // Allow upgrade
14605 AllowUpgrade?: bool
14606
14607 // Verify role instance status
14608 VerifyRoleInstanceStatus?: bool
14609
14610 // Diagnostic storage account keys
14611 DiagnosticStorageAccountKeys?: string
14612 })
14613 ...
14614 },
14615 {
14616 // Azure Cloud Service deployment
14617 //
14618 // Deploy an Azure Cloud Service
14619 task!: null | bool | number | =~"^AzureCloudPowerShellDeployment@1$" | [...] | {...}
14620
14621 // Azure Cloud Service deployment inputs
14622 inputs!: null |
14623 bool |
14624 number |
14625 string |
14626 [...] |
14627 close({
14628 // Azure subscription (Classic)
14629 azureClassicSubscription!: string
14630
14631 // Enable ARM storage support
14632 EnableAdvancedStorageOptions?: bool
14633
14634 // Storage account (Classic)
14635 StorageAccount?: string
14636
14637 // Azure subscription (ARM)
14638 ARMConnectedServiceName?: string
14639
14640 // Storage account (ARM)
14641 ARMStorageAccount?: string
14642
14643 // Service name
14644 ServiceName!: string
14645
14646 // Service location
14647 ServiceLocation!: string
14648
14649 // CsPkg
14650 CsPkg!: string
14651
14652 // CsCfg
14653 CsCfg!: string
14654
14655 // Environment (Slot)
14656 slotName?: string
14657
14658 // Deployment label
14659 DeploymentLabel?: string
14660
14661 // Append current date and time
14662 AppendDateTimeToLabel?: bool
14663
14664 // Allow upgrade
14665 AllowUpgrade?: bool
14666
14667 // Simultaneous upgrade
14668 SimultaneousUpgrade?: bool
14669
14670 // Force upgrade
14671 ForceUpgrade?: bool
14672
14673 // Verify role instance status
14674 VerifyRoleInstanceStatus?: bool
14675
14676 // Diagnostic storage account keys
14677 DiagnosticStorageAccountKeys?: string
14678
14679 // Custom certificates to import
14680 NewServiceCustomCertificates?: string
14681
14682 // Additional arguments
14683 NewServiceAdditionalArguments?: string
14684
14685 // Affinity group
14686 NewServiceAffinityGroup?: string
14687 })
14688 ...
14689 },
14690 {
14691 // Cargo authenticate (for task runners)
14692 //
14693 // Authentication task for the cargo client used for installing Cargo crates distribution
14694 task!: null | bool | number | =~"^CargoAuthenticate@0$" | [...] | {...}
14695
14696 // Cargo authenticate (for task runners) inputs
14697 inputs!: null |
14698 bool |
14699 number |
14700 string |
14701 [...] |
14702 close({
14703 // 'Azure DevOps' Service Connection
14704 azureDevOpsServiceConnection?: string
14705
14706 // Registry names from config.toml
14707 registryNames?: string
14708
14709 // config.toml file to authenticate
14710 configFile!: string
14711
14712 // Credentials for registries outside this organization/collection
14713 cargoServiceConnections?: string
14714 })
14715 ...
14716 },
14717 {
14718 // Delete files
14719 //
14720 // Delete folders, or files matching a pattern
14721 task!: null | bool | number | =~"^DeleteFiles@1$" | [...] | {...}
14722
14723 // Delete files inputs
14724 inputs?: null |
14725 bool |
14726 number |
14727 string |
14728 [...] |
14729 close({
14730 // Source Folder
14731 SourceFolder?: string
14732
14733 // Contents
14734 Contents?: string
14735
14736 // Remove SourceFolder
14737 RemoveSourceFolder?: bool
14738
14739 // Remove files starting with a dot
14740 RemoveDotFiles?: bool
14741 })
14742 ...
14743 },
14744 {
14745 // gulp
14746 //
14747 // Run the gulp Node.js streaming task-based build system
14748 task!: null | bool | number | =~"^gulp@0$" | [...] | {...}
14749
14750 // gulp inputs
14751 inputs?: null |
14752 bool |
14753 number |
14754 string |
14755 [...] |
14756 close({
14757 // gulp File Path
14758 gulpFile?: string
14759
14760 // gulp Task(s)
14761 targets?: string
14762
14763 // Arguments
14764 arguments?: string
14765
14766 // Working Directory
14767 workingDirectory?: string
14768
14769 // gulp.js location
14770 gulpjs?: string
14771
14772 // Publish to Azure Pipelines
14773 publishJUnitResults?: bool
14774
14775 // Test Results Files
14776 testResultsFiles?: string
14777
14778 // Test Run Title
14779 testRunTitle?: string
14780
14781 // Enable code Coverage
14782 enableCodeCoverage?: bool
14783
14784 // Test Framework
14785 testFramework?: "Mocha" | "Jasmine"
14786
14787 // Source Files
14788 srcFiles?: string
14789
14790 // Test Script Files
14791 testFiles?: string
14792 })
14793 ...
14794 },
14795 {
14796 // gulp
14797 //
14798 // Run the gulp Node.js streaming task-based build system
14799 task!: null | bool | number | =~"^gulp@1$" | [...] | {...}
14800
14801 // gulp inputs
14802 inputs?: null |
14803 bool |
14804 number |
14805 string |
14806 [...] |
14807 close({
14808 // gulp File Path
14809 gulpFile?: string
14810
14811 // gulp Task(s)
14812 targets?: string
14813
14814 // Arguments
14815 arguments?: string
14816
14817 // Working Directory
14818 workingDirectory?: string
14819
14820 // gulp.js location
14821 gulpjs?: string
14822
14823 // Publish to Azure Pipelines
14824 publishJUnitResults?: bool
14825
14826 // Test Results Files
14827 testResultsFiles?: string
14828
14829 // Test Run Title
14830 testRunTitle?: string
14831
14832 // Enable code Coverage
14833 enableCodeCoverage?: bool
14834
14835 // Test Framework
14836 testFramework?: "Mocha" | "Jasmine"
14837
14838 // Source Files
14839 srcFiles?: string
14840
14841 // Test Script Files
14842 testFiles?: string
14843 })
14844 ...
14845 },
14846 {
14847 // IIS web app manage
14848 //
14849 // Create or update websites, web apps, virtual directories, or application pools
14850 task!: null | bool | number | =~"^IISWebAppManagementOnMachineGroup@0$" | [...] | {...}
14851
14852 // IIS web app manage inputs
14853 inputs!: null |
14854 bool |
14855 number |
14856 string |
14857 [...] |
14858 close({
14859 // Enable IIS
14860 EnableIIS?: bool
14861
14862 // Configuration type
14863 IISDeploymentType?: "IISWebsite" | "IISWebApplication" | "IISVirtualDirectory" | "IISApplicationPool"
14864
14865 // Action
14866 ActionIISWebsite?: "CreateOrUpdateWebsite" | "StartWebsite" | "StopWebsite"
14867
14868 // Action
14869 ActionIISApplicationPool?: "CreateOrUpdateAppPool" | "StartAppPool" | "StopAppPool" | "RecycleAppPool"
14870
14871 // Website name
14872 StartStopWebsiteName?: string
14873
14874 // Website name
14875 WebsiteName!: string
14876
14877 // Physical path
14878 WebsitePhysicalPath?: string
14879
14880 // Physical path authentication
14881 WebsitePhysicalPathAuth?: "WebsiteUserPassThrough" | "WebsiteWindowsAuth"
14882
14883 // Username
14884 WebsiteAuthUserName?: string
14885
14886 // Password
14887 WebsiteAuthUserPassword?: string
14888
14889 // Add binding
14890 AddBinding?: bool
14891
14892 // Protocol
14893 Protocol?: "https" | "http"
14894
14895 // IP address
14896 IPAddress?: string
14897
14898 // Port
14899 Port?: string
14900
14901 // Server Name Indication required
14902 ServerNameIndication?: bool
14903
14904 // Host name
14905 HostNameWithOutSNI?: string
14906
14907 // Host name
14908 HostNameWithHttp?: string
14909
14910 // Host name
14911 HostNameWithSNI?: string
14912
14913 // SSL certificate thumbprint
14914 SSLCertThumbPrint?: string
14915
14916 // Add bindings
14917 Bindings!: string
14918
14919 // Create or update app pool
14920 CreateOrUpdateAppPoolForWebsite?: bool
14921
14922 // Configure authentication
14923 ConfigureAuthenticationForWebsite?: bool
14924
14925 // Name
14926 AppPoolNameForWebsite!: string
14927
14928 // .NET version
14929 DotNetVersionForWebsite?: "v4.0" | "v2.0" | "No Managed Code"
14930
14931 // Managed pipeline mode
14932 PipeLineModeForWebsite?: "Integrated" | "Classic"
14933
14934 // Identity
14935 AppPoolIdentityForWebsite?: "ApplicationPoolIdentity" |
14936 "LocalService" |
14937 "LocalSystem" |
14938 "NetworkService" |
14939 "SpecificUser"
14940
14941 // Username
14942 AppPoolUsernameForWebsite?: string
14943
14944 // Password
14945 AppPoolPasswordForWebsite?: string
14946
14947 // Anonymous authentication
14948 AnonymousAuthenticationForWebsite?: bool
14949
14950 // Basic authentication
14951 BasicAuthenticationForWebsite?: bool
14952
14953 // Windows authentication
14954 WindowsAuthenticationForWebsite?: bool
14955
14956 // Parent website name
14957 ParentWebsiteNameForVD!: string
14958
14959 // Virtual path
14960 VirtualPathForVD!: string
14961
14962 // Physical path
14963 PhysicalPathForVD?: string
14964
14965 // Physical path authentication
14966 VDPhysicalPathAuth?: "VDUserPassThrough" | "VDWindowsAuth"
14967
14968 // Username
14969 VDAuthUserName?: string
14970
14971 // Password
14972 VDAuthUserPassword?: string
14973
14974 // Parent website name
14975 ParentWebsiteNameForApplication!: string
14976
14977 // Virtual path
14978 VirtualPathForApplication!: string
14979
14980 // Physical path
14981 PhysicalPathForApplication?: string
14982
14983 // Physical path authentication
14984 ApplicationPhysicalPathAuth?: "ApplicationUserPassThrough" | "ApplicationWindowsAuth"
14985
14986 // Username
14987 ApplicationAuthUserName?: string
14988
14989 // Password
14990 ApplicationAuthUserPassword?: string
14991
14992 // Create or update app pool
14993 CreateOrUpdateAppPoolForApplication?: bool
14994
14995 // Name
14996 AppPoolNameForApplication!: string
14997
14998 // .NET version
14999 DotNetVersionForApplication?: "v4.0" | "v2.0" | "No Managed Code"
15000
15001 // Managed pipeline mode
15002 PipeLineModeForApplication?: "Integrated" | "Classic"
15003
15004 // Identity
15005 AppPoolIdentityForApplication?: "ApplicationPoolIdentity" |
15006 "LocalService" |
15007 "LocalSystem" |
15008 "NetworkService" |
15009 "SpecificUser"
15010
15011 // Username
15012 AppPoolUsernameForApplication?: string
15013
15014 // Password
15015 AppPoolPasswordForApplication?: string
15016
15017 // Name
15018 AppPoolName!: string
15019
15020 // .NET version
15021 DotNetVersion?: "v4.0" | "v2.0" | "No Managed Code"
15022
15023 // Managed pipeline mode
15024 PipeLineMode?: "Integrated" | "Classic"
15025
15026 // Identity
15027 AppPoolIdentity?: "ApplicationPoolIdentity" |
15028 "LocalService" |
15029 "LocalSystem" |
15030 "NetworkService" |
15031 "SpecificUser"
15032
15033 // Username
15034 AppPoolUsername?: string
15035
15036 // Password
15037 AppPoolPassword?: string
15038
15039 // Application pool name
15040 StartStopRecycleAppPoolName?: string
15041
15042 // Additional appcmd.exe commands
15043 AppCmdCommands?: string
15044 })
15045 ...
15046 },
15047 {
15048 // Docker CLI installer
15049 //
15050 // Install Docker CLI on agent machine.
15051 task!: null | bool | number | =~"^DockerInstaller@0$" | [...] | {...}
15052
15053 // Docker CLI installer inputs
15054 inputs?: null |
15055 bool |
15056 number |
15057 string |
15058 [...] |
15059 close({
15060 // Docker Version
15061 dockerVersion?: string
15062
15063 // Release type
15064 releaseType?: "stable" | "edge" | "test" | "nightly"
15065 })
15066 ...
15067 }
15068 ]) & close({
15069 task?: matchN(>=1, [
15070 "PowerShell@2",
15071 "PowerShell@1",
15072 "AzurePowerShell@5",
15073 "AzurePowerShell@4",
15074 "AzurePowerShell@1",
15075 "AzurePowerShell@5",
15076 "AzurePowerShell@2",
15077 "MysqlDeploymentOnMachineGroup@1",
15078 "PipAuthenticate@1",
15079 "PipAuthenticate@0",
15080 "Maven@4",
15081 "Maven@2",
15082 "Maven@3",
15083 "Maven@1",
15084 "DotNetCoreCLI@2",
15085 "DotNetCoreCLI@0",
15086 "DotNetCoreCLI@1",
15087 "XamarinComponentRestore@0",
15088 "AzureRmWebAppDeployment@4",
15089 "AzureRmWebAppDeployment@2",
15090 "AzureRmWebAppDeployment@5",
15091 "AzureRmWebAppDeployment@3",
15092 "PowerShellOnTargetMachines@3",
15093 "PowerShellOnTargetMachines@1",
15094 "PowerShellOnTargetMachines@2",
15095 "PowerShellOnTargetMachines@2",
15096 "PublishCodeCoverageResults@2",
15097 "PublishCodeCoverageResults@1",
15098 "RunVisualStudioTestsusingTestAgent@1",
15099 "ManualIntervention@8",
15100 "InstallAppleProvisioningProfile@1",
15101 "InstallAppleProvisioningProfile@0",
15102 "SonarQubePostTest@1",
15103 "PyPIPublisher@0",
15104 "ChefKnife@1",
15105 "GoTool@0",
15106 "XcodePackageiOS@0",
15107 "Go@0",
15108 "PublishPipelineMetadata@0",
15109 "Docker@0",
15110 "Docker@2",
15111 "Docker@1",
15112 "JenkinsQueueJob@1",
15113 "JenkinsQueueJob@2",
15114 "FtpUpload@2",
15115 "FtpUpload@1",
15116 "WindowsMachineFileCopy@2",
15117 "WindowsMachineFileCopy@1",
15118 "AndroidBuild@1",
15119 "TwineAuthenticate@1",
15120 "TwineAuthenticate@0",
15121 "IISWebAppDeploymentOnMachineGroup@0",
15122 "PythonScript@0",
15123 "HelmInstaller@0",
15124 "HelmInstaller@1",
15125 "NodeTaskRunnerInstaller@0",
15126 "XamarinLicense@1",
15127 "NuGetAuthenticate@0",
15128 "NuGetAuthenticate@1",
15129 "DownloadGitHubNugetPackage@1",
15130 "MavenAuthenticate@0",
15131 "AzureAppConfigurationExport@10",
15132 "ReviewApp@0",
15133 "JavaToolInstaller@0",
15134 "JavaToolInstaller@1",
15135 "Chef@1",
15136 "AzureFunctionApp@1",
15137 "AzureFunctionApp@2",
15138 "npmAuthenticate@0",
15139 "MSBuild@1",
15140 "PackerBuild@0",
15141 "PackerBuild@1",
15142 "NuGetPackager@0",
15143 "AzureAppConfigurationSnapshot@1",
15144 "DuffleInstaller@0",
15145 "ServiceFabricUpdateAppVersions@1",
15146 "ServiceFabricUpdateManifests@2",
15147 "AzureMonitor@1",
15148 "AzureMonitor@0",
15149 "Notation@0",
15150 "AzureNLBManagement@1",
15151 "DockerCompose@0",
15152 "DockerCompose@1",
15153 "AzureMonitorAlerts@0",
15154 "XamarinTestCloud@1",
15155 "ServiceFabricDeploy@1",
15156 "Xcode@5",
15157 "Xcode@3",
15158 "Xcode@4",
15159 "Xcode@2",
15160 "NuGetPublisher@0",
15161 "queryWorkItems@0",
15162 "AzureWebAppContainer@1",
15163 "SqlDacpacDeploymentOnMachineGroup@0",
15164 "CacheBeta@1",
15165 "CacheBeta@0",
15166 "Cache@2",
15167 "CMake@1",
15168 "VSMobileCenterTest@0",
15169 "AppCenterTest@1",
15170 "DownloadSecureFile@1",
15171 "AzureContainerApps@0",
15172 "AzureContainerApps@1",
15173 "UseRubyVersion@0",
15174 "Grunt@0",
15175 "SqlAzureDacpacDeployment@1",
15176 "ContainerStructureTest@0",
15177 "IISWebAppDeployment@1",
15178 "KubectlInstaller@0",
15179 "CmdLine@2",
15180 "CmdLine@1",
15181 "NuGet@0",
15182 "ContainerBuild@0",
15183 "NuGetInstaller@0",
15184 "NuGetRestore@1",
15185 "NuGetCommand@2",
15186 "Delay@1",
15187 "XamariniOS@1",
15188 "XamariniOS@2",
15189 "PublishTestResults@2",
15190 "PublishTestResults@1",
15191 "AzureFileCopy@6",
15192 "AzureFileCopy@4",
15193 "AzureFileCopy@5",
15194 "AzureFileCopy@2",
15195 "AzureFileCopy@3",
15196 "AzureFileCopy@1",
15197 "PublishSymbols@2",
15198 "PublishSymbols@1",
15199 "CopyFilesOverSSH@0",
15200 "Gradle@2",
15201 "Gradle@3",
15202 "Gradle@4",
15203 "Gradle@1",
15204 "AzureTestPlan@0",
15205 "AppCenterDistribute@1",
15206 "AppCenterDistribute@2",
15207 "AppCenterDistribute@3",
15208 "AppCenterDistribute@0",
15209 "NuGetToolInstaller@0",
15210 "NuGetToolInstaller@1",
15211 "JenkinsDownloadArtifacts@2",
15212 "JenkinsDownloadArtifacts@1",
15213 "JenkinsDownloadArtifacts@2",
15214 "AzureFunctionAppContainer@1",
15215 "DecryptFile@1",
15216 "HelmDeploy@1",
15217 "HelmDeploy@0",
15218 "InstallAppleCertificate@2",
15219 "InstallAppleCertificate@1",
15220 "InstallAppleCertificate@0",
15221 "AzureFunction@1",
15222 "AzureFunction@0",
15223 "OpenPolicyAgentInstaller@0",
15224 "DownloadGitHubRelease@0",
15225 "SSH@0",
15226 "PublishPipelineArtifact@0",
15227 "PublishPipelineArtifact@1",
15228 "SonarQubePreBuild@1",
15229 "DownloadFileshareArtifacts@1",
15230 "Kubernetes@1",
15231 "Kubernetes@0",
15232 "AzureIoTEdge@2",
15233 "ServiceFabricComposeDeploy@0",
15234 "AndroidSigning@1",
15235 "AndroidSigning@2",
15236 "AndroidSigning@3",
15237 "DownloadPipelineArtifact@0",
15238 "DownloadPipelineArtifact@2",
15239 "DownloadPipelineArtifact@1",
15240 "UsePythonVersion@0",
15241 "ServiceFabricPowerShell@1",
15242 "VSTest@2",
15243 "VSTest@3",
15244 "VSTest@1",
15245 "ManualValidation@1",
15246 "ManualValidation@0",
15247 "Ant@1",
15248 "DeployVisualStudioTestAgent@2",
15249 "DeployVisualStudioTestAgent@1",
15250 "CondaEnvironment@0",
15251 "CondaEnvironment@1",
15252 "BatchScript@1",
15253 "DownloadGithubNpmPackage@1",
15254 "VSBuild@1",
15255 "AzureKeyVault@1",
15256 "AzureKeyVault@2",
15257 "UseDotNet@2",
15258 "DotNetCoreInstaller@0",
15259 "DotNetCoreInstaller@1",
15260 "UseDotNet@2",
15261 "AzureAppConfigurationImport@10",
15262 "AzureAppServiceManage@0",
15263 "KubeloginInstaller@0",
15264 "FuncToolsInstaller@0",
15265 "FileTransform@2",
15266 "FileTransform@1",
15267 "ExtractFiles@1",
15268 "XamarinAndroid@1",
15269 "CopyPublishBuildArtifacts@1",
15270 "DownloadPackage@0",
15271 "DownloadPackage@1",
15272 "AzureResourceGroupDeployment@1",
15273 "AzureResourceGroupDeployment@2",
15274 "AzureResourceManagerTemplateDeployment@3",
15275 "InvokeRESTAPI@0",
15276 "InvokeRESTAPI@1",
15277 "ArchiveFiles@1",
15278 "ArchiveFiles@2",
15279 "GitHubComment@0",
15280 "CopyFiles@2",
15281 "CopyFiles@1",
15282 "AzureMysqlDeployment@1",
15283 "Npm@1",
15284 "Npm@0",
15285 "AzureStaticWebApp@0",
15286 "UseNode@1",
15287 "NodeTool@0",
15288 "SqlServerDacpacDeployment@1",
15289 "VisualStudioTestPlatformInstaller@1",
15290 "PublishToAzureServiceBus@1",
15291 "PublishToAzureServiceBus@2",
15292 "PublishToAzureServiceBus@0",
15293 "KubernetesManifest@0",
15294 "KubernetesManifest@1",
15295 "DownloadBuildArtifacts@0",
15296 "DownloadBuildArtifacts@1",
15297 "CocoaPods@0",
15298 "AzureSpringCloud@0",
15299 "AzureWebApp@1",
15300 "AzureCLI@1",
15301 "AzureCLI@2",
15302 "AzureCLI@0",
15303 "AzureCLI@2",
15304 "GitHubRelease@1",
15305 "GitHubRelease@0",
15306 "cURLUploader@1",
15307 "cURLUploader@2",
15308 "AzureAppServiceSettings@1",
15309 "UniversalPackages@0",
15310 "AzurePolicyCheckGate@0",
15311 "AzureFunctionOnKubernetes@0",
15312 "AzureFunctionOnKubernetes@1",
15313 "ShellScript@2",
15314 "Bash@3",
15315 "PublishBuildArtifacts@1",
15316 "InstallSSHKey@0",
15317 "AzureVmssDeployment@0",
15318 "AzureVmssDeployment@1",
15319 "AzureWebPowerShellDeployment@1",
15320 "CondaAuthenticate@0",
15321 "AzureCloudPowerShellDeployment@2",
15322 "AzureCloudPowerShellDeployment@1",
15323 "CargoAuthenticate@0",
15324 "DeleteFiles@1",
15325 "gulp@0",
15326 "gulp@1",
15327 "IISWebAppManagementOnMachineGroup@0",
15328 "DockerInstaller@0",
15329 ])
15330
15331 // Human-readable name for the task
15332 displayName?: string
15333
15334 // ID of the task instance
15335 name?: =~"^[_A-Za-z0-9]*$"
15336
15337 // Evaluate this condition expression to determine whether to run this task
15338 condition?: string
15339
15340 // Continue running the parent job even on failure?
15341 continueOnError?: bool
15342
15343 // Run this task when the job runs?
15344 enabled?: string
15345
15346 // Number of retries if the task fails
15347 retryCountOnTaskFailure?: int
15348
15349 // Time to wait for this task to complete before the server kills it
15350 timeoutInMinutes?: int
15351
15352 // Task-specific inputs
15353 inputs?: {...}
15354
15355 // Variables to map into the process's environment
15356 env?: {...}
15357 })
15358
15359 #taskBase: close({
15360 condition?: #string
15361 continueOnError?: #boolean
15362 displayName?: #string
15363 target?: #stepTarget
15364 enabled?: #boolean
15365 env?: #mappingOfStringString
15366 name?: #referenceName
15367 timeoutInMinutes?: #nonEmptyString
15368 retryCountOnTaskFailure?: #string
15369 })
15370
15371 #tasks: [...#task]
15372
15373 #templateContext: {...}
15374
15375 #templateParameter: close({
15376 name?: #nonEmptyString
15377 displayName?: #string
15378 type?: #templateParameterType
15379 default?: #any
15380 values?: #sequenceOfNonEmptyString
15381 })
15382
15383 #templateParameterType: matchN(>=1, [
15384 =~"^boolean$",
15385 =~"^container$",
15386 =~"^containerList$",
15387 =~"^deployment$",
15388 =~"^deploymentList$",
15389 =~"^job$",
15390 =~"^jobList$",
15391 =~"^legacyObject$",
15392 =~"^number$",
15393 =~"^object$",
15394 =~"^stage$",
15395 =~"^stageList$",
15396 =~"^step$",
15397 =~"^stepList$",
15398 =~"^string$",
15399 =~"^stringList$",
15400 ])
15401
15402 #templateParameters: matchN(>=1, [[...#templateParameter], {...}])
15403
15404 #trigger: matchN(>=1, [
15405 =~"^none$",
15406 [...#branchFilter], close({
15407 batch?: #boolean
15408 branches?: #includeExcludeFilters
15409 paths?: #includeExcludeFilters
15410 tags?: #includeExcludeFilters
15411 })
15412 ])
15413
15414 #triggerBranchFilter: matchN(>=1, [close({
15415 include?: #branchFilterArray
15416 exclude?: #branchFilterArray
15417 }), [
15418 ...#branchFilter
15419 ]])
15420
15421 #variable: matchN(>=1, [close({
15422 name?: #nonEmptyString
15423 value?: #string
15424 readonly?: #boolean
15425 }), close(
15426 {group?: #nonEmptyString},
15427 ), close({
15428 template?: #nonEmptyString
15429 parameters?: #mapping
15430 })])
15431
15432 #variableRestrictions: matchN(>=1, [=~"^none$", [...#nonEmptyString]])
15433
15434 #variables: matchN(>=1, [{...}, [...#variable]])
15435
15436 #variablesTemplate: close({
15437 parameters?: #templateParameters
15438 variables?: #variables
15439 })
15440
15441 #webhookFilter: close({
15442 path!: #nonEmptyString
15443 value!: #nonEmptyString
15444 })
15445
15446 #webhookFilters: [...#webhookFilter]
15447
15448 #webhookResource: close({
15449 webhook!: #referenceName
15450 connection!: #nonEmptyString
15451 type?: #nonEmptyString
15452 filters?: #webhookFilters
15453 })
15454
15455 #webhookResources: [...#webhookResource]
15456}