summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-10-08 11:14:13 +0000
committerHolger Levsen <holger@layer-acht.org>2016-10-08 15:20:54 +0200
commit469f367ced811a2a7d7a042010a168a9b0d14f02 (patch)
tree3cbff3c5ca671255f4a0125b2d9436487b3b846b /job-cfg
parent5540bebe04a24593a1901ac66e98b801cae4215b (diff)
downloadjenkins.debian.net-469f367ced811a2a7d7a042010a168a9b0d14f02.tar.xz
generalize lintian-tests into packages-tests, so other packages can easily be added
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'job-cfg')
-rw-r--r--job-cfg/lintian-tests.yaml91
-rw-r--r--job-cfg/packages-tests.yaml76
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 b25ab32b..00000000
--- 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@lists.alioth.debian.org lintian-maint@debian.org'
-
-- job-template:
- defaults: lintian-tests
- name: '{name}_stretch'
- publishers:
- - email:
- recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org lintian-maint@debian.org'
- - trigger:
- project: '{my_trigger}'
-
-- job-template:
- defaults: lintian-tests
- name: '{name}_jessie'
- publishers:
- - email:
- recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org lintian-maint@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@lists.alioth.debian.org lintian-maint@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 00000000..05a2f2dd
--- /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@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@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'
+