Skip to content

Commit d2f5d9d

Browse files
authored
add windows 2019 to check for retired images (#5191)
1 parent 7118cd2 commit d2f5d9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/FindPipelinesUsingRetiredImages/QueryJobHistoryForRetiredImages.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $vstsAuthHeader = @{"Authorization"="Basic $base64authinfo"}
1717
$allHeaders = $vstsAuthHeader + @{"Content-Type"="application/json"; "Accept"="application/json"}
1818

1919
# List of deprecated images
20-
[string[]] $deprecatedImages = 'macOS-10.15', 'macOS 10.15', 'MacOS 1015', 'MacOS-1015', 'Ubuntu18', 'ubuntu-18.04', 'Ubuntu20', 'ubuntu-20.04', 'ubuntu 20.04', 'VS2017', 'vs2017 win2016', 'vs2017-win2016', 'windows-2016-vs2017'
20+
[string[]] $deprecatedImages = 'macOS-10.15', 'macOS 10.15', 'MacOS 1015', 'MacOS-1015', 'Ubuntu18', 'ubuntu-18.04', 'Ubuntu20', 'ubuntu-20.04', 'ubuntu 20.04', 'VS2017', 'vs2017 win2016', 'vs2017-win2016', 'windows-2016-vs2017', 'windows-2019'
2121

2222
try
2323
{
@@ -101,4 +101,4 @@ try
101101
}
102102
catch {
103103
throw "Failed to query jobs: $_"
104-
}
104+
}

0 commit comments

Comments
 (0)