devops: build bots should do clean builds

This commit is contained in:
Andrey Lushnikov 2019-11-22 19:07:39 -08:00
parent 9158010eab
commit 1a98a4d5e8
3 changed files with 24 additions and 0 deletions

View file

@ -58,6 +58,8 @@ fi
echo "-- preparing checkout"
./prepare_checkout.sh $BROWSER_NAME
echo "-- cleaning"
./$BROWSER_NAME/clean.sh
echo "-- building"
./$BROWSER_NAME/build.sh
echo "-- archiving to $ZIP_PATH"

View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
set +x
trap "cd $(pwd -P)" EXIT
cd "$(dirname $0)"
cd "checkout"
OBJ_FOLDER=$(ls -1 | grep obj-)
if [[ -d $OBJ_FOLDER ]]; then
rm -rf $OBJ_FOLDER
fi

View file

@ -0,0 +1,9 @@
#!/bin/bash
set -e
set +x
trap "cd $(pwd -P)" EXIT
cd "$(dirname $0)"
cd "checkout"
rm -rf WebKitBuild