Rename robot logs to avoid being overwritten
Change-Id: Idad8473a1deafda4846485c7aa5893c5aebeafae
diff --git a/Jenkinsfile-rcordlite-topdown b/Jenkinsfile-rcordlite-topdown
index e2d106e..f921363 100644
--- a/Jenkinsfile-rcordlite-topdown
+++ b/Jenkinsfile-rcordlite-topdown
@@ -229,7 +229,7 @@
export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
cd $WORKSPACE/cord-tester/src/test/robot/
rm -rf Log/ || true
- pybot -d Log -T SanityK8POD.robot || true
+ pybot -d Log -T -l log-SanityK8POD SanityK8POD.robot || true
"""
}
}
@@ -244,10 +244,10 @@
sed -i \"s/^\\(XOS_PASSWD = \\).*/\\1\'letmein\'/\" RestApiProperties.py
cd $WORKSPACE/cord-tester/src/test/cord-api/Tests/
rm -rf Log/ || true
- pybot -d Log -T FabricConfig.txt || true
- pybot -d Log -T RealOLT_Test.txt || true
+ pybot -d Log -T -l log-FabricConfig FabricConfig.txt || true
+ pybot -d Log -T -l log-RealOLT_Test RealOLT_Test.txt || true
sleep 120
- pybot -d Log -T Subscriber_TopDown.txt || true
+ pybot -d Log -T -l log-Subscriber_TopDown Subscriber_TopDown.txt || true
"""
}
}
@@ -256,7 +256,7 @@
sh """
export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
cd $WORKSPACE/cord-tester/src/test/cord-api/Tests/
- pybot -d Log -T -v src_ip:${deployment_config.srcHost.ip} -v src_user:${deployment_config.srcHost.user} -v src_pass:${deployment_config.srcHost.pass} -v src_host_ip:${deployment_config.srcHost.hostIp} -v src_iface:${deployment_config.srcHost.iface} -v dst_user:${deployment_config.dstHost.user} -v dst_pass:${deployment_config.dstHost.pass} -v dst_ip:${deployment_config.dstHost.ip} -v dst_host_ip:${deployment_config.dstHost.hostIp} -v dst_iface:${deployment_config.dstHost.iface} -v src_gateway:${deployment_config.srcHost.gateway} -v dst_gateway:${deployment_config.dstHost.gateway} -v init_state:disabled -v INITIAL_STATUS:FAIL -v ENABLE_STATUS:PASS -e zerotouch Subscriber_StatusChecks.txt || true
+ pybot -d Log -T -l log-Subscriber_StatusChecks -v src_ip:${deployment_config.srcHost.ip} -v src_user:${deployment_config.srcHost.user} -v src_pass:${deployment_config.srcHost.pass} -v src_host_ip:${deployment_config.srcHost.hostIp} -v src_iface:${deployment_config.srcHost.iface} -v dst_user:${deployment_config.dstHost.user} -v dst_pass:${deployment_config.dstHost.pass} -v dst_ip:${deployment_config.dstHost.ip} -v dst_host_ip:${deployment_config.dstHost.hostIp} -v dst_iface:${deployment_config.dstHost.iface} -v src_gateway:${deployment_config.srcHost.gateway} -v dst_gateway:${deployment_config.dstHost.gateway} -v init_state:disabled -v INITIAL_STATUS:FAIL -v ENABLE_STATUS:PASS -e zerotouch Subscriber_StatusChecks.txt || true
"""
}
}