Skip to content

Commit

Permalink
Revert "Reinstate stashing of **/*"
Browse files Browse the repository at this point in the history
This reverts commit 7d30ffb.
  • Loading branch information
sxa committed Oct 30, 2024
1 parent f48c1b6 commit eb0d60b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1668,8 +1668,7 @@ def buildScriptsAssemble(
}
context.stage('assemble') {
// This would ideally not be required but it's due to lack of UID mapping in windows containers
// if ( buildConfig.TARGET_OS == 'windows' && buildConfig.DOCKER_IMAGE) { // Restriction doesn't work with limited stashing for signing
if ( buildConfig.TARGET_OS == 'windows' ) {
if ( buildConfig.TARGET_OS == 'windows' && buildConfig.DOCKER_IMAGE) {
context.bat('chmod -R a+rwX ' + '/cygdrive/c/workspace/openjdk-build/workspace/build/src/build/*')
}
// Restore signed JMODs
Expand Down Expand Up @@ -1890,9 +1889,15 @@ def buildScriptsAssemble(
}
context.println "base build path for jmod signing = ${base_path}"
context.stash name: 'jmods',
includes: "${base_path}/hotspot/variant-server/**/*," +
"${base_path}/support/modules_cmds/**/*," +
"${base_path}/support/modules_libs/**/*," +
includes: "${base_path}/hotspot/variant-server/**/*.exe," +
"${base_path}/hotspot/variant-server/**/*.dll," +
"${base_path}/hotspot/variant-server/**/*.dylib," +
"${base_path}/support/modules_cmds/**/*.exe," +
"${base_path}/support/modules_cmds/**/*.dll," +
"${base_path}/support/modules_cmds/**/*.dylib," +
"${base_path}/support/modules_libs/**/*.exe," +
"${base_path}/support/modules_libs/**/*.dll," +
"${base_path}/support/modules_libs/**/*.dylib," +
// JDK 16 + jpackage needs to be signed as well stash the resources folder containing the executables
"${base_path}/jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/*"

Expand Down

0 comments on commit eb0d60b

Please sign in to comment.