summaryrefslogtreecommitdiffstats
path: root/job-cfg/lvc.yaml
blob: 88470171eb85dd1f546bb21a194edeb7ae3b5a70 (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
- defaults:
    name: lvc
    project-type: freestyle
    description: '{my_description}<br><br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/job-cfg/lvc.yaml">lvc.yaml</a>.'
    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/lvc
          text: Jobs for libvirt and cucumber based tests
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.co.uk
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
      - throttle:
          max-total: 1
          max-per-node: 1
          enabled: true
          option: category
          categories:
            - lvc
    logrotate:
      daysToKeep: 90
      numToKeep: 20
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    publishers:
      - email:
          recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
      - archive:
          artifacts: '*.webm, {my_pngs}'
          latest-only: false
      - image-gallery:
          - title: '{my_title}'
            includes: '{my_pngs}'
            image-width: 300
    wrappers:
      - live-screenshot
    builders:
      - shell: 'rm $WORKSPACE/*.png -f >/dev/null; /srv/jenkins/bin/lvc/run_test_suite {my_params}'
    triggers:
      - timed: '{my_time}'

- job-template:
    defaults: lvc
    name: '{name}_debian-live_{distro}_{flavour}_apt'

- project:
    name: lvc
    my_title: '{dist_name} {flav_name}'
    my_time: '23 45 31 12 *'
    my_pngs: 'apt-*.png'
    my_description: 'Work in progress...'
    my_params: '--debug --capture lvc_debian-live_{distro}_{flavour}_apt.webm --temp-dir $WORKSPACE --iso /srv/live-build/results/{distro}_{flavour}_live_amd64.iso DebianLive/apt.feature'
    jobs:
        - '{name}_debian-live_{distro}_{flavour}_apt':
            distro:
                - 'debian-edu_jessie': {dist_name: 'Debian Edu Live 8'}
            flavour:
                - 'standalone':  {flav_name: 'Standalone'}
                - 'workstation': {flav_name: 'Workstation'}
            my_iso: '/srv/live-build/results/{distro}_{flavour}_live_amd64.iso'

        - '{name}_debian-live_{distro}_{flavour}_apt':
            distro:
                - 'debian_jessie': {dist_name: 'Debian Live 8'}
            flavour:
                - 'gnome': {flav_name: 'GNOME Desktop'}
                - 'xfce': {flav_name: 'Xfce Desktop'}
            my_iso: '/srv/live-build/results/{distro}_{flavour}_live_amd64.iso'

        - '{name}_debian-live_{distro}_{flavour}_apt':
            distro:
                - 'debian_sid': {dist_name: 'Debian Live Sid'}
            flavour:
                - 'xfce': {flav_name: 'Xfce Desktop'}
            my_iso: '/srv/live-build/results/{distro}_{flavour}_live_amd64.iso'

        - '{name}_debian-live_{distro}_{flavour}_apt':
            distro:
                - 'wheezy': {dist_name: 'Debian Live 7'}
            flavour:
                - 'gnome-desktop': {flav_name: 'GNOME desktop'}
                - 'standard':      {flav_name: 'standard'}
            my_params: '--debug --capture lvc_debian-live_{distro}_{flavour}_apt.webm --temp-dir $WORKSPACE --iso /var/lib/jenkins/debian-live-7.7.0-amd64-{flavour}.iso DebianLive/apt.feature'