Skip to content

Commit 06af6c8

Browse files
committed
Clean up workspace
1 parent 44f54fb commit 06af6c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ currentBuild.result = "SUCCESS"
2525

2626
try {
2727
node {
28+
// Clean workspace before checkout to avoid git ref issues
29+
deleteDir()
2830
stage 'Checkout'
2931
checkout scm
3032
checkoutDir = pwd()

0 commit comments

Comments
 (0)