From: Peter Gubka Date: Mon, 7 Dec 2015 09:00:26 +0000 (+0100) Subject: taking the latest version of the testtool X-Git-Tag: release/beryllium-sr1~267 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=f834876b50115b5c794d81b44e03df7530112a90;hp=76927f69b56604c1b81d007d8dc63dffd4a87a99;p=integration%2Ftest.git 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 --- 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}