summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-12-21 09:30:53 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-02-01 16:36:51 (GMT)
commit23562cbaebd8ccbae0205f802b5cc6679d36dd46 (patch)
tree82acd3c1bee3cfcb9822da512745580f1372b24a
parentd050b07784cafbfc9a21e5a1bea730438c2ec542 (diff)
downloadmajor-23562cbaebd8ccbae0205f802b5cc6679d36dd46.zip
major-23562cbaebd8ccbae0205f802b5cc6679d36dd46.tar.gz
major-23562cbaebd8ccbae0205f802b5cc6679d36dd46.tar.bz2
Cleanup img_test_remote workspace after failrefs/changes/54/108754/3
Change-Id: I17b175172467b7a0416165cd8b3c7ff7f5ec85e3 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
-rwxr-xr-xtsp/jobs/common_prep_flash_conf.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tsp/jobs/common_prep_flash_conf.sh b/tsp/jobs/common_prep_flash_conf.sh
index fabec78..8a62e95 100755
--- a/tsp/jobs/common_prep_flash_conf.sh
+++ b/tsp/jobs/common_prep_flash_conf.sh
@@ -76,6 +76,7 @@ retrigger() {
tspwb -L PUBLISH sh "${TSP_DIR}/jobs/publish.sh" "$BUILD_NR" "$TARGET"
exit 1
fi
+ ssh tl-runner "rm -rf \"${WORKDIR_REMOTE}\"; mkdir -p \"${WORKDIR_REMOTE}\"" || retrigger "ssh: remote ws cleanup failed"
tsrun_target "${TARGET#headless-}" -L "RETRIGGERED_$(echo "$TARGET" | tr '[:lower:]' '[:upper:]')_PREPARE_FLASH_CONF" \
sh "${TSP_DIR}/jobs/common_prep_flash_conf.sh" "$BUILD_NR" "${TARGET}" "$((FAIL_CNT + 1))"
# Update status in database