Skip to content

Commit

Permalink
Move SBOM library job into try block
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Khel committed Dec 16, 2024
1 parent 359b72e commit b8617cb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pipelines/build/common/sign_temurin_jsf.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8617cb

Please sign in to comment.