[CVP,master] Fix cvp-perf job for xrally 0.11.2
Change-Id: Ief4d8c6acd79414930f952a8734169b877a61ca1
Related-PROD: PROD-30540
(cherry picked from commit 365eba687279f3da091007f73b6bbc0b788b50c3)
diff --git a/src/com/mirantis/mcp/Validate.groovy b/src/com/mirantis/mcp/Validate.groovy
index 1947c76..4d74114 100644
--- a/src/com/mirantis/mcp/Validate.groovy
+++ b/src/com/mirantis/mcp/Validate.groovy
@@ -794,9 +794,9 @@
def salt = new com.mirantis.mk.Salt()
def xml_file = "${output_filename}.xml"
def html_file = "${output_filename}.html"
- salt.cmdRun(master, target, "docker exec ${container_name} rally task start ${scenarios_path}")
- salt.cmdRun(master, target, "docker exec ${container_name} rally task report --out ${html_file}")
- salt.cmdRun(master, target, "docker exec ${container_name} rally task report --junit --out ${xml_file}")
+ salt.cmdRun(master, target, "docker exec ${container_name} rally task start ${scenarios_path}", false)
+ salt.cmdRun(master, target, "docker exec ${container_name} rally task report --out /home/rally/${html_file}", false)
+ salt.cmdRun(master, target, "docker exec ${container_name} rally task report --junit --out /home/rally/${xml_file}", false)
salt.cmdRun(master, target, "docker cp ${container_name}:/home/rally/${xml_file} ${output_dir}")
salt.cmdRun(master, target, "docker cp ${container_name}:/home/rally/${html_file} ${output_dir}")
}