Skip to content

Commit acb9a05

Browse files
committed
[I/Y-Build] Add missing binary folder suffix of JDK installs on macOS
This is similar to downloadTemurinJDK() method in utilities.groovy. Fixes the failure of the Mac Y-build tests - #3516
1 parent 981f6b6 commit acb9a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JenkinsJobs/AutomatedTests/integrationTests.jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def getJDKInstallationPath(Map<String, Object> test) {
172172
switch(test.jdk.type) {
173173
case 'tool': return tool(type:'jdk', name: test.jdk.name)
174174
case 'local': return test.jdk.path
175-
case 'install': return utilities.installDownloadableTool('jdk', test.jdk.url)
175+
case 'install': return utilities.installDownloadableTool('jdk', test.jdk.url) + (test.os == 'macosx' ? '/Contents/Home' : '')
176176
case 'temurin': return utilities.downloadTemurinJDK(test.javaVersion, test.os, test.arch, test.jdk.ea ? 'ea' : 'ga')
177177
}
178178
}

0 commit comments

Comments
 (0)