From b8617cb43a3a98a49faff994d174aac39864560e Mon Sep 17 00:00:00 2001 From: Haroon Khel Date: Mon, 16 Dec 2024 12:43:17 +0000 Subject: [PATCH] Move SBOM library job into try block --- pipelines/build/common/sign_temurin_jsf.groovy | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pipelines/build/common/sign_temurin_jsf.groovy b/pipelines/build/common/sign_temurin_jsf.groovy index dc87309a6..d059b88f2 100644 --- a/pipelines/build/common/sign_temurin_jsf.groovy +++ b/pipelines/build/common/sign_temurin_jsf.groovy @@ -24,17 +24,17 @@ limitations under the License. import org.jenkinsci.plugins.workflow.steps.FlowInterruptedException -def NODE_LABEL = 'jsfsign' - stage('Signing SBOM') { - // Build SBOM Libraries - println "Kicking off build_sign_sbom_libraries to build SBOM libraries" - def buildSBOMLibrariesJob = context.build job: 'build_sign_sbom_libraries', - propagate: true - node(NODE_LABEL) { + node('jsfsign') { try { + + // Build SBOM Libraries + println "Kicking off build_sign_sbom_libraries to build SBOM libraries" + def buildSBOMLibrariesJob = context.build job: 'build_sign_sbom_libraries', + propagate: true + // Clean workspace println "Cleaning workspace" cleanWs notFailBuild: true, disableDeferredWipeout: true, deleteDirs: true