From 40fb6c749bb75878c2677c51afd33f1d537c645d Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 18 Jun 2017 15:46:58 +0200 Subject: [PATCH] reproducible: diffoscope: test coverage Signed-off-by: Mattia Rizzolo --- job-cfg/reproducible.yaml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index 2aef7f7e..8e01d6a6 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -154,7 +154,7 @@ - defaults: <<: *DEFAULTS - name: reproducible_other_projects_git_junit_exports + name: reproducible_other_projects_git_tests_exports triggers: - timed: '{my_timed}' - pollscm: @@ -167,7 +167,18 @@ - naginator: *naginator - junit: results: 'job-exports/test-results/*.xml' - allow-empty-results: 'true' + - 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 scm: - git: url: '{my_gitrepo}' @@ -234,8 +245,8 @@ name: '{name}_{otherproject_git_blocked}' - job-template: - defaults: reproducible_other_projects_git_junit_exports - name: '{name}_{otherproject_git_junit_exports}' + defaults: reproducible_other_projects_git_tests_exports + name: '{name}_{otherproject_git_tests_exports}' - job-template: defaults: reproducible_other_projects_trigger @@ -738,8 +749,8 @@ my_hname: '' my_naginator_regex: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' - - '{name}_{otherproject_git_junit_exports}': - otherproject_git_junit_exports: + - '{name}_{otherproject_git_tests_exports}': + otherproject_git_tests_exports: - 'diffoscope_from_git_master': my_description: 'Build diffoscope Debian package from git branch master.' my_gitbranches: 'origin/master' -- GitLab