[Qa-jenkins-scm] [jenkins.debian.net] 03/03: piuparts jobs: refactor

Holger Levsen holger at layer-acht.org
Wed Sep 6 14:47:52 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 3a0cb92e676b6af181fa89343b6cefea92c0625e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Sep 6 16:47:43 2017 +0200

    piuparts jobs: refactor
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/piuparts.yaml | 146 ++++++++++++++++----------------------------------
 1 file changed, 46 insertions(+), 100 deletions(-)

diff --git a/job-cfg/piuparts.yaml b/job-cfg/piuparts.yaml
index 97aae16..300dddd 100644
--- a/job-cfg/piuparts.yaml
+++ b/job-cfg/piuparts.yaml
@@ -1,5 +1,5 @@
 - defaults:
-    name: piuparts
+    name: piuparts-tests
     project-type: freestyle
     properties:
       - sidebar:
@@ -25,10 +25,6 @@
           url: 'git://anonscm.debian.org/piuparts/piuparts.git'
           branches:
             - develop
-
-- job-template:
-    defaults: piuparts
-    name: '{name}_testsuite_jessie'
     publishers:
       - email:
           recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel at lists.alioth.debian.org'
@@ -42,128 +38,78 @@
     builders:
       - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
 
-- job-template:
-    defaults: piuparts
-    name: '{name}_testsuite_stretch'
+- defaults:
+    name: piuparts-builds
+    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/piuparts.yaml">piuparts.yaml</a>.'
+    logrotate:
+      daysToKeep: 90
+      numToKeep: 20
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+    scm:
+      - git:
+          url: 'git://anonscm.debian.org/piuparts/piuparts.git'
+          branches:
+            - develop
     publishers:
       - email:
           recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel at lists.alioth.debian.org'
-      - trigger:
-          project: '{my_trigger}'
+      - archive:
+          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
+          latest-only: true
       - naginator:
           progressive-delay-increment: 5
           progressive-delay-maximum: 15
           max-failed-builds: 5
           regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
     builders:
-      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
+      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
+
+- job-template:
+    defaults: piuparts-tests
+    name: '{name}_testsuite_jessie'
+
+- job-template:
+    defaults: piuparts-tests
+    name: '{name}_testsuite_stretch'
 
 - job-template:
-    defaults: piuparts
+    defaults: piuparts-tests
     name: '{name}_testsuite_buster'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel 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'
-    builders:
-      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
 
 - job-template:
-    defaults: piuparts
+    defaults: piuparts-tests
     name: '{name}_testsuite_sid'
-    triggers:
-      - pollscm:
-          cron: '*/6 * * * *'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel 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'
-    builders:
-      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
 
 - job-template:
-    defaults: piuparts
+    defaults: piuparts-builds
     name: '{name}_build_jessie'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel at lists.alioth.debian.org'
-      - archive:
-          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
-          latest-only: true
-      - naginator:
-          progressive-delay-increment: 5
-          progressive-delay-maximum: 15
-          max-failed-builds: 5
-          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
-    builders:
-      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
 
 - job-template:
-    defaults: piuparts
+    defaults: piuparts-builds
     name: '{name}_build_stretch'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel at lists.alioth.debian.org'
-      - archive:
-          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
-          latest-only: true
-      - naginator:
-          progressive-delay-increment: 5
-          progressive-delay-maximum: 15
-          max-failed-builds: 5
-          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
-    builders:
-      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
 
 - job-template:
-    defaults: piuparts
+    defaults: piuparts-builds
     name: '{name}_build_buster'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel at lists.alioth.debian.org'
-      - trigger:
-          project: '{my_trigger}'
-      - archive:
-          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
-          latest-only: true
-      - naginator:
-          progressive-delay-increment: 5
-          progressive-delay-maximum: 15
-          max-failed-builds: 5
-          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
-    builders:
-      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
 
 - job-template:
-    defaults: piuparts
+    defaults: piuparts-builds
     name: '{name}_build_sid'
-    publishers:
-      - email:
-          recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel at lists.alioth.debian.org'
-      - trigger:
-          project: '{my_trigger}'
-      - archive:
-          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
-          latest-only: true
-      - naginator:
-          progressive-delay-increment: 5
-          progressive-delay-maximum: 15
-          max-failed-builds: 5
-          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
-    builders:
-      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
 
 - project:
     name: piuparts

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