From eb0d60bfda2315db391939dd786bf371e9d427fb Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Wed, 30 Oct 2024 13:07:27 +0000 Subject: [PATCH] Revert "Reinstate stashing of **/*" This reverts commit 7d30ffb688169288bf4b02ca629aec3a8a1a61f9. --- .../build/common/openjdk_build_pipeline.groovy | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pipelines/build/common/openjdk_build_pipeline.groovy b/pipelines/build/common/openjdk_build_pipeline.groovy index 4b569143a..455113460 100644 --- a/pipelines/build/common/openjdk_build_pipeline.groovy +++ b/pipelines/build/common/openjdk_build_pipeline.groovy @@ -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 @@ -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/*"