leverage tox to trigger verify job in reporting/TestAPI 35/37335/2
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 13 Jul 2017 06:31:36 +0000 (14:31 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 13 Jul 2017 07:59:39 +0000 (15:59 +0800)
Change-Id: Ie374bb151f351764e86d05d7c7b8e254c9d6cd59
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
jjb/releng/automate.yml

index 17b6fa7..e5eb2f7 100644 (file)
     builders:
         - shell: |
             cd ./utils/test/{module}/
-            bash run_test.sh
+            tox
             cp *.xml $WORKSPACE
 
     publishers:
-        - junit:
-            results: nosetests.xml
-        - cobertura:
-            report-file: "coverage.xml"
-            only-stable: "true"
-            health-auto-update: "false"
-            stability-auto-update: "false"
-            zoom-coverage-chart: "true"
-            targets:
-                - files:
-                    healthy: 10
-                    unhealthy: 20
-                    failing: 30
-                - method:
-                    healthy: 50
-                    unhealthy: 40
-                    failing: 30
+        - publish-coverage
 
 - job-template:
     name: '{module}-automate-{stream}'