From ef9ed61ff77b33718a24d0601c63313ec8eb4373 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 20 Nov 2012 02:31:16 +0100 Subject: add support for building language variants of the manual from po files. and add first such job --- job-cfg/d-i.yaml | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) (limited to 'job-cfg') diff --git a/job-cfg/d-i.yaml b/job-cfg/d-i.yaml index f040fb6d..6167c18e 100644 --- a/job-cfg/d-i.yaml +++ b/job-cfg/d-i.yaml @@ -72,6 +72,55 @@ - email: recipients: jenkins+debian-boot holger@layer-acht.org +- defaults: + name: d-i-manual-html-po2xml + project-type: freestyle + logrotate: + daysToKeep: 90 + numToKeep: 50 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + properties: + - sidebar: + url: http://jenkins.debian.net/userContent/about.html + text: About jenkins.debian.net + icon: /userContent/images/debian-swirl-24x24.png + - sidebar: + url: http://jenkins.debian.net/view/d-i_manual/ + text: debian-installer manual 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: 'Builds the {languagename} html version of the installation-guide for all architectures. Triggered by SVN commits to svn://svn.debian.org/svn/d-i/trunk/manual/{lang}/. After successful build d-i_manual_{lang}_pdf is triggered. {do_not_edit}' + scm: + - svn: + url: svn://svn.debian.org/svn/d-i/trunk + basedir: . + workspaceupdater: update + includedRegions: '/trunk/manual/po/{lang}/.*' + excludedRegions: '' + excludedUsers: '' + excludedRevprop: '' + excludedCommitMessages: '' + viewvc-url: http://anonscm.debian.org/viewvc/d-i/trunk + builders: + - shell: '/srv/jenkins/bin/d-i_manual.sh {lang} html po2xml' + triggers: + - pollscm: "*/30 * * * *" + - logparser: + rulespath: '/srv/jenkins/logparse/debian.rules' + unstable_on_warning: 'true' + fail_on_error: 'true' + - htmlpublisher: + name: 'd-i_manual_{lang}.html' + directory: 'html' + indexfiles: '' + keepall: False + - email: + recipients: jenkins+debian-boot holger@layer-acht.org + - defaults: name: d-i-manual-pdf project-type: freestyle @@ -243,6 +292,9 @@ - job-template: defaults: d-i-manual-html name: '{name}_manual_pt_BR_html' +- job-template: + defaults: d-i-manual-html-po2xml + name: '{name}_manual_pt_html' - job-template: defaults: d-i-manual-pdf name: '{name}_manual_ca_pdf' @@ -646,6 +698,9 @@ - '{name}_manual_pt_BR_html': lang: 'pt_BR' languagename: 'Brazilian Portuguese' + - '{name}_manual_pt_html': + lang: 'pt' + languagename: 'Portuguese' - '{name}_manual_ca_pdf': lang: 'ca' languagename: 'Catalan' -- cgit v1.2.3-70-g09d2