Skip to content

Commit

Permalink
Signing verifier job
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Nov 29, 2023
1 parent aa7379e commit aafe206
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pipelines/build/common/verify_signing.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -85,25 +85,24 @@ void unpackArchives(String unpack_dir, String[] archives) {
sh '''
#!/bin/bash
set -eu
pwd
FILES=$(find "${dir}" -type f -name '*.jmod')
for f in $FILES
do
expand_dir=$(basename ${f})
expand_dir="${dir}/expanded_${expand_dir}"
mkdir "${expand_dir}"
echo "Expanding JMOD ${f}"
"${jdk_bin}/jmod extract --dir ${expand_dir} ${f}"
${jdk_bin}/jmod extract --dir ${expand_dir} ${f}
done
FILES=$(find "${dir}" -type f -name 'modules')
for f in $FILES
do
expand_dir=$(basename ${f})
expand_dir="${dir}/${expand_dir}"
expand_dir="${dir}/expanded_${expand_dir}"
mkdir "${expand_dir}"
echo "Expanding compressed image file ${f}"
"${jdk_bin}/jimage extract --dir ${expand_dir} ${f}"
${jdk_bin}/jimage extract --dir ${expand_dir} ${f}
done
'''
}
Expand Down

0 comments on commit aafe206

Please sign in to comment.