summaryrefslogtreecommitdiffstats
path: root/job-cfg/piuparts.yaml
blob: 9f5bd331870b970938a1683c25cb322acaf1956b (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
- defaults:
    name: piuparts
    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: 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/gitweb/?p=qa/jenkins.debian.net.git;a=blob;f=job-cfg/piuparts.yaml">piuparts.yaml</a>.'
    logrotate:
      daysToKeep: 365
      numToKeep: 365
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    scm:
      - git:
          url: 'git://anonscm.debian.org/piuparts/piuparts.git'
          branches:
            - develop
    builders:
      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_jessie'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa holger@layer-acht.org piuparts-devel@lists.alioth.debian.org'

- job-template:
    defaults: piuparts
    name: '{name}_sid'
    triggers:
      - pollscm: '*/6 * * * *'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa holger@layer-acht.org piuparts-devel@lists.alioth.debian.org'
      - trigger:
          project: '{my_trigger}'

- project:
    name: piuparts
    jobs:
        - '{name}_sid':
            my_distro: 'sid'
            my_shell: 'make check'
            my_description: 'piuparts testsuite running on sid.'
            my_trigger: 'piuparts_jessie'
        - '{name}_jessie':
            my_distro: 'jessie'
            my_shell: 'make check'
            my_description: 'piuparts testsuite running on jessie.'