summaryrefslogtreecommitdiffstats
path: root/jjb/sfc
diff options
context:
space:
mode:
authorDimitrios Markou <mardim@intracom-telecom.com>2018-06-18 15:59:42 +0300
committerDimitrios Markou <mardim@intracom-telecom.com>2018-06-18 16:02:04 +0300
commit3c8149d136cc244f641c0d1dd54d0ec1ffeaf0ce (patch)
tree27fa4b5c7210c655b567b297c465b5176af1bd55 /jjb/sfc
parente6817b9d64bd972c791727e40687a313ce3321c9 (diff)
Add support for tox in SFC project jobs
Depends-On: https://gerrit.opnfv.org/gerrit/#/c/58649/ Change-Id: I4b39c6fd8e70fe40c68e5b2d7043ee522583290b Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
Diffstat (limited to 'jjb/sfc')
-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