summaryrefslogtreecommitdiffstats
path: root/job-cfg/lintian-tests.yaml
blob: ceaac8fd11e7a354f64a2b7de11d0982d42ba42f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
- 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.com
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
    description: '{my_description}<br><br>Job configuration source is <a href="http://anonscm.debian.org/cgit/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
    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 holger@layer-acht.org lintian-maint@debian.org'

- job-template:
    defaults: lintian-tests
    name: '{name}_jessie'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa holger@layer-acht.org lintian-maint@debian.org'
      - trigger:
          project: '{my_trigger}'

- job-template:
    defaults: lintian-tests
    name: '{name}_sid'
    triggers:
      - pollscm: '*/6 * * * *'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa holger@layer-acht.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_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).'