publish wadl file to the docs website

first attempt to get a job that would publish the compute wadl
file to the docs website so that it exists in a stable location
for referencing.

Change-Id: Ifb4a7b8aad5918bbc8cff553df0a4176c66e6a87
Reviewed-on: https://review.openstack.org/16337
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Sean Dague <sdague@linux.vnet.ibm.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Sean Dague 2012-11-16 16:48:20 -05:00 committed by Jenkins
parent e501d3a7c2
commit 91d1314665
4 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash -xe
mkdir -p target/
/usr/bin/xmllint -noent $1 'basename $1'

View File

@ -39,6 +39,7 @@ class jenkins::slave(
'libmysqlclient-dev',
'libsqlite3-dev',
'libxml2-dev',
'libxml2-utils', # for xmllint, need for wadl
'libxslt1-dev',
'maven2',
'pandoc', #for docs, markdown->docbook, bug 924507

View File

@ -213,6 +213,27 @@
remove-prefix: 'openstack-compute-api-2/target/docbkx/webhelp'
excludes: '**/*.xml,**/null*'
- job:
name: openstack-compute-api-v20-wadl
concurrent: false
node: precise
triggers:
- zuul-post
builders:
- gerrit-git-prep
- shell: /usr/local/jenkins/slave_scripts/run-xmllint.sh openstack-compute-api-2/src/os-compute-2.wadl
publishers:
- ftp:
site: docs.openstack.org
source: 'target/**'
target: 'openstack-compute/2/wadl/'
remove-prefix: 'target/'
excludes: '**/*.xml,**/null*'
- console-log-post
# this replaces the old openstack-identity-api-doc job
- job:
name: identity-api-v20

View File

@ -804,6 +804,7 @@ projects:
- gate-compute-api-merge
post:
- openstack-compute-api-doc
- openstack-compute-api-v20-wadl
- name: openstack/identity-api
check: