xos-integration test pipeline to use 'testdir' parameter due to folder structure change
Change-Id: I54a2cb1c7c9ec9d82915f505b209393187f40586
diff --git a/jjb/pipeline/xos-integration-tests.groovy b/jjb/pipeline/xos-integration-tests.groovy
index 3e495f0..a677e74 100644
--- a/jjb/pipeline/xos-integration-tests.groovy
+++ b/jjb/pipeline/xos-integration-tests.groovy
@@ -127,7 +127,7 @@
CORD_KAFKA_IP=\$(kubectl exec cord-kafka-0 -- ip a | grep -oE "([0-9]{1,3}\\.){3}[0-9]{1,3}\\b" | grep 172)
pushd cord/test/cord-tester/src/test/cord-api/
source setup_venv.sh
- cd Tests/XosScaleValidations
+ cd Tests/${params.TestDir}
${params.TestCommand} || true
popd
@@ -142,7 +142,7 @@
# copy robot logs
if [ -d RobotLogs ]; then rm -r RobotLogs; fi; mkdir RobotLogs
- cp -r $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/XosScaleValidations/Log/*ml ./RobotLogs
+ cp -r $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/${params.TestDir}/Log/*ml ./RobotLogs
echo "# removing helm deployments"
kubectl get pods
helm list