Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extends:
- checkout: self
fetchTags: false
- task: JavaToolInstaller@0
displayName: Use Java 17
displayName: Use Java 21
inputs:
versionSpec: "17"
versionSpec: "21"
jdkArchitectureOption: x64
jdkSourceOption: PreInstalled
- task: NodeTool@0
Expand Down
12 changes: 6 additions & 6 deletions .azure-pipelines/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ extends:
versionSpec: 20.x
# The image does not have jdk preinstalled, we need to download it first.
- task: PowerShell@2
displayName: Download JDK 17
displayName: Download JDK 21
inputs:
targetType: 'inline'
script: |-
New-Item -ItemType Directory -Path "$env:AGENT_TEMPDIRECTORY\downloadjdk"
Invoke-WebRequest -Uri "https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.zip" -OutFile "$env:AGENT_TEMPDIRECTORY\downloadjdk\microsoft-jdk-17-windows-x64.zip"
Invoke-WebRequest -Uri "https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.zip" -OutFile "$env:AGENT_TEMPDIRECTORY\downloadjdk\microsoft-jdk-21-windows-x64.zip"
- task: JavaToolInstaller@0
displayName: Use Java 17
displayName: Use Java 21
inputs:
versionSpec: "17"
versionSpec: "21"
jdkArchitectureOption: x64
jdkSourceOption: LocalDirectory
jdkFile: $(Agent.TempDirectory)/downloadjdk/microsoft-jdk-17-windows-x64.zip
jdkDestinationDirectory: $(Agent.ToolsDirectory)/ms-jdk17
jdkFile: $(Agent.TempDirectory)/downloadjdk/microsoft-jdk-21-windows-x64.zip
jdkDestinationDirectory: $(Agent.ToolsDirectory)/ms-jdk21
- script: java --version
displayName: 'Check Java installation'
- task: Npm@1
Expand Down
12 changes: 6 additions & 6 deletions .azure-pipelines/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ extends:
versionSpec: 20.x
# The image does not have jdk preinstalled, we need to download it first.
- task: PowerShell@2
displayName: Download JDK 17
displayName: Download JDK 21
inputs:
targetType: 'inline'
script: |-
New-Item -ItemType Directory -Path "$env:AGENT_TEMPDIRECTORY\downloadjdk"
Invoke-WebRequest -Uri "https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.zip" -OutFile "$env:AGENT_TEMPDIRECTORY\downloadjdk\microsoft-jdk-17-windows-x64.zip"
Invoke-WebRequest -Uri "https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.zip" -OutFile "$env:AGENT_TEMPDIRECTORY\downloadjdk\microsoft-jdk-21-windows-x64.zip"
- task: JavaToolInstaller@0
displayName: Use Java 17
displayName: Use Java 21
inputs:
versionSpec: "17"
versionSpec: "21"
jdkArchitectureOption: x64
jdkSourceOption: LocalDirectory
jdkFile: $(Agent.TempDirectory)/downloadjdk/microsoft-jdk-17-windows-x64.zip
jdkDestinationDirectory: $(Agent.ToolsDirectory)/ms-jdk17
jdkFile: $(Agent.TempDirectory)/downloadjdk/microsoft-jdk-21-windows-x64.zip
jdkDestinationDirectory: $(Agent.ToolsDirectory)/ms-jdk21
- script: java --version
displayName: 'Check Java installation'
- task: Npm@1
Expand Down
Loading