Skip to content

Commit 52c0b1e

Browse files
authored
Changed the image of windows image to newer for pipeline (#16046)
* Changed the image of windows image to newer
1 parent 7893ce0 commit 52c0b1e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
displayName: Build all tasks (Windows)
1818
condition: and(succeeded(), not(variables.task), eq(variables.os, 'Windows_NT'))
1919
pool:
20-
vmImage: vs2017-win2016
20+
vmImage: windows-2022
2121
timeoutInMinutes: 120
2222
steps:
2323
- template: ci/build-all-steps.yml
@@ -31,7 +31,7 @@ jobs:
3131
- build_all_windows
3232
condition: and(succeeded(), ne(variables['build.reason'], 'PullRequest'), eq(variables.os, 'Windows_NT'))
3333
pool:
34-
vmImage: vs2017-win2016
34+
vmImage: windows-2022
3535
steps:
3636
- template: ci/publish-steps.yml
3737

@@ -42,7 +42,7 @@ jobs:
4242
- publish_windows
4343
condition: and(succeeded(), in(variables['build.reason'], 'Schedule', 'Manual'), eq(variables['COURTESY_PUSH'], 'true'))
4444
pool:
45-
vmImage: vs2017-win2016
45+
vmImage: windows-2022
4646
steps:
4747
- powershell: |
4848
$week = (Invoke-WebRequest https://whatsprintis.it -Headers @{"Accept"= "application/json"} | ConvertFrom-Json).week
@@ -72,7 +72,7 @@ jobs:
7272
eq(variables['COURTESY_PUSH_NOTIFICATION'], 'true')
7373
)
7474
pool:
75-
vmImage: vs2017-win2016
75+
vmImage: windows-2022
7676
steps:
7777
- powershell: .\ci\courtesy-push\send-notification.ps1 -IsPRCreated $false
7878
displayName: 'Send notification to the MS Teams channel'
@@ -112,7 +112,7 @@ jobs:
112112
displayName: Build shared npm packages (Win)
113113
condition: and(succeeded(), not(variables.task), eq(variables.os, 'Windows_NT'))
114114
pool:
115-
vmImage: vs2017-win2016
115+
vmImage: windows-2022
116116
steps:
117117
- template: ci/build-common-npm.yml
118118

0 commit comments

Comments
 (0)