summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2017-08-08 17:24:21 +0800
committergrakiss <grakiss.wanglei@huawei.com>2017-08-09 09:23:03 +0800
commit8f9d19cac2218a11dc4029ab8136c1c5ecb2840f (patch)
tree30a8ebce528654d9a48dcec750de6ce756d6a40f
parent1c677a3571748100eff241dd167635331177dfb1 (diff)
remove useless workspace from yardstick
There is a img file in this workspace, which consumes lots of disk space when CI collects artifacts Change-Id: Idef0624832cf2b12de2a63fc85bb65f4986ce0ca Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
-rwxr-xr-xjjb/dovetail/dovetail-run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh
index f75cddefe..a078c8f59 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -170,5 +170,8 @@ sudo cp -r ${DOVETAIL_HOME}/results ./
# PRIMARY_GROUP=$(id -gn $CURRENT_USER)
# sudo chown -R ${CURRENT_USER}:${PRIMARY_GROUP} ${WORKSPACE}/results
+#remove useless workspace from yardstick to save disk space
+sudo rm -rf ./results/workspace
+
echo "Dovetail: done!"