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:
parent
e501d3a7c2
commit
91d1314665
4
modules/jenkins/files/slave_scripts/run-xmllint.sh
Executable file
4
modules/jenkins/files/slave_scripts/run-xmllint.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
mkdir -p target/
|
||||
/usr/bin/xmllint -noent $1 'basename $1'
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -804,6 +804,7 @@ projects:
|
||||
- gate-compute-api-merge
|
||||
post:
|
||||
- openstack-compute-api-doc
|
||||
- openstack-compute-api-v20-wadl
|
||||
|
||||
- name: openstack/identity-api
|
||||
check:
|
||||
|
Loading…
Reference in New Issue
Block a user