ci: don't fail when nothing to delete
Change-Id: Ided795c3b60f053dfaff89be6e944cf2cce5faba
This commit is contained in:
parent
0d58172c38
commit
f52f5931da
@ -23,7 +23,7 @@ pipeline {
|
||||
sh "chmod -R 777 ."
|
||||
// Bash requires extglob option to support !(.git) syntax,
|
||||
// and we don't want to delete .git to have faster clones.
|
||||
sh 'bash -O extglob -c "rm -r !(.git)"'
|
||||
sh 'bash -O extglob -c "rm -rf !(.git)"'
|
||||
|
||||
checkout scm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user