File tree Expand file tree Collapse file tree
.azure-pipelines/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ variables:
44 windows_pool : ' pool-windows-2019'
55 ubuntu_arm64_pool : ' pool-ubuntu-latest-arm64'
66 macos_pool : ' macOS-14'
7- MAX_PARALLEL : 2
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ trigger:
1414variables :
1515- template : ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml
1616
17+ parameters :
18+ - name : maxParallel
19+ displayName : Max Parallel Count
20+ type : number
21+ default : 5
1722# schedules:
1823# - cron: "0 18 * * 5"
1924# displayName: Weekly Friday test
@@ -34,7 +39,7 @@ stages:
3439 timeoutInMinutes : 600
3540 strategy :
3641 # If the maxParallel is too large, the resource group will reach the limit of 980, so it is recommended that the maxParallel should not exceed 30.
37- parallel : ${{ variables.MAX_PARALLEL }}
42+ maxParallel : ${{ parameters.maxParallel }}
3843 matrix :
3944 acr :
4045 Target : acr
@@ -610,7 +615,7 @@ stages:
610615 timeoutInMinutes : 600
611616 strategy :
612617 # If the maxParallel is too large, the resource group will reach the limit of 980, so it is recommended that the maxParallel should not exceed 30.
613- parallel : ${{ variables.MAX_PARALLEL }}
618+ maxParallel : ${{ parameters.maxParallel }}
614619 matrix :
615620 acr :
616621 Target : acr
@@ -1186,7 +1191,7 @@ stages:
11861191 timeoutInMinutes : 600
11871192 strategy :
11881193 # If the maxParallel is too large, the resource group will reach the limit of 980, so it is recommended that the maxParallel should not exceed 30.
1189- parallel : ${{ variables.MAX_PARALLEL }}
1194+ maxParallel : ${{ parameters.maxParallel }}
11901195 matrix :
11911196 acr :
11921197 Target : acr
You can’t perform that action at this time.
0 commit comments