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:
parent
df40bb8180
commit
8e113d46c0
@ -16,7 +16,7 @@ then
|
|||||||
DOC_COMMENTS_ENABLED=0
|
DOC_COMMENTS_ENABLED=0
|
||||||
fi
|
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/(.*)$ ]]
|
if [[ $BRANCH =~ ^stable/(.*)$ ]]
|
||||||
then
|
then
|
||||||
DOC_RELEASE_PATH=${BASH_REMATCH[1]}
|
DOC_RELEASE_PATH=${BASH_REMATCH[1]}
|
||||||
|
@ -99,7 +99,40 @@
|
|||||||
excludes: '**/*.xml,**/null*'
|
excludes: '**/*.xml,**/null*'
|
||||||
|
|
||||||
- job:
|
- 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
|
project-type: maven
|
||||||
node: quantal && !jclouds
|
node: quantal && !jclouds
|
||||||
|
|
||||||
@ -114,20 +147,23 @@
|
|||||||
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
|
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
|
||||||
properties-file: gerrit-doc.properties
|
properties-file: gerrit-doc.properties
|
||||||
|
|
||||||
|
prebuilders:
|
||||||
|
- gerrit-git-prep
|
||||||
|
|
||||||
maven:
|
maven:
|
||||||
maven-name: Maven3
|
maven-name: Maven3
|
||||||
root-module:
|
root-module:
|
||||||
group-id: org.openstack.docs
|
group-id: org.openstack.docs
|
||||||
artifact-id: openstack-guide
|
artifact-id: openstack-guide
|
||||||
root-pom: doc/src/docbkx/basic-install/pom.xml
|
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:
|
publishers:
|
||||||
- console-log-post
|
- console-log-post
|
||||||
- ftp:
|
- ftp:
|
||||||
site: docs.openstack.org
|
site: docs.openstack.org
|
||||||
source: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/**'
|
source: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/**'
|
||||||
target: '/'
|
target: '/apt'
|
||||||
remove-prefix: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/'
|
remove-prefix: 'doc/src/docbkx/basic-install/target/docbkx/webhelp/'
|
||||||
excludes: '**/*.xml,**/null*'
|
excludes: '**/*.xml,**/null*'
|
||||||
|
|
||||||
|
@ -1249,7 +1249,8 @@ projects:
|
|||||||
- openstack-admin-manual-object
|
- openstack-admin-manual-object
|
||||||
- openstack-admin-manual-block
|
- openstack-admin-manual-block
|
||||||
- openstack-cli-guide
|
- openstack-cli-guide
|
||||||
- openstack-basic-install
|
- openstack-basic-install-fedora
|
||||||
|
- openstack-basic-install-ubuntu
|
||||||
- openstack-glossary
|
- openstack-glossary
|
||||||
- openstack-docs-site
|
- openstack-docs-site
|
||||||
- openstack-ha-guide
|
- openstack-ha-guide
|
||||||
|
Loading…
Reference in New Issue
Block a user