[Qa-jenkins-scm] [jenkins.debian.net] 07/07: reproducible debian: tell the diffoscope job to look for the junit export file

Holger Levsen holger at layer-acht.org
Thu May 18 00:06:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 1ea7379b4f32b9c32ba798a1ddd65ed55553250e
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed May 17 10:56:26 2017 +0200

    reproducible debian: tell the diffoscope job to look for the junit export file
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/reproducible.yaml | 56 +++++++++++++++++++++++++++++++++--------------
 1 file changed, 40 insertions(+), 16 deletions(-)

diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index 722a1b0..dcb7937 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -111,6 +111,28 @@
 
 - defaults:
     <<: *DEFAULTS
+    name: reproducible_other_projects_git_junit_exports
+    triggers:
+      - timed: '{my_timed}'
+      - pollscm:
+          cron: '*/6 * * * *'
+    publishers:
+      - logparser:
+          <<: *logparser
+          parse-rules: '{my_parse_rules}'
+      - email: *email
+      - naginator: *naginator
+      - junit:
+          results: 'job-exports/test-results/*.xml'
+          allow-empty-results: 'true'
+    scm:
+      - git:
+          url: '{my_gitrepo}'
+          branches:
+            - '{my_gitbranches}'
+
+- defaults:
+    <<: *DEFAULTS
     name: reproducible_other_projects_trigger
     publishers:
       - logparser: *logparser-extra
@@ -156,6 +178,10 @@
     name: '{name}_{otherproject_git}'
 
 - job-template:
+    defaults: reproducible_other_projects_git_junit_exports
+    name: '{name}_{otherproject_git_junit_exports}'
+
+- job-template:
     defaults: reproducible_other_projects_trigger
     name: '{name}_{otherproject_triggering}'
 
@@ -507,22 +533,6 @@
                     my_hname: 'profitbricks7'
                     my_gitrepo: 'https://gitlab.com/eighthave/fdroidserver-for-jenkins.debian.net.git'
                     my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm at lists.alioth.debian.org hans at guardianproject.info michael.poehn at fsfe.org'
-                - 'diffoscope_from_git_master':
-                    my_description: 'Build diffoscope Debian package from git branch master.'
-                    my_timed: '42 23 1 1 *'
-                    my_hname: ''
-                    my_gitrepo: 'git://anonscm.debian.org/git/reproducible/diffoscope.git'
-                    my_gitbranches: 'origin/master'
-                    my_shell: '/srv/jenkins/bin/chroot-run.sh sid debuild -uc -us'
-                    my_parse_rules: '/srv/jenkins/logparse/debian-pkg-ci.rules'
-                - 'diffoscope_from_git_branches':
-                    my_description: 'Build diffoscope Debian package from git branches other than master.'
-                    my_timed: '42 23 1 1 *'
-                    my_hname: ''
-                    my_gitrepo: 'git://anonscm.debian.org/git/reproducible/diffoscope.git'
-                    my_gitbranches: ':^(?!origin/master$).*'
-                    my_shell: '/srv/jenkins/bin/chroot-run.sh sid debuild -uc -us'
-                    my_parse_rules: '/srv/jenkins/logparse/debian-pkg-ci.rules'
                 - 'reprotest_from_git_master':
                     my_description: 'Build reprotest Debian package from git branch master.'
                     my_timed: '42 23 1 1 *'
@@ -560,6 +570,20 @@
             my_parse_rules: '/srv/jenkins/logparse/reproducible-extra.rules'
             my_hname: ''
 
+        - '{name}_{otherproject_git_junit_exports}':
+            otherproject_git_junit_exports:
+             - 'diffoscope_from_git_master':
+                my_description: 'Build diffoscope Debian package from git branch master.'
+                my_gitbranches: 'origin/master'
+             - 'diffoscope_from_git_branches':
+                my_description: 'Build diffoscope Debian package from git branches other than master.'
+                my_gitbranches: ':^(?!origin/master$).*'
+            my_timed: '42 23 1 1 *'
+            my_gitrepo: 'git://anonscm.debian.org/git/reproducible/diffoscope.git'
+            my_hname: ''
+            my_shell: '/srv/jenkins/bin/chroot-run.sh sid debuild -uc -us'
+            my_parse_rules: '/srv/jenkins/logparse/debian-pkg-ci.rules'
+            my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm at lists.alioth.debian.org'
         - '{name}_builder_{otherproject}_{my_num}':
             otherproject:
                 - 'archlinux':

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list