Skip to content

Commit

Permalink
Prevent jdk11+ from running external sign.sh as already signed during…
Browse files Browse the repository at this point in the history
… build

Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Dec 5, 2024
1 parent 6dfeb14 commit 7c44470
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -748,11 +748,12 @@ class Build {
/*
Run the Sign downstream job. We run this job on windows and jdk8 hotspot & jdk13 mac builds.
The job code signs and notarizes the binaries so they can run on these operating systems without encountering issues.
tarball signing only required for jdk8u, as jdk11+ is signed dynamically during the build.
*/
def sign(VersionInfo versionInfo) {
// Sign and archive jobs if needed
if (
buildConfig.TARGET_OS == 'windows' || (buildConfig.TARGET_OS == 'mac')
(buildConfig.TARGET_OS == 'windows' || (buildConfig.TARGET_OS == 'mac') && buildConfig.JAVA_TO_BUILD == 'jdk8u')
) {
context.stage('sign zip/tgz') {
def filter = ''
Expand Down

0 comments on commit 7c44470

Please sign in to comment.