Skip to content

Commit

Permalink
No need to sign build and gpgsign for pr-tester
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed Jul 5, 2023
1 parent 240f2f6 commit 2bf3dda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions pipelines/jobs/pipeline_job_template.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if (binding.hasVariable('PR_BUILDER')) {
propagateFailures = true
runTests = false
runParallel = true
runSigner = false
runInstaller = false
isLightweight = false
}

Expand Down

0 comments on commit 2bf3dda

Please sign in to comment.