Clean up artifacts directory before test
Change-Id: I8c09de8069d3a9d14af31a10dab6075dd4f0dea8
diff --git a/cvp-ha.groovy b/cvp-ha.groovy
index 4bb5018..5a091f1 100644
--- a/cvp-ha.groovy
+++ b/cvp-ha.groovy
@@ -39,6 +39,7 @@
saltMaster = salt.connection(SALT_MASTER_URL, SALT_MASTER_CREDENTIALS)
validate.runBasicContainer(saltMaster, TEMPEST_TARGET_NODE, TEST_IMAGE)
sh "rm -rf ${artifacts_dir}"
+ salt.cmdRun(saltMaster, TEMPEST_TARGET_NODE, "rm -rf ${remote_artifacts_dir}")
salt.cmdRun(saltMaster, TEMPEST_TARGET_NODE, "mkdir -p ${remote_artifacts_dir}")
validate.configureContainer(saltMaster, TEMPEST_TARGET_NODE, PROXY, TOOLS_REPO, TEMPEST_REPO)
}