summaryrefslogtreecommitdiffstats
path: root/job-cfg/reproducible.yaml
blob: fa2158f4e1fa328d8402264dce5e4a10a5c88925 (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
- defaults:
    name: reproducible
    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/dvswitch/
          text: dvswitch test jobs
          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}<br><br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/job-cfg/sid-reproducible.yaml">sid-reproducible.yaml</a>.'
    logrotate:
      daysToKeep: 180
      numToKeep: 100
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    builders:
      - shell: '{my_shell}'

- job-template:
    defaults: reproducible
    name: '{name}_pbuilder_setup'
    publishers:
      - email:
          recipients: 'jenkins+sid-reproducible holger@layer-acht.org lunar@debian.org'

- job-template:
    defaults: reproducible
    name: '{name}_pbuild_one'
    publishers:
      - email:
          recipients: 'jenkins+sid-reproducible holger@layer-acht.org' # FIXME add lunar here again

- project:
    name: reproducible
    jobs:
        - '{name}_pbuilder_setup':
            my_description: 'Setup pbuilder for reproducible builds as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example'
            my_shell: '/srv/jenkins/bin/reproducible_pbuilder_setup.sh'
    jobs:
        - '{name}_pbuild_one':
            my_description: 'Build one package with pbuilder so far....'
            my_shell: '/srv/jenkins/bin/reproducible_pbuild_run.sh acl'