From f834876b50115b5c794d81b44e03df7530112a90 Mon Sep 17 00:00:00 2001 From: Peter Gubka Date: Mon, 7 Dec 2015 10:00:26 +0100 Subject: [PATCH] taking the latest version of the testtool new version 1.1.0 appeared and this library has problen to download test device, because maven-metadata.xml now contains more tags Change-Id: Ie6ce17e9b30e92ac4cb2ad42db4dc392ed510b36 Signed-off-by: Peter Gubka --- csit/libraries/NetconfKeywords.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csit/libraries/NetconfKeywords.robot b/csit/libraries/NetconfKeywords.robot index 43af31194c..4a5286ff4f 100644 --- a/csit/libraries/NetconfKeywords.robot +++ b/csit/libraries/NetconfKeywords.robot @@ -133,7 +133,7 @@ Install_And_Start_Testtool # Install test tool on the machine. # TODO: The "urlbase" line is very similar to what pcep suites do. Reduce this code duplication. ${urlbase}= BuiltIn.Set_Variable ${NEXUSURL_PREFIX}/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool - ${version}= SSHLibrary.Execute_Command curl ${urlbase}/maven-metadata.xml | grep '' | cut -d '>' -f 2 | cut -d '<' -f 1 + ${version}= SSHLibrary.Execute_Command curl ${urlbase}/maven-metadata.xml | grep '' | cut -d '>' -f 2 | cut -d '<' -f 1 BuiltIn.Log ${version} ${namepart}= SSHLibrary.Execute_Command curl ${urlbase}/${version}/maven-metadata.xml | grep value | head -n 1 | cut -d '>' -f 2 | cut -d '<' -f 1 BuiltIn.Log ${namepart} -- 2.36.6