2 echo "Cleaning up the workspace..."
4 # Leftover files from previous runs could be wrongly copied as results.
5 # Keep the cloned integration/test repository!
7 # FIXME: Make this compatible with multipatch and other possible build&run jobs.
9 if [ "$file_or_dir" != "test" ]; then
10 rm -vrf "$file_or_dir"