
Patch set 3 makes the jobname the filename and adds a second job for building the programming api mdown book. Patch set 4 corrects the job name to match the file name. Patch set 5 renames the .sh.save file and adds it to the job builders. Patch set 6 addresses final comments - appending to the gerrit-doc.properties file and removes tabs. Patch set 7 addresses comments. Would like to continue work on markdown to docbook and delay work on the properties script if possible. Patch set 8 removes docbook-properties as a prebuilder and removes DOC_OPERATING_SYSTEM as a variable. Rebase against master also. Updates macros.yaml and manuals.yaml to pass in filename for markdown files. Adds properties injection to the markdown to docbook jobs. Removes extraenous tab from modules/openstack_project/files/zuul/layout.yaml Additional fixes to pass in filename correctly and remove DOC_OPERATING_SYSTEM, fix filname typo. Removes file extension from markdown files, removes echo to gerrit-doc-properties from markdown-docbook script. Removes docbook-properties builder references as needed. Change-Id: I46c07cd11e96e8fc463a377519926a43981e4b3d Reviewed-on: https://review.openstack.org/12214 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
167 lines
4.0 KiB
YAML
167 lines
4.0 KiB
YAML
- job:
|
|
name: openstack-cli-guide
|
|
project-type: maven
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/src/docbkx/cli-guide/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/src/docbkx/cli-guide/target/docbkx/webhelp/bk-cli-guide/**'
|
|
target: 'cli/quick-start'
|
|
remove-prefix: 'doc/src/docbkx/cli-guide/target/docbkx/webhelp/bk-cli-guide/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: netconn-api-v20
|
|
project-type: maven
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/target/docbkx/webhelp/quantum-api-2.0/quantum-api-guide/**'
|
|
target: 'api/openstack-network/2.0/'
|
|
remove-prefix: 'doc/target/docbkx/webhelp/quantum-api-2.0/quantum-api-guide/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: volume-api
|
|
project-type: maven
|
|
concurrent: true
|
|
node: precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/target/docbkx/webhelp/volume-api-1.0/volume-api-guide/**'
|
|
target: 'api/openstack-volume/1.0/'
|
|
remove-prefix: 'doc/target/docbkx/webhelp/volume-api-1.0/volume-api-guide/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: images-api-v20
|
|
project-type: maven
|
|
concurrent: true
|
|
node: precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
- markdown-docbook
|
|
filename: "images-api-v2.0"
|
|
|
|
properties:
|
|
- inject:
|
|
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
|
|
properties-file: gerrit-doc.properties
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: openstack-image-service-api/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/target/docbkx/webhelp/images-api-2.0/**'
|
|
target: 'api/openstack-image-service/2.0/'
|
|
remove-prefix: 'doc/target/docbkx/webhelp/images-api-2.0/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: openstackapi-programming
|
|
project-type: maven
|
|
concurrent: true
|
|
node: precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
- markdown-docbook
|
|
filename: "openstackapi-programming"
|
|
|
|
properties:
|
|
- inject:
|
|
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
|
|
properties-file: gerrit-doc.properties
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/src/docbkx/openstack-api-programming/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/target/docbkx/webhelp/openstack-api-programming/**'
|
|
target: 'api/openstack-compute/programmer/'
|
|
remove-prefix: 'doc/target/docbkx/webhelp/openstack-api-programming/'
|
|
excludes: '**/*.xml,**/null*'
|