jenkins fixups for agnos 11 (#33569)

* jenkins fixups for agnos 11

* just do this for now
This commit is contained in:
Adeeb Shihadeh 2024-09-16 18:05:20 -07:00 committed by GitHub
parent df5b45a285
commit 6b7996de91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
set -e
set -x
if [ -z "$SOURCE_DIR" ]; then
echo "SOURCE_DIR must be set"
@ -17,9 +18,11 @@ if [ -z "$TEST_DIR" ]; then
exit 1
fi
umount /data/safe_staging/merged/ || true
sudo umount /data/safe_staging/merged/ || true
rm -rf /data/safe_staging/* || true
rm -rf /data/safe_staging/ || true
if [ -d /data/safe_staging/ ]; then
sudo umount /data/safe_staging/merged/ || true
rm -rf /data/safe_staging/ || true
fi
CONTINUE_PATH="/data/continue.sh"
tee $CONTINUE_PATH << EOF