Skip to content

Commit

Permalink
fix rm -Rf on Powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRivers committed Sep 21, 2021
1 parent 620c460 commit a8ef2c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ pipeline {
label 'Windows'
}
steps {
powershell 'rm -r -f _ ship'
powershell 'if (Test-Path -Path ship) { rm -r ship }'
powershell 'if (Test-Path -Path _) { rm -r _ }'
unstash 'ride-win'
unstash 'ride-version'
bat './CI/packagescripts/windows/packageWindows.bat'
stash name: 'win-ship', includes: 'ship/*'
powershell 'rm -r -f _ ship'
powershell 'rm -r ship'
powershell 'rm -r _'
}
}
}
Expand Down

0 comments on commit a8ef2c9

Please sign in to comment.