[Qa-jenkins-scm] [jenkins.debian.net] 02/02: packages-tests: move the responsability of setting --export-results out of the project and into the right template

Mattia Rizzolo mattia at debian.org
Wed Dec 27 14:19:44 UTC 2017


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

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

commit f72eb147ae9c684a3d16e4b45fba332225614aca
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Jul 19 04:25:07 2017 +0200

    packages-tests: move the responsability of setting --export-results out of the project and into the right template
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 job-cfg/packages-tests.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/job-cfg/packages-tests.yaml b/job-cfg/packages-tests.yaml
index 944366a..3bac191 100644
--- a/job-cfg/packages-tests.yaml
+++ b/job-cfg/packages-tests.yaml
@@ -3,6 +3,7 @@
     my_disabled:
     disabled: '{obj:my_disabled}'
     my_trigger:
+    my_exports: ''
     project-type: freestyle
     properties: &properties
       - sidebar:
@@ -32,7 +33,7 @@
     my_origin_triggers:
     triggers: '{obj:my_origin_triggers}'
     builders:
-      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
+      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_exports} {my_shell}'
     publishers:
       - email: &email
           recipients: 'qa-jenkins-scm at lists.alioth.debian.org {my_recipients}'
@@ -59,6 +60,7 @@
 - defaults:
     <<: *DEFAULTS
     name: packages-tests-junit-exports
+    my_exports: '--exports-results'
     publishers:
       - email: *email
       - trigger: *trigger
@@ -105,7 +107,7 @@
     name: dak-tests
     my_git_url: 'https://ftp-master.debian.org/git/dak.git'
     my_recipients: 'jenkins+debian-ftp debian-dak at lists.debian.org'
-    my_shell: '--exports-results timeout 1h dpkg-buildpackage -us -uc -tc'
+    my_shell: 'timeout 1h dpkg-buildpackage -us -uc -tc'
     my_description: 'DAK testsuite'
     my_distro:
     # DAK tests cannot be run in sid/buster atm, but still create the jobs

-- 
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