- defaults:
name: reproducible
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.
Results are available at the reproducible builds overview pages.'
logrotate:
daysToKeep: 365
numToKeep: 100
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- shell: '{my_shell}'
publishers:
- email:
recipients: 'jenkins+debian-reproducible holger@layer-acht.org'
- logparser:
parse-rules: '/srv/jenkins/logparse/reproducible.rules'
unstable-on-warning: 'true'
fail-on-error: 'true'
- defaults:
name: reproducible_builder
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
- 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.
Results are available at the reproducible builds overview pages.'
logrotate:
daysToKeep: 365
numToKeep: 500
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders:
- shell: '{my_shell}'
publishers:
- email:
recipients: 'holger@layer-acht.org'
notify-every-unstable-build: False
- logparser:
parse-rules: '/srv/jenkins/logparse/reproducible.rules'
unstable-on-warning: 'true'
fail-on-error: 'true'
- job-template:
defaults: reproducible
name: '{name}_setup'
- job-template:
defaults: reproducible
name: '{name}_stats'
- job-template:
defaults: reproducible_builder
name: '{name}_builder_one'
- job-template:
defaults: reproducible_builder
name: '{name}_builder_two'
- job-template:
defaults: reproducible_builder
name: '{name}_builder_three'
- job-template:
defaults: reproducible
name: '{name}_scheduler'
- 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'
- '{name}_stats':
my_description: 'Generates HTML results for reproducible builds.'
my_timed: '0 0,6,12,18 * * *'
my_shell: '/srv/jenkins/bin/reproducible_stats.sh'
- '{name}_builder_one':
my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.'
my_timed: 'H/3 * * * *'
my_shell: '/srv/jenkins/bin/reproducible_build.sh'
- '{name}_builder_two':
my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.'
my_timed: 'H/3 * * * *'
my_shell: '/srv/jenkins/bin/reproducible_build.sh'
- '{name}_builder_three':
my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.'
my_timed: 'H/3 * * * *'
my_shell: '/srv/jenkins/bin/reproducible_build.sh'
- '{name}_scheduler':
my_description: 'Schedule packages to be tested on reproducible building.'
my_timed: '55 * * * *'
my_shell: '/srv/jenkins/bin/reproducible_scheduler.sh'