Skip to content

Commit

Permalink
Ensure post build clean occurs for non-mac&win platforms (#1174)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard authored Jan 6, 2025
1 parent 6688973 commit f334a05
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2064,10 +2064,7 @@ def buildScriptsAssemble(
}
throw new Exception("[ERROR] Build archive timeout (${buildTimeouts.BUILD_ARCHIVE_TIMEOUT} HOURS) has been reached. Exiting...")
}
// With the exclusion above this is no longer strictly required
if ( !enableSigner ) { // Don't clean if we need the workspace for the later assemble phase
postBuildWSclean(cleanWorkspaceAfter, cleanWorkspaceBuildOutputAfter)
}
postBuildWSclean(cleanWorkspaceAfter, cleanWorkspaceBuildOutputAfter)
// Set Github Commit Status
if (env.JOB_NAME.contains('pr-tester')) {
updateGithubCommitStatus('SUCCESS', 'Build PASSED')
Expand Down

0 comments on commit f334a05

Please sign in to comment.