Skip to content

Commit 47e0624

Browse files
committed
Set JAVA on Path in Azure pipelines
1 parent 05889a7 commit 47e0624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
inputs:
122122
versionSpec: 10.x
123123
- ${{ if and(eq(parameters.installJdk, 'true'), eq(parameters.agentOs, 'Windows')) }}:
124-
- powershell: ./eng/scripts/InstallJdk.ps1 '11.0.1'
124+
- powershell: ./eng/scripts/InstallJdk.ps1 '11.0.1';Write-Host "##vso[task.prependpath]$env:JAVA_HOME"
125125
displayName: Install JDK 11
126126
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), eq(parameters.agentOs, 'Windows'), eq(parameters.codeSign, 'true')) }}:
127127
- task: MicroBuildSigningPlugin@1

0 commit comments

Comments
 (0)