fixing jenkinsfile-rcord script bugs
Change-Id: I466f029e9f3249fbf0a1851aacc4602a73299542
diff --git a/Jenkinsfile-rcordlite b/Jenkinsfile-rcordlite
index 483098d..9708015 100644
--- a/Jenkinsfile-rcordlite
+++ b/Jenkinsfile-rcordlite
@@ -99,8 +99,8 @@
try {
sh """
cd /home/cord/cord-tester/src/test/cord-api/Properties/
- sed -i s/^XOS_USER\\ =\\ .*$/XOS_USER\\ =\\ \\'admin@opencord.org'/ RestApiProperties.py
- sed -i s/^XOS_PASSWD\\ =\\ .*$/XOS_PASSWD\\ =\\ \\'letmein'/ RestApiProperties.py
+ sed -i \"s/^\\(XOS_USER = \\).*/\\1\'admin@opencord.org\'/\" RestApiProperties.py
+ sed -i \"s/^\\(XOS_PASSWD = \\).*/\\1\'letmein\'/\" RestApiProperties.py
cd /home/cord/cord-tester/src/test/cord-api/Tests
rm -r Log/ || true
pybot -d Log -T VOLTDevice_Test.txt || all_passed=false