Skip to content

Commit

Permalink
Reinstate windows release definition for jdk11u
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Oct 11, 2024
1 parent f4e056b commit fe4efb5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ def buildScriptsAssemble(
// SXAEC: Still TBC on this to determine if something fails without it
// Ref https://github.com/adoptium/infrastructure/issues/3723
// Fails to unstash even in non-docker case without the chmod e.g. windbld#840
context.bat('chmod -R a+rwX ' + '/cygdrive/c/workspace/openjdk-build/workspace/build/src/build/windows-x86_64-server-release')
context.bat('chmod -R a+rwX ' + '/cygdrive/c/workspace/openjdk-build/workspace/build/src/build/*')
}
// Restore signed JMODs
context.unstash 'signed_jmods'
Expand Down Expand Up @@ -1904,11 +1904,9 @@ def buildScriptsAssemble(
if (openjdk_build_dir_arg == "") {
// If not using a custom openjdk build dir, then query what autoconf created as the build sub-folder
if ( context.isUnix() ) {
context.println "Setting base path via sh"
base_path = context.sh(script: "ls -d ${build_path}/* | tr -d '\\n'", returnStdout:true)
base_path = context.sh(script: "ls -d ${build_path}/*", returnStdout:true)
} else {
context.println "Setting fixed base_path for now on Windows"
base_path = "workspace/build/src/build/windows-x86_64-server-release"
base_path = context.bat(script: "@ls -d ${build_path}/*", returnStdout:true).trim()
}
}
context.println "base build path for jmod signing = ${base_path}"
Expand Down

0 comments on commit fe4efb5

Please sign in to comment.