From 8fd9cf9242af9ff997f63948daa8c360eb991691 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 18 Oct 2014 01:28:30 +0200 Subject: reproducible: refactor, let jenkins maintain notes.git and trigger the html_notes job on commits --- job-cfg/reproducible.yaml | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) (limited to 'job-cfg') diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index 1b830a2a..d1b4313f 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -32,6 +32,45 @@ unstable-on-warning: 'true' fail-on-error: 'true' +- defaults: + name: reproducible_notes + 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' + scm: + - git: + url: '{my_gitrepo}' + branches: + - master + triggers: + - pollscm: "*/6 * * * *" + - defaults: name: reproducible_builder triggers: @@ -93,7 +132,7 @@ name: '{name}_html_dd_list' - job-template: - defaults: reproducible + defaults: reproducible_notes name: '{name}_html_notes' - job-template: @@ -133,7 +172,7 @@ my_shell: '/srv/jenkins/bin/reproducible_html_dd_list.sh' - '{name}_html_notes': my_description: 'Generates HTML results (notes) for reproducible builds, triggered by changes to the notes.git repository.' - my_timed: '' + my_gitrepo: 'git://git.debian.org/git/reproducible/notes.git' my_shell: '/srv/jenkins/bin/reproducible_html_notes.sh' - '{name}_builder_alpha': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' -- cgit v1.2.3-70-g09d2