Add build job for Japanese Operations Guide

This code from KATO Tomoyuki will attempt to build the japanese
version of the OpenStack Operations Guide.

It generates japanese docbook files from PO files, then runs maven
over them to generate the content and publish to /ja.

This is the first time we're doing this, so needs careful review.

patchset3/4/5 fixes yaml thanks to Clark's suggestions & rebases.
Apologies for the poor coding.

Change-Id: If0e3b683786ee66c8c6b96a419fdbdb9a14f2b1c
This commit is contained in:
KATO Tomoyuki 2013-08-02 10:23:39 +10:00 committed by Tom Fifield
parent 5512c483b5
commit 94e22ef3a1
2 changed files with 34 additions and 0 deletions

View File

@ -544,3 +544,36 @@
target: '/'
remove-prefix: 'doc/src/docbkx/openstack-training/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- job:
name: openstack-operations-guide-ja
project-type: maven
concurrent: false
node: precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
- shell: |
./tools/generatedocbook -l ja -b openstack-ops
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: generated/ja/openstack-ops/pom.xml
goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources'
publishers:
- console-log-post
- ftp:
site: docs.openstack.org
source: 'generated/ja/openstack-ops/target/docbkx/webhelp/**'
target: '/ja/'
remove-prefix: 'generated/ja/openstack-ops/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'

View File

@ -1752,6 +1752,7 @@ projects:
- openstack-security-guide
- manuals-upstream-translation-update
- openstack-training
- openstack-operations-guide-ja
periodic:
- manuals-propose-translation-update