testapi: bugfix of not exist xml 73/37473/1
authorMatthewLi <lijun_1203@126.com>
Fri, 14 Jul 2017 06:44:04 +0000 (02:44 -0400)
committerMatthewLi <lijun_1203@126.com>
Fri, 14 Jul 2017 06:44:40 +0000 (02:44 -0400)
Change-Id: I43bc486e2fc12bea5f7664cc1e5acc5630e5f739
Signed-off-by: MatthewLi <lijun_1203@126.com>
jjb/releng/automate.yml

index db67264..4f6044b 100644 (file)
@@ -84,7 +84,9 @@
         - shell: |
             cd ./utils/test/{module}/
             tox
-            cp *.xml $WORKSPACE
+            if [ -e *.xml ];then
+                cp *.xml $WORKSPACE
+            fi
 
     publishers:
         - publish-coverage