summaryrefslogtreecommitdiffstats
path: root/job-cfg/lvc.yaml
blob: d9969b9306a9d2c787ecaa1c465a3dc622d74b65 (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: lvc
    project-type: freestyle
    description: '{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:
          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: 'run-*/*.mkv, {my_pngs}'
          latest-only: false
      - image-gallery:
          - title: '{my_title}'
            includes: '{my_pngs}'
            image-width: 300
    wrappers:
      - live-screenshot
    builders:
      - shell: '/srv/jenkins/bin/lvc/run_test_suite {my_params}'
    triggers:
      - timed: '{my_time}'

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

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

- project:
    name: lvc
    my_title: '{dist_name} {flav_name}'
    my_time: '23 45 31 12 *'
    my_pngs: 'run-*/*.png'
    my_description: 'LVC stands for _l_ib_v_irt-_c_ucumber, so these are <a href="https://tracker.debian.org/pkg/cucumber">cucumber</a> driven tests for Debian installer and more. Currently under heavy development and a better name should probably be choosen too.'
    my_params: '--capture lvc_debian-live_{distro}_{flavour}_apt.webm --tmpdir $WORKSPACE --iso /srv/live-build/results/{distro}_{flavour}_live_amd64.iso -- --verbose --backtrace --expand --format pretty 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-installer_{distro}_{flavour}_apt':
            distro:
                - 'jessie': {dist_name: 'Debian-Installer 8'}
            flavour:
                - 'standard':      {flav_name: 'standard'}
            my_params: '--capture --iso /srv/live-build/results/debian-8.3.0-amd64-netinst.iso --tmpdir $WORKSPACE --old-iso /srv/live-build/results/debian-8.3.0-amd64-netinst.iso -- --format pretty --format pretty_debug --out $WORKSPACE/pretty_debug.log /srv/jenkins/features/step_definitions /srv/jenkins/features/support /srv/jenkins/features/DebianLive/apt.feature'