Merge "Trigger test unit execution on verify + Published for jenkins"
authorMorgan Richomme <morgan.richomme@orange.com>
Fri, 28 Oct 2016 07:23:05 +0000 (07:23 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 28 Oct 2016 07:23:05 +0000 (07:23 +0000)
jjb/functest/functest-project-jobs.yml

index a984545..373ed89 100644 (file)
                   - compare-type: ANT
                     pattern: 'docs/**|.gitignore'
 
+    builders:
+        - functest-unit-tests-and-docs-build
+
+    publishers:
+        - junit:
+            results: nosetests.xml
+        - cobertura:
+            report-file: "coverage.xml"
+            only-stable: "true"
+            health-auto-update: "true"
+            stability-auto-update: "true"
+            zoom-coverage-chart: "true"
+            targets:
+                - files:
+                    healthy: 10
+                    unhealthy: 20
+                    failing: 30
+                - method:
+                    healthy: 50
+                    unhealthy: 40
+                    failing: 30
+
+################################
+# job builders
+################################
+
+- builder:
+    name: functest-unit-tests-and-docs-build
     builders:
         - shell: |
-            echo "Nothing to verify!"
+            $WORKSPACE/run_unit_tests.sh