Skip to content

Commit f609720

Browse files
committed
check if file ecists
1 parent a4fd7b7 commit f609720

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.jenkins/Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,10 @@ pipeline {
162162
spack uninstall -a -y plssvm@develop || true
163163
spack clean -a || true
164164
165-
cd ${WORKSPACE}/plssvm
166-
rm -rf *
165+
if [ -d ${WORKSPACE}/plssvm ]; then
166+
cd ${WORKSPACE}/plssvm
167+
rm -rf *
168+
fi
167169
'''
168170

169171

0 commit comments

Comments
 (0)