Skip to content

Commit 24bce88

Browse files
committed
pull across eng/common changes
1 parent 3f86bf2 commit 24bce88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/common/pipelines/templates/jobs/generate-job-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
value: $[ coalesce(variables.jobMatrixFilter, '.*') ]
6767
pool:
6868
name: ${{ parameters.Pool }}
69-
vmImage: ${{ parameters.OsVmImage }}
69+
image: ${{ parameters.OsVmImage }}
7070
os: ${{ parameters.Os }}
7171
${{ if parameters.DependsOn }}:
7272
dependsOn: ${{ parameters.DependsOn }}

eng/common/scripts/Verify-AgentOS.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if ($IsWindows -and $AgentImage -match "windows|win|MMS\d{4}") {
1212
$osName = "Windows"
1313
} elseif ($IsLinux -and $AgentImage -match "ubuntu|linux") {
1414
$osName = "Linux"
15-
} elseif ($IsMacOs -and $AgentImage -match "macos") {
15+
} elseif ($IsMacOs -and $AgentImage -match "macos|macOS") {
1616
$osName = "macOS"
1717
} else {
1818
Throw-InvalidOperatingSystem

0 commit comments

Comments
 (0)