summaryrefslogtreecommitdiffstats
path: root/job-cfg/dpkg.yaml
blob: 34aaecff8b2da49d82cd18c90509e98739ce5e84 (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
- defaults:
    name: dpkg
    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="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/job-cfg/dpkg.yaml">dpkg.yaml</a>.'
    logrotate:
      daysToKeep: 90
      numToKeep: 20
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    publishers:
      - logparser:
          parse-rules: '/srv/jenkins/logparse/debian.rules'
          unstable-on-warning: 'true'
          fail-on-error: 'true'
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org'
    builders:
      - shell: '{my_shell}'
    triggers:
      - timed: '{my_time}'

- job-template:
    defaults: dpkg
    name: '{name}_jessie_find_trigger_cycles'

- job-template:
    defaults: dpkg
    name: '{name}_stretch_find_trigger_cycles'

- job-template:
    defaults: dpkg
    name: '{name}_sid_find_trigger_cycles'

- job-template:
    defaults: dpkg
    name: '{name}_setup_schroot_jessie'

- project:
    name: dpkg
    jobs:
       - '{name}_jessie_find_trigger_cycles':
           my_description: 'Find dpkg trigger cycles in Debian jessie.'
           my_time: '0 10 * * *'
           my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-jessie /srv/jenkins/bin/find_dpkg_trigger_cycles.sh jessie'
       - '{name}_stretch_find_trigger_cycles':
           my_description: 'Find dpkg trigger cycles in Debian stretch.'
           my_time: '0 10 * * *'
           my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-jessie /srv/jenkins/bin/find_dpkg_trigger_cycles.sh stretch'
       - '{name}_sid_find_trigger_cycles':
           my_description: 'Find dpkg trigger cycles in Debian sid.'
           my_time: '0 12 * * *'
           my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-jessie /srv/jenkins/bin/find_dpkg_trigger_cycles.sh unstable'
       - '{name}_setup_schroot_jessie':
           my_description: 'Setup schroot for running the dpkg_(jessie|stretch|sid)_find_trigger_cycles and reproducible_create_meta_pkg_sets jobs in a jessie environment.'
           my_time: '23 8 * * 1'
           my_shell: '/srv/jenkins/bin/schroot-create.sh dpkg-jessie jessie python apt-file dose-extra'