Skip to content

Commit

Permalink
Allow passing custom linuxAmd64Pool as object and not just string (do…
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussell committed Jul 7, 2023
1 parent 98fc78a commit eca722a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parameters:
windowsAmdBuildJobTimeout: 60
windowsAmdTestJobTimeout: 60
linuxAmdBuildJobTimeout: 60
linuxAmd64Pool: ""
linuxAmd64Pool: null
buildMatrixType: platformDependencyGraph
testMatrixType: platformVersionedOs

Expand Down Expand Up @@ -62,7 +62,7 @@ stages:
- group: DotNet-AllOrgs-Darc-Pats

linuxAmd64Pool:
${{ if ne(parameters.linuxAmd64Pool, '') }}:
${{ if parameters.linuxAmd64Pool }}:
${{ parameters.linuxAmd64Pool }}
${{ elseif eq(variables['System.TeamProject'], parameters.publicProjectName) }}:
vmImage: $(defaultLinuxAmd64PoolImage)
Expand Down

0 comments on commit eca722a

Please sign in to comment.