VOL-2662 Remove unnecessary and broken xmllint command
Change-Id: Ia5749c40984138ddafb6dd09c386c32ee05b6771
diff --git a/jjb/pipeline/voltha-bbsim-tests.groovy b/jjb/pipeline/voltha-bbsim-tests.groovy
index 588136e..b1a7413 100644
--- a/jjb/pipeline/voltha-bbsim-tests.groovy
+++ b/jjb/pipeline/voltha-bbsim-tests.groovy
@@ -64,8 +64,7 @@
steps {
sh """
pushd voltha
- PROJECT_PATH=\$(xmllint --xpath "string(//project[@name=\\\"${gerritProject}\\\"]/@path)" .repo/manifest.xml)
- repo download "\$PROJECT_PATH" "${gerritChangeNumber}/${gerritPatchsetNumber}"
+ repo download "${gerritProject}" "${gerritChangeNumber}/${gerritPatchsetNumber}"
popd
"""
}
diff --git a/jjb/pipeline/voltha-physical-build-and-tests.groovy b/jjb/pipeline/voltha-physical-build-and-tests.groovy
index 5fe2922..ffb45b6 100644
--- a/jjb/pipeline/voltha-physical-build-and-tests.groovy
+++ b/jjb/pipeline/voltha-physical-build-and-tests.groovy
@@ -95,8 +95,7 @@
steps {
sh returnStdout: false, script: """
cd voltha
- PROJECT_PATH=\$(xmllint --xpath "string(//project[@name=\\\"${gerritProject}\\\"]/@path)" .repo/manifest.xml)
- repo download "\$PROJECT_PATH" "${gerritChangeNumber}/${gerritPatchsetNumber}"
+ repo download "${gerritProject}" "${gerritChangeNumber}/${gerritPatchsetNumber}"
"""
}
}