Skip to content

Commit cfd6045

Browse files
committed
Add dbug
1 parent 50db48e commit cfd6045

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pipelines/build/common/openjdk_build_pipeline.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)