summaryrefslogtreecommitdiffstats
path: root/job-cfg/lvc.yaml
blob: 1364d9b39d846d76f26742f2ed92000b56e166a7 (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
- defaults:
    name: lvc
    project-type: freestyle
    description: &desc '{my_description}<br><br>Job configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/lvc.yaml">lvc.yaml</a>.'
    properties:
      - sidebar: &sb1
          url: https://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar: &sb2
          url: https://jenkins.debian.net/view/lvc
          text: Jobs for libvirt and cucumber based tests
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar: &sb3
          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
    parameters:
      - string:
          name: TRIGGERING_BRANCH
          description: The git branch that triggered the build that reulted in this subsequent build
    logrotate:
      daysToKeep: 90
      numToKeep: 20
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    publishers:
      - email:
          recipients: 'qa-jenkins-scm@lists.alioth.debian.org, phil@hands.com'
      - archive:
          artifacts: '{my_pngs}, results/*.mpg, results/*.log'
          latest-only: false
      - image-gallery:
          - title: '{my_title}'
            includes: '{my_pngs}'
            image-width: 300
    builders:
      - shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh {my_iso} /srv/jenkins/cucumber/features {my_opts}'
    triggers:
      - timed: '{my_time}'
    node: 'lvc'

- job-template:
    defaults: lvc
    name: '{name}_{distro}'

- project:
    name: lvc
    my_title: 'Cucumber: {dist_name}'
    my_time: '45 23 31 12 *'
    my_pngs: 'results/*.png'
    my_opts: '--tags ~@broken --tags ~@trivial --tags ~@preseed'
    my_description: 'Work in progress...'
    jobs:
        - '{name}_{distro}':
            distro:
                - 'debian-stable':
                    dist_name: 'Debian-Installer Stable'
                    my_iso: 'http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debian-8.6.0-amd64-netinst.iso'
                - 'debian-testing-daily':
                    dist_name: 'Debian-Installer Testing (Daily)'
                    my_iso: 'http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso'
                    my_time: 'H */8 * * *'
                - 'debian-testing-netboot-daily':
                    dist_name: 'Debian-Installer Testing Netboot (Daily)'
                    my_iso: 'https://d-i.debian.org/daily-images/amd64/daily/netboot/gtk/mini.iso'
                    my_time: 'H */8 * * *'
                - 'debian-miniiso':
                    dist_name: 'Debian-Installer local mini.iso'
                    my_iso: 'use_TRIGGERING_BRANCH'
                    my_opts: '--tags @preseed'
                - 'debian-stretch-DI-alpha':
                    dist_name: 'Debian-Installer Stretch alpha8'
                    my_iso: 'http://cdimage.debian.org/cdimage/stretch_di_alpha8/amd64/iso-cd/debian-stretch-DI-alpha8-amd64-netinst.iso'
                    my_time: 'H H * * H'
                #- 'debian-testing-daily-broken':
                #    dist_name: 'Debian-Installer Stretch alpha8 -- Broken Scenarios'
                #    my_iso: 'http://cdimage.debian.org/cdimage/stretch_di_alpha8/amd64/iso-cd/debian-stretch-DI-alpha8-amd64-netinst.iso'
                #    my_time: 'H H * * H'
                #    my_opts: '--tags @broken'