From 1025ff6bf7f5374397a1423b0927175f563f020c Mon Sep 17 00:00:00 2001 From: sophia-guo Date: Thu, 6 Jul 2023 09:55:09 -0400 Subject: [PATCH] No need to sign build and gpgsign for pr-tester (#753) Signed-off-by: Sophia Guo --- pipelines/build/common/openjdk_build_pipeline.groovy | 10 ++++++---- pipelines/jobs/pipeline_job_template.groovy | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pipelines/build/common/openjdk_build_pipeline.groovy b/pipelines/build/common/openjdk_build_pipeline.groovy index 8d8c9e737..f495ac44f 100644 --- a/pipelines/build/common/openjdk_build_pipeline.groovy +++ b/pipelines/build/common/openjdk_build_pipeline.groovy @@ -1957,10 +1957,12 @@ class Build { throw new Exception("[ERROR] Installer job timeout (${buildTimeouts.INSTALLER_JOBS_TIMEOUT} HOURS) has been reached OR the downstream installer job failed. Exiting...") } } - try { - gpgSign() - } catch (Exception e) { - context.println(e.message) + if (!env.JOB_NAME.contains('pr-tester')) { + try { + gpgSign() + } catch (Exception e) { + context.println(e.message) + } } // Generic catch all. Will usually be the last message in the log. diff --git a/pipelines/jobs/pipeline_job_template.groovy b/pipelines/jobs/pipeline_job_template.groovy index 3b88db96d..783f74617 100644 --- a/pipelines/jobs/pipeline_job_template.groovy +++ b/pipelines/jobs/pipeline_job_template.groovy @@ -20,6 +20,8 @@ if (binding.hasVariable('PR_BUILDER')) { propagateFailures = true runTests = false runParallel = true + runSigner = false + runInstaller = false isLightweight = false }