- defaults:
name: reproducible
triggers:
- timed: "{my_timed}"
project-type: freestyle
concurrent: True
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/reproducible
text: reproducible builds jobs
icon: /userContent/images/debian-jenkins-24x24.png
- sidebar:
url: http://www.profitbricks.com
text: Sponsored by Profitbricks
icon: /userContent/images/profitbricks-24x24.png
- priority:
job-prio: '150'
- throttle:
max-total: 3
max-per-node: 3
enabled: True
option: category
categories:
- reproducible
description: '{my_description}
Job configuration source is reproducible.yaml.'
logrotate:
daysToKeep: 365
numToKeep: 20
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- shell: '{my_shell} {my_params}'
publishers:
- email:
recipients: 'jenkins+debian-reproducible holger@layer-acht.org'
- archive:
artifacts: 'results/*.*'
latest_only: false
- logparser:
parse-rules: '/srv/jenkins/logparse/reproducible.rules'
unstable-on-warning: 'true'
fail-on-error: 'true'
- trigger:
project: 'reproducible_stats'
threshold: 'UNSTABLE'
- defaults:
name: reproducible_setup
triggers:
- timed: "{my_timed}"
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/reproducible
text: reproducible builds 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}
Job configuration source is reproducible.yaml.'
logrotate:
daysToKeep: 365
numToKeep: 20
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- shell: '{my_shell}'
publishers:
- email:
recipients: 'jenkins+debian-reproducible holger@layer-acht.org'
- defaults:
name: reproducible_stats
triggers:
- timed: "{my_timed}"
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/reproducible
text: reproducible builds 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}
Job configuration source is reproducible.yaml.'
logrotate:
daysToKeep: 365
numToKeep: 20
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- shell: '{my_shell}'
publishers:
- email:
recipients: 'jenkins+debian-reproducible holger@layer-acht.org'
- htmlpublisher:
name: 'Reproducible builds statistics'
directory: '.'
indexfiles: 'index.html'
keepall: True
- job-template:
defaults: reproducible_setup
name: '{name}_setup'
- job-template:
defaults: reproducible_stats
name: '{name}_stats'
- job-template:
defaults: reproducible
name: '{name}_build_random_packages'
- job-template:
defaults: reproducible
name: '{name}_build_new_versions'
- job-template:
defaults: reproducible
name: '{name}_build_candidates'
- project:
name: reproducible
jobs:
- '{name}_setup':
my_description: 'Setup pbuilder for reproducible builds as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example'
my_timed: '42 0 * * *'
my_shell: '/srv/jenkins/bin/reproducible_setup.sh'
my_params: ''
- '{name}_stats':
my_description: 'Reproducible builds statistics'
my_timed: '0 0 * * *'
my_shell: '/srv/jenkins/bin/reproducible_stats.sh'
my_params: ''
- '{name}_build_random_packages':
my_description: 'Reproducible build this many random packages each day:'
my_timed: '0,15,30,45 * * * *'
my_shell: '/srv/jenkins/bin/reproducible_build.sh'
my_params: 'unknown 10'
- '{name}_build_new_versions':
my_description: 'Try to reproducible build packages which were build before and for which a new version exists:'
my_timed: '42 2,14 * * *'
my_shell: '/srv/jenkins/bin/reproducible_build.sh'
my_params: 'known 25'
- '{name}_build_candidates':
my_description: 'Reproducible build packages from a list of pre-defined candidates: '
my_timed: '40,15,30,45 3,9,15,21 * * *'
my_shell: '/srv/jenkins/bin/reproducible_build.sh'
my_params: 'candidates 20'