Commit 50306b48 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

packages-tests: add defaults and job-templates for coverage report and junit+coverage



Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 155c95c0
...@@ -52,6 +52,7 @@ We would prefer to run a jenkins package from jessie-backports. ...@@ -52,6 +52,7 @@ We would prefer to run a jenkins package from jessie-backports.
* Build Authorization Token Root Plugin * Build Authorization Token Root Plugin
* Embeddable Build Status Plugin * Embeddable Build Status Plugin
* Plot Plugin * Plot Plugin
* Cobertura Plugin
* Sidebar Link * Sidebar Link
* Green Balls * Green Balls
......
...@@ -77,9 +77,41 @@ ...@@ -77,9 +77,41 @@
- email: *email - email: *email
- trigger: *trigger - trigger: *trigger
- naginator: *naginator - naginator: *naginator
- junit: - junit: &junit
results: 'job-exports/test-results/*.xml' results: 'job-exports/test-results/*.xml'
- defaults:
<<: *DEFAULTS
name: packages-tests-coverage-export
my_exports: '--exports-results '
publishers:
- email: *email
- trigger: *trigger
- naginator: *naginator
- cobertura: &cobertura
report-file: 'job-exports/test-coverage/*.xml'
source-encoding: 'utf8'
targets:
- files:
healthy: 10
unhealthy: 20
failing: 30
- method:
healthy: 50
unhealthy: 40
failing: 30
- defaults:
<<: *DEFAULTS
name: packages-tests-exports
my_exports: '--exports-results '
publishers:
- email: *email
- trigger: *trigger
- naginator: *naginator
- junit: *junit
- cobertura: *cobertura
- job-template: - job-template:
defaults: packages-tests defaults: packages-tests
id: simple id: simple
...@@ -90,6 +122,18 @@ ...@@ -90,6 +122,18 @@
id: junit id: junit
name: '{name}_{my_distro}' name: '{name}_{my_distro}'
- job-template:
defaults: packages-tests-coverage-export
id: cobertura
name: '{name}_{my_distro}'
- job-template:
defaults: packages-tests-exports
id: test-exports
name: '{name}_{my_distro}'
- project: - project:
name: lintian-tests name: lintian-tests
my_git_url: 'git://anonscm.debian.org/lintian/lintian.git' my_git_url: 'git://anonscm.debian.org/lintian/lintian.git'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment