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

- job-template:
    defaults: dvswitch
    name: '{name}_wheezy'
    publishers:
      - email:
          recipients: 'jenkins+dvswitch holger@layer-acht.org dvswitch-maint@debian.org'

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

- job-template:
    defaults: dvswitch
    name: '{name}_sid'
    triggers:
      - pollscm: '*/6 * * * *'
    publishers:
      - email:
          recipients: 'jenkins+dvswitch holger@layer-acht.org wouter@debian.org'
      - trigger:
          project: '{name}_jessie'

- job-template:
    defaults: dvswitch
    name: '{name}_against_libav_git'
    triggers:
      - timed: '0 1 * * *'    # every day at 01:00 UTC
    publishers:
      - email:
          recipients: 'jenkins+dvswitch holger@layer-acht.org wouter@debian.org'
    scm:
      - git:
          url: 'git://git.libav.org/libav.git'
          branches:
            - master

- project:
    name: dvswitch
    jobs:
        - '{name}_sid':
            my_distro: 'sid'
            my_shell: 'debian/rules build'
            my_description: 'Build the dvswitch git master branch on sid.'
        - '{name}_jessie':
            my_distro: 'jessie'
            my_shell: 'debian/rules build'
            my_description: 'Build the dvswitch git master branch on jessie.'
        - '{name}_wheezy':
            my_distro: 'wheezy backports'
            my_shell: 'debian/rules build'
            my_description: 'Build the dvswitch git master branch on wheezy (+backports).'

        - '{name}_against_libav_git':
            my_distro: 'sid'
            my_shell: 'apt-get -y build-dep dvswitch libav ; apt-get -y install yasm ; ./configure ; make ; make install ; cd .. ; git clone git://anonscm.debian.org/dvswitch/dvswitch.git ; cd dvswitch ; ./debian/rules build'
            my_description: 'Build the dvswitch git master branch on sid.'