summaryrefslogtreecommitdiffstats
path: root/job-cfg/haskell-packages.yaml
blob: 7a29c8733c8742cc0caa818beb791c6ed6439065 (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
- defaults:
    name: haskell-packages
    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/haskell/
          text: Haskell packages metadata consistency
          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}{do_not_edit}'
    logrotate:
      daysToKeep: 365
      numToKeep: 365
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    builders:
      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
    publishers:
      - email:
          recipients: '{my_recipients}'

- job-template:
    defaults: haskell-packages
    name: '{name}_sid'
    triggers:
      - timed: '0 15 * * 1'    # every monday at 15:00 UTC

- project:
    name: haskell-packages
    do_not_edit: '<br><br>Job configuration source is <a href="http://anonscm.debian.org/gitweb/?p=qa/jenkins.debian.net.git;a=blob;f=job-cfg/haskell-packages.yaml">haskell-packages.yaml</a>.'
    jobs:
        - '{name}_sid':
            my_distro: 'sid'
            my_shell: 'apt-get -y install cabal-install darcs libtext-patch-perl; cabal update; darcs get http://anonscm.debian.org/darcs/pkg-haskell/tools/; cd tools/all-packages; perl ./test-packages.pl'
            my_description: 'Haskell Metadata sanity checks'
            my_recipients: 'jenkins+debian-haskell holger@layer-acht.org pkg-haskell-maintainers@lists.debian.org'