summaryrefslogtreecommitdiffstats
path: root/job-cfg/debsums-tests.yaml
blob: 05c63aec700e1f5b78825c456999d630ac6aec04 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
- 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}_jessie'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org pkg-perl-maintainers@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}_stretch'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org pkg-perl-maintainers@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'
      - trigger:
          project: '{my_trigger}'

- job-template:
    defaults: debsums-tests
    name: '{name}_buster'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org pkg-perl-maintainers@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@lists.alioth.debian.org pkg-perl-maintainers@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.'
            my_trigger: 'debsums-tests_jessie'
        - '{name}_jessie':
            my_distro: 'jessie'
            my_shell: 'timeout 5m prove -v'
            my_description: 'Debian/Debsums testsuite running on jessie.'