[Qa-jenkins-scm] [jenkins.debian.net] 01/02: packages-tests: go back to the shorter way of specifying junit jobs (also this file was actually not compilable with newer j-j-b)

Holger Levsen holger at layer-acht.org
Mon May 29 21:53:11 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 e4dc3f91a05a537dbd7336044452aa1adeb0bc63
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon May 29 23:19:59 2017 +0200

    packages-tests: go back to the shorter way of specifying junit jobs (also this file was actually not compilable with newer j-j-b)
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/packages-tests.yaml | 54 ++++++++++-----------------------------------
 1 file changed, 12 insertions(+), 42 deletions(-)

diff --git a/job-cfg/packages-tests.yaml b/job-cfg/packages-tests.yaml
index 1e235b4..255f763 100644
--- a/job-cfg/packages-tests.yaml
+++ b/job-cfg/packages-tests.yaml
@@ -69,10 +69,10 @@
     id: simple
     name: '{name}_{my_distro}'
 
-#- job-template:
-#    defaults: packages-tests-junit-exports
-#    id: junit
-#    name: '{name}_{my_distro}'
+- job-template:
+    defaults: packages-tests-junit-exports
+    id: junit
+    name: '{name}_{my_distro}'
 
 - project:
     name: lintian-tests
@@ -82,7 +82,7 @@
     my_description: 'Debian/Lintian testsuite'
     my_distro: *distros_defaults
     jobs:
-      - '{name}_{my_distro}'
+      - simple
 
 - project:
     name: debhelper-tests
@@ -96,13 +96,13 @@
       - jessie:
           my_disabled: true
     jobs:
-      - '{name}_{my_distro}'
+      - simple
 
 - project:
     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: 'timeout 1h dpkg-buildpackage -us -uc -tc'
+    my_shell: '--exports-results timeout 1h dpkg-buildpackage -us -uc -tc'
     my_description: 'DAK testsuite'
     my_distro:
     # DAK tests cannot be run in sid/stretch atm, but still create the jobs
@@ -110,39 +110,9 @@
           my_disabled: true
       - stretch:
           my_disabled: true
-#      - jessie:
-#          my_origin_triggers:
-#            - pollscm:
-#               cron: '* H/2 * * *'
+      - jessie:
+          my_origin_triggers:
+            - pollscm:
+               cron: '* H/2 * * *'
     jobs:
-      - '{name}_{my_distro}'
-
-# FIXME go back to delete the explicit dak-tests_jessie and uncomment above once
-# jenkins-job-builder 1.5.0 is available to our jenkins.  Also see commits
-# 0dc3de19105634060ee99fa60051f860e509dccc 5a7b8562671bec94e2c81a98fff66db2932100fb
-
-- job:
-    name: dak-tests_jessie
-    properties: *properties
-    logrotate: *logrotate
-    description: 'DAK testsuite running on jessie.<br><br>Job  configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/packages-tests.yaml">packages-tests.yaml</a>.'
-    scm:
-      - git:
-          url: 'https://ftp-master.debian.org/git/dak.git'
-          branches:
-            - master
-            - 'origin/smoke-me/**'
-    triggers:
-      - pollscm:
-          cron: '* H/2 * * *'
-    builders:
-      - shell: '/srv/jenkins/bin/chroot-run.sh jessie --exports-results timeout 1h dpkg-buildpackage -us -uc -tc'
-    publishers:
-      - email:
-          recipients: 'qa-jenkins-scm at lists.alioth.debian.org jenkins+debian-ftp debian-dak at lists.debian.org'
-          send-to-individuals: true
-      - trigger:
-          project: None
-      - naginator: *naginator
-      - junit:
-          results: 'job-exports/test-results/*.xml'
+      - junit

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