Skip to content

Commit 7f6143e

Browse files
authored
Update ubuntu image to 24.04 (#1342)
* Update ubuntu image to 24.04 * Use windows for integration job * Set pwsh:true for all Powershell@2 tasks
1 parent edb2119 commit 7f6143e

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

eng/pipelines/templates/jobs/integration.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
- job: PublishToDev
1111
displayName: Publish packages to dev feeds
1212
condition: and(succeeded(), ne(variables['Skip.PublishPackage'], 'true'))
13+
pool:
14+
# On linux, we'd need mono to run nuget, so just use windows
15+
name: $(WINDOWSPOOL)
16+
image: $(WINDOWSVMIMAGE)
17+
os: windows
1318
steps:
1419
- checkout: self
1520

@@ -44,6 +49,7 @@ jobs:
4449
- task: PowerShell@2
4550
displayName: 'Attach usage instructions to build summary'
4651
inputs:
52+
pwsh: true
4753
targetType: 'filePath'
4854
filePath: 'eng/scripts/Get-PackageUsageText.ps1'
4955
arguments: >

eng/pipelines/templates/jobs/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
- task: PowerShell@2
9191
displayName: Increment version
9292
inputs:
93+
pwsh: true
9394
targetType: filePath
9495
filePath: $(Build.SourcesDirectory)/eng/scripts/Update-Version.ps1
9596
arguments: >

eng/pipelines/templates/variables/image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variables:
99
value: Azure Pipelines
1010

1111
- name: LINUXVMIMAGE
12-
value: ubuntu-22.04
12+
value: ubuntu-24.04
1313
- name: WINDOWSVMIMAGE
1414
value: windows-2022
1515
- name: MACVMIMAGE

0 commit comments

Comments
 (0)