[Qa-jenkins-scm] [jenkins.debian.net] 01/04: generalize lintian-tests into packages-tests, so other packages can easily be added

Holger Levsen holger at layer-acht.org
Sat Oct 8 13:21:47 UTC 2016


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 469f367ced811a2a7d7a042010a168a9b0d14f02
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Oct 8 11:14:13 2016 +0000

    generalize lintian-tests into packages-tests, so other packages can easily be added
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/lintian-tests.yaml  | 91 ---------------------------------------------
 job-cfg/packages-tests.yaml | 76 +++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 91 deletions(-)

diff --git a/job-cfg/lintian-tests.yaml b/job-cfg/lintian-tests.yaml
deleted file mode 100644
index b25ab32..0000000
--- a/job-cfg/lintian-tests.yaml
+++ /dev/null
@@ -1,91 +0,0 @@
-- defaults:
-    name: lintian-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/lintian-tests.yaml">lintian-tests.yaml</a>.'
-    logrotate:
-      daysToKeep: 90
-      numToKeep: 30
-      artifactDaysToKeep: -1
-      artifactNumToKeep: -1
-    scm:
-      - git:
-          url: 'git://anonscm.debian.org/lintian/lintian.git'
-          branches:
-            - master
-            - 'origin/smoke-me/**'
-    builders:
-      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
-
-- job-template:
-    defaults: lintian-tests
-    name: '{name}_wheezy'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org lintian-maint at debian.org'
-
-- job-template:
-    defaults: lintian-tests
-    name: '{name}_stretch'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org lintian-maint at debian.org'
-      - trigger:
-          project: '{my_trigger}'
-
-- job-template:
-    defaults: lintian-tests
-    name: '{name}_jessie'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org lintian-maint at debian.org'
-      - trigger:
-          project: '{my_trigger}'
-
-- job-template:
-    defaults: lintian-tests
-    name: '{name}_sid'
-    triggers:
-      - pollscm:
-          cron: '*/6 * * * *'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org lintian-maint at debian.org'
-      - trigger:
-          project: '{my_trigger}'
-
-- project:
-    name: lintian-tests
-    jobs:
-        - '{name}_sid':
-            my_distro: 'sid'
-            my_shell: 'timeout 6h debian/rules runtests'
-            my_description: 'Debian/Lintian testsuite running on sid.'
-            my_trigger: 'lintian-tests_stretch'
-        - '{name}_stretch':
-            my_distro: 'stretch'
-            my_shell: 'timeout 6h debian/rules runtests'
-            my_description: 'Debian/Lintian testsuite running on stretch.'
-            my_trigger: 'lintian-tests_jessie'
-        - '{name}_jessie':
-            my_distro: 'jessie'
-            my_shell: 'timeout 6h debian/rules runtests'
-            my_description: 'Debian/Lintian testsuite running on jessie.'
-            my_trigger: 'lintian-tests_wheezy'
-        - '{name}_wheezy':
-            my_distro: 'wheezy backports'
-            my_shell: 'timeout 6h debian/rules runtests'
-            my_description: 'Debian/Lintian testsuite running on wheezy (+backports).'
-
diff --git a/job-cfg/packages-tests.yaml b/job-cfg/packages-tests.yaml
new file mode 100644
index 0000000..05a2f2d
--- /dev/null
+++ b/job-cfg/packages-tests.yaml
@@ -0,0 +1,76 @@
+- defaults:
+    name: packages-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} running on {my_distro}.<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>.'
+    logrotate:
+      daysToKeep: 90
+      numToKeep: 30
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+    scm:
+      - git:
+          url: '{my_git_url}'
+          branches:
+            - master
+            - 'origin/smoke-me/**'
+    builders:
+      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
+    publishers:
+      - email:
+          recipients: 'qa-jenkins-scm at lists.alioth.debian.org {my_recipients}'
+      - trigger:
+          project: '{my_trigger}'
+
+
+- job-template:
+    defaults: packages-tests
+    name: '{name}_wheezy'
+
+- job-template:
+    defaults: packages-tests
+    name: '{name}_stretch'
+
+- job-template:
+    defaults: packages-tests
+    name: '{name}_jessie'
+
+- job-template:
+    defaults: packages-tests
+    name: '{name}_sid'
+    triggers:
+      - pollscm:
+          cron: '*/6 * * * *'
+
+- project:
+    name: lintian-tests
+    my_git_url: 'git://anonscm.debian.org/lintian/lintian.git'
+    my_recipients: 'jenkins+debian-qa lintian-maint at debian.org'
+    my_shell: 'timeout 6h debian/rules runtests'
+    my_description: 'Debian/Lintian testsuite'
+    my_trigger:
+    jobs:
+        - '{name}_sid':
+            my_distro: 'sid'
+            my_trigger: '{name}_stretch'
+        - '{name}_stretch':
+            my_distro: 'stretch'
+            my_trigger: '{name}_jessie'
+        - '{name}_jessie':
+            my_distro: 'jessie'
+            my_trigger: '{name}_wheezy'
+        - '{name}_wheezy':
+            my_distro: 'wheezy backports'
+

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