summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-01-29 15:58:12 +0800
committermei mei <meimei@huawei.com>2016-01-29 08:01:28 +0000
commitb6e30957cfbe41a19f9c3594ebb31ecb5ed960a4 (patch)
treefe5b91e7c9dbf8823bab459ced02b87a7be5c221
parentf9ab51ed8dab386e41c5e9659f9249b4b7ca7922 (diff)
[compass] clean cache before deployment
Change-Id: I9a7a622037b2771cab6e66c6cf4da3966cab97e7 Signed-off-by: meimei <meimei@huawei.com>
-rw-r--r--jjb/compass4nfv/compass-deploy.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/compass4nfv/compass-deploy.sh b/jjb/compass4nfv/compass-deploy.sh
index be15f8817..697a1d573 100644
--- a/jjb/compass4nfv/compass-deploy.sh
+++ b/jjb/compass4nfv/compass-deploy.sh
@@ -6,6 +6,8 @@ echo "Starting the deployment on baremetal environment using $INSTALLER_TYPE. Th
echo "--------------------------------------------------------"
echo
+echo 1 > /proc/sys/vm/drop_caches
+
export CONFDIR=$WORKSPACE/deploy/conf
export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
if [[ "$NODE_NAME" =~ "-vm" ]]; then