1
0
Fork 0

only deleting the folder if it exists

This commit is contained in:
Christian Kühnel 2020-01-23 18:12:31 +01:00
parent 562adb1b90
commit 180858cf41

View file

@ -48,7 +48,8 @@ pipeline {
echo "getting llvm-project... "
dir("llvm-project")
{
bat "rd /s/q build"
bat ""
bat 'if exist "build" rd /s/q "build"'
git url: 'https://github.com/llvm/llvm-project.git'
}
powershell "New-Item -ItemType Directory -Force -Path ${RESULT_DIR}"