summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-06-26 06:28:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-26 06:28:41 +0000
commit07139071a8d3e7d0207ccac05b24b84bf11f712a (patch)
treeb3f17b0c2b7b0ec1235dc8dac6193dd4543669f1
parent6df5a5f564dc77fe43fbccb84860d61c06fdf5b9 (diff)
parent3c8149d136cc244f641c0d1dd54d0ec1ffeaf0ce (diff)
Merge "Add support for tox in SFC project jobs"
-rw-r--r--jjb/sfc/sfc-project-jobs.yaml35
1 files changed, 32 insertions, 3 deletions
diff --git a/jjb/sfc/sfc-project-jobs.yaml b/jjb/sfc/sfc-project-jobs.yaml
index fea792467..70fc332b8 100644
--- a/jjb/sfc/sfc-project-jobs.yaml
+++ b/jjb/sfc/sfc-project-jobs.yaml
@@ -60,14 +60,43 @@
pattern: 'docs/**|.gitignore'
builders:
- - sfc-unit-tests
+ - sfc-unit-tests-and-docs
+
+ publishers:
+ - sfc-unit-tests-and-docs-publisher
################################
# job builders
################################
- builder:
- name: sfc-unit-tests
+ name: sfc-unit-tests-and-docs
builders:
- shell: |
- cd $WORKSPACE && yamllint $(git ls-tree -r HEAD --name-only | egrep 'yml$|yaml$' | egrep -v 'scenarios')
+ cd $WORKSPACE && tox
+
+################################
+# job publishers
+################################
+- publisher:
+ name: 'sfc-unit-tests-and-docs-publisher'
+ publishers:
+ - junit:
+ results: nosetests.xml
+ - cobertura:
+ report-file: "coverage.xml"
+ only-stable: "true"
+ fail-no-reports: "true"
+ health-auto-update: "true"
+ stability-auto-update: "true"
+ zoom-coverage-chart: "true"
+ targets:
+ - files:
+ healthy: 0
+ unhealthy: 0
+ failing: 0
+ - method:
+ healthy: 0
+ unhealthy: 0
+ failing: 0
+ - email-jenkins-admins-on-failure