Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ci/taos/checker-pr-postbuild-async.sh
Original file line number Diff line number Diff line change
Expand Up @@ -336,5 +336,13 @@ fi
# Please append a command below.
echo -e "[DEBUG] The current directory: $(pwd)."

echo -e "[DEBUG] Remove the GBS-ROOT folder."
sudo rm -rf ./GBS-ROOT/
if [[ $? -eq 0 ]]; then
echo -e "[DEBUG] Successfully removed the GBS-ROOT folder."
else
echo -e "[WARN] Failed to remove the GBS-ROOT folder."
fi

# Return with exit code
exit $exit_code
8 changes: 4 additions & 4 deletions ci/taos/plugins-base/pr-postbuild-build-tizen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,12 @@ function pr-postbuild-build-tizen-run-queue(){
echo "Archiving .rpm files for $1 ..."
ls -al ./GBS-ROOT/local/repos/tizen/$1/RPMS/
sudo cp -arf ./GBS-ROOT/local/repos/tizen/$1/RPMS ../$PACK_BIN_FOLDER || echo -e "[DEBUG] Can't copy .rpm files."
echo "Removing ./GBS-ROOT/ folder..."
sudo rm -rf ./GBS-ROOT/
echo "Removing ./GBS-ROOT/local/BUILD-ROOTS/ folder..."
sudo rm -rf ./GBS-ROOT/local/BUILD-ROOTS/
if [[ $? -ne 0 ]]; then
echo "[DEBUG][FAILED] Tizen/gbs: Oooops!!!!! ./GBS-ROOT folder is not removed."
echo "[DEBUG][FAILED] Tizen/gbs: Oooops!!!!! ./GBS-ROOT/local/BUILD-ROOTS/ folder is not removed."
else
echo "[DEBUG][PASSED] Tizen/gbs: It is okay. ./GBS-ROOT folder is successfully removed."
echo "[DEBUG][PASSED] Tizen/gbs: It is okay. ./GBS-ROOT/local/BUILD-ROOTS/ folder is successfully removed."
fi
fi
echo "[DEBUG] The current directory: $(pwd)"
Expand Down