summaryrefslogtreecommitdiffstats
path: root/job-cfg/edu-packages.yaml
blob: 65cf6d00015f6cbe8420e25f2ee60e5aff8602c8 (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
- defaults:
    name: edu-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/edu_devel
          text: Debian Edu development
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.co.uk
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
    description: 'Build the master branch of git://git.debian.org/git/debian-edu/{my_package}.git in sid on every commit.<br><br>Job configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/edu-packages.yaml">edu-packages.yaml</a>.'
    logrotate:
      daysToKeep: 90
      numToKeep: 30
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    scm:
      - git:
          url: '{my_url}'
          branches:
            - master
    builders:
      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} debuild -b -uc -us'
    triggers:
      - pollscm:
          cron: 'H/1 H/1 * * *'
    publishers:
      - email:
          recipients: 'jenkins+debian-edu debian-edu-commits@lists.alioth.debian.org'


- job-template:
    defaults: edu-packages
    name: '{name}_{my_distro}_{my_package}'


- project:
    name: edu-packages
    my_distro: 'sid'
    my_url: 'git://git.debian.org/git/debian-edu/{my_package}.git'
    my_package:
        - 'debian-edu'
        - 'debian-edu-archive-keyring'
        - 'debian-edu-artwork'
        - 'debian-edu-config'
        - 'debian-edu-doc'
        - 'debian-edu-install'
        - 'sitesummary':
           my_url: 'git://git.debian.org/git/debian-edu/upstream/{my_package}.git'
    jobs: ['{name}_{my_distro}_{my_package}']