Splits the basic-install guide into two builds for Fedora/Ubuntu.

Change-Id: Ic3697239f2ae0421bfe3faab4dcd1450602deb8a
Reviewed-on: https://review.openstack.org/27443
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Anita Kuno <anita.kuno@enovance.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
annegentle 2013-04-24 15:23:42 -05:00 committed by Jenkins
parent df40bb8180
commit 8e113d46c0
3 changed files with 42 additions and 5 deletions

View File

@ -16,7 +16,7 @@ then
DOC_COMMENTS_ENABLED=0
fi
# The stable/<releasename> branch should get published to /releasename, such as folsom or essex
# The stable/<releasename> branch should get published to /releasename, such as grizzly or folsom
if [[ $BRANCH =~ ^stable/(.*)$ ]]
then
DOC_RELEASE_PATH=${BASH_REMATCH[1]}

View File

@ -99,7 +99,40 @@
excludes: '**/*.xml,**/null*'
- job:
name: openstack-basic-install
name: openstack-basic-install-fedora
project-type: maven
node: quantal && !jclouds
triggers:
- zuul-post
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/basic-install/pom.xml
goals: '-Doperating.system=yum -Dprofile.os=centos;fedora;rhel -Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources'
publishers:
- console-log-post
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/**'
target: '/yum'
remove-prefix: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'
- job:
name: openstack-basic-install-ubuntu
project-type: maven
node: quantal && !jclouds
@ -114,20 +147,23 @@
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/basic-install/pom.xml
goals: '-Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources'
goals: '-Doperating.system=apt -Dprofile.os=ubuntu -Drelease.path.name=${DOC_RELEASE_PATH} -Dcomments.enabled=${DOC_COMMENTS_ENABLED} clean generate-sources'
publishers:
- console-log-post
- ftp:
site: docs.openstack.org
source: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/**'
target: '/'
target: '/apt'
remove-prefix: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/'
excludes: '**/*.xml,**/null*'

View File

@ -1249,7 +1249,8 @@ projects:
- openstack-admin-manual-object
- openstack-admin-manual-block
- openstack-cli-guide
- openstack-basic-install
- openstack-basic-install-fedora
- openstack-basic-install-ubuntu
- openstack-glossary
- openstack-docs-site
- openstack-ha-guide