File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1847,8 +1847,10 @@ def postBuildWSclean(
18471847 if (cleanWorkspaceAfter) {
18481848 try {
18491849 context. println ' Cleaning workspace non-hidden files: ' + context. WORKSPACE + ' /*'
1850+ context. println ' Debug SF01: ' + context. WORKSPACE + ' /*'
18501851 context. sh(script : ' rm -rf ' + context. WORKSPACE + ' /*' )
18511852 } catch (e) {
1853+ context. println ' Debug SF01E: ' + context. WORKSPACE + ' /*'
18521854 context. println " Warning: Failed to clean workspace non-hidden files ${ e} "
18531855 }
18541856
@@ -2019,9 +2021,12 @@ def buildScriptsAssemble(
20192021 // Issue: https://issues.jenkins.io/browse/JENKINS-64779
20202022 if (context. WORKSPACE != null && ! context. WORKSPACE . isEmpty()) {
20212023 context. println ' Cleaning workspace non-hidden files: ' + context. WORKSPACE + ' /*'
2024+ context. println ' Debug SF02: ' + context. WORKSPACE + ' /*'
20222025 batOrSh(script : ' rm -rf ' + context. WORKSPACE + ' /*' )
20232026 } else {
20242027 context. println ' Warning: Unable to clean workspace as context.WORKSPACE is null/empty'
2028+ context. println ' Debug SF02E: ' + context. WORKSPACE + ' /*'
2029+
20252030 }
20262031
20272032 // Clean remaining hidden files using cleanWs
You can’t perform that action at this time.
0 commit comments