Fixing log collection in test pipeline
Change-Id: Idbed75619e63d1ccc046b878067ba9e002fc1ca4
diff --git a/Jenkinsfile-voltha-test b/Jenkinsfile-voltha-test
index fe57529..5ba7755 100644
--- a/Jenkinsfile-voltha-test
+++ b/Jenkinsfile-voltha-test
@@ -61,11 +61,7 @@
## get default pod logs
for pod in \$(kubectl get pods --no-headers | awk '{print \$1}');
do
- if [[ \$pod == *"onos"* && \$pod != *"onos-service"* ]]; then
- kubectl logs \$pod onos> $WORKSPACE/\$pod.log;
- else
- kubectl logs \$pod> $WORKSPACE/\$pod.log;
- fi
+ kubectl logs \$pod> $WORKSPACE/\$pod.log;
done
## get voltha pod logs
for pod in \$(kubectl get pods --no-headers -n voltha | awk '{print \$1}');