aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-01-30 18:29:33 +0100
committerselias <samelias@cisco.com>2017-01-30 18:29:33 +0100
commitffe30437f37176e745e8272a91ddd52587f8bcda (patch)
tree85151fd36ae1a5e4556f0f50d1949be0b2783e1d
parentbfa305de45a6c9ef9a20b08b013699c2832a71ae (diff)
HC Test: Fix jvpp workaround for 17.04
- original commit at https://gerrit.fd.io/r/4683 Change-Id: I0b2d77f66830fbbc2d27e9015ec67ea9cd9a9885 Signed-off-by: selias <samelias@cisco.com>
-rw-r--r--resources/libraries/python/honeycomb/HoneycombSetup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/honeycomb/HoneycombSetup.py b/resources/libraries/python/honeycomb/HoneycombSetup.py
index 89e62079cd..239ac10191 100644
--- a/resources/libraries/python/honeycomb/HoneycombSetup.py
+++ b/resources/libraries/python/honeycomb/HoneycombSetup.py
@@ -365,8 +365,8 @@ class HoneycombSetup(object):
directory = "{0}/lib/io/fd/vpp/{1}/{2}".format(
Const.REMOTE_HC_DIR, artifact_id, version)
cmd = "sudo mkdir -p {0}; " \
- "sudo cp /usr/share/java/{0} {1}/{2}-{3}.jar".format(
- item, directory, artifact_id, version)
+ "sudo cp /usr/share/java/{1} {0}/{2}-{3}.jar".format(
+ directory, item, artifact_id, version)
(ret_code, _, stderr) = ssh.exec_command(cmd)
if ret_code != 0: