Slight optimization on Jenkins workspace cleanup

This commit is contained in:
RichardG867
2021-11-14 21:23:28 -03:00
parent 0e52a261cc
commit 15b3507c81

View File

@@ -223,8 +223,8 @@ EOF
# Clean workspace.
echo [-] Cleaning workspace
try_make clean > /dev/null
find . \( -name Makefile -o -name CMakeCache.txt -o -name CMakeFiles \) -exec rm -rf "{}" \; 2> /dev/null
rm -rf build
find . \( -name Makefile -o -name CMakeCache.txt -o -name CMakeFiles \) -exec rm -rf "{}" \; 2> /dev/null
# Determine available dynarec types for this architecture, and
# also specify ARCH right away to skip the arch_detect process.