Revert cmds
Change-Id: I9155919ec5f7524c46d3beeff22896d84d65ee0f
diff --git a/jjb/pipeline/voltha/master/bbsim-tests.groovy b/jjb/pipeline/voltha/master/bbsim-tests.groovy
index 3e6aeb9..1dd57f5 100644
--- a/jjb/pipeline/voltha/master/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/master/bbsim-tests.groovy
@@ -424,16 +424,12 @@
cd "${logsDir}"
echo "** Available logs:"
- /bin/ls -l "\$logsDir"
+ /bin/ls -l "$logsDir"
echo
- declare -i count=0
- count=\$(find . -name '*-combined.log' -print | wc -l)
- if [[ $count -gt 0 ]]; then
- echo '** Bundle combined log'
- gzip "${logs[@]}"
- rm -f "${logs[@]}"
- fi
+ echo '** Bundle combined log'
+ gzip *-combined.log || true
+ rm -f *-combined.log || true
echo -e '** Gather robot Framework logs: LEAVE\n'
""")