Skip to content

Commit

Permalink
Run the GPG sign job after the SBOM sign (#1175)
Browse files Browse the repository at this point in the history
* Run the GPG sign job after the SBOM sign

* Edit stage label
  • Loading branch information
Haroon-Khel authored Jan 6, 2025
1 parent 72d61d5 commit 7ea3ed1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ class Build {

// Kick off the sign_temurin_jsf job to sign the SBOM
private void jsfSignSBOM() {
context.stage('SBOM Sign') {
context.stage('SBOM JSF Sign') {

context.println "Running build_sign_sbom_libraries to build the SBOM libraries"
def buildSBOMLibrariesJob = context.build job: 'build_sign_sbom_libraries',
Expand Down Expand Up @@ -2484,8 +2484,9 @@ def buildScriptsAssemble(
if (!env.JOB_NAME.contains('pr-tester') && context.JENKINS_URL.contains('adopt')) {
try {
context.println "openjdk_build_pipeline: Running GPG signing process"
gpgSign()
jsfSignSBOM()
gpgSign()

} catch (Exception e) {
context.println(e.message)
currentBuild.result = 'FAILURE'
Expand Down

0 comments on commit 7ea3ed1

Please sign in to comment.