[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Move debsums tests to packages-test

Mattia Rizzolo mattia at debian.org
Wed Jan 3 14:21:22 UTC 2018


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 88d797ea3ecf988d7c55628dc0904d93869d2faf
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Jan 3 15:19:02 2018 +0100

    Move debsums tests to packages-test
    
    let's de-duplicate things.
    
    Byproducts changes:
    
     * smoke-me/** branches are now tested
     * polling levels are lowered to every half hour (we rely more on push
       triggers instead)
     * the person breaking the build is individually notified
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 job-cfg/debsums-tests.yaml  | 90 ---------------------------------------------
 job-cfg/packages-tests.yaml | 13 +++++++
 2 files changed, 13 insertions(+), 90 deletions(-)

diff --git a/job-cfg/debsums-tests.yaml b/job-cfg/debsums-tests.yaml
deleted file mode 100644
index 4d60202..0000000
--- a/job-cfg/debsums-tests.yaml
+++ /dev/null
@@ -1,90 +0,0 @@
-- defaults:
-    name: debsums-tests
-    project-type: freestyle
-    properties:
-      - sidebar:
-          url: https://jenkins.debian.net/userContent/about.html
-          text: About jenkins.debian.net
-          icon: /userContent/images/debian-swirl-24x24.png
-      - sidebar:
-          url: https://jenkins.debian.net/view/qa.debian.org/
-          text: Jobs for Debian QA related packages
-          icon: /userContent/images/debian-jenkins-24x24.png
-      - sidebar:
-          url: http://www.profitbricks.co.uk
-          text: Sponsored by Profitbricks
-          icon: /userContent/images/profitbricks-24x24.png
-    description: '{my_description}<br><br>Job  configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/debsums-tests.yaml">debsums-tests.yaml</a>.'
-    logrotate:
-      daysToKeep: 90
-      numToKeep: 30
-      artifactDaysToKeep: -1
-      artifactNumToKeep: -1
-    scm:
-      - git:
-          url: 'git://anonscm.debian.org/pkg-perl/packages/debsums.git'
-          branches:
-            - master
-    builders:
-      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
-
-- job-template:
-    defaults: debsums-tests
-    name: '{name}_stretch'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org pkg-perl-maintainers at lists.alioth.debian.org'
-      - naginator:
-          progressive-delay-increment: 5
-          progressive-delay-maximum: 15
-          max-failed-builds: 5
-          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
-
-- job-template:
-    defaults: debsums-tests
-    name: '{name}_buster'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org pkg-perl-maintainers at lists.alioth.debian.org'
-      - trigger:
-          project: '{my_trigger}'
-      - naginator:
-          progressive-delay-increment: 5
-          progressive-delay-maximum: 15
-          max-failed-builds: 5
-          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
-
-- job-template:
-    defaults: debsums-tests
-    name: '{name}_sid'
-    triggers:
-      - pollscm:
-          cron: '*/6 * * * *'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org pkg-perl-maintainers at lists.alioth.debian.org'
-      - trigger:
-          project: '{my_trigger}'
-      - naginator:
-          progressive-delay-increment: 5
-          progressive-delay-maximum: 15
-          max-failed-builds: 5
-          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
-
-- project:
-    name: debsums-tests
-    jobs:
-        - '{name}_sid':
-            my_distro: 'sid'
-            my_shell: 'timeout 5m prove -v'
-            my_description: 'Debian/Debsums testsuite running on sid.'
-            my_trigger: 'debsums-tests_buster'
-        - '{name}_buster':
-            my_distro: 'buster'
-            my_shell: 'timeout 5m prove -v'
-            my_description: 'Debian/Debsums testsuite running on buster.'
-            my_trigger: 'debsums-tests_stretch'
-        - '{name}_stretch':
-            my_distro: 'stretch'
-            my_shell: 'timeout 5m prove -v'
-            my_description: 'Debian/Debsums testsuite running on stretch.'
diff --git a/job-cfg/packages-tests.yaml b/job-cfg/packages-tests.yaml
index 9e4483a..f4ebfd1 100644
--- a/job-cfg/packages-tests.yaml
+++ b/job-cfg/packages-tests.yaml
@@ -147,3 +147,16 @@
       - stretch: {}
     jobs:
       - simple
+
+- project:
+    name: debsums-tests
+    my_git_url: 'git://anonscm.debian.org/pkg-perl/packages/debsums.git'
+    my_recipients: 'jenkins+debian-qa pkg-perl-maintainers at lists.alioth.debian.org'
+    my_shell: 'timeout 5m prove -v'
+    my_description: 'Debian/Debsums testsuite'
+    my_distro:
+      - sid: *distro_defaults_sid
+      - buster: *distro_defaults_buster
+      - stretch: {}
+    jobs:
+      - simple

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