Fix publishing of API Reference
We are publishing at api.openstack.org top-level but the job is copying to an api-ref subdirectory. Changing the Jenkins setup is the better solution here than copying directly into publish-docs - it would create a more complex script. Remove macro upload-to-api-site and add the publisher directly to the openstack-api-ref job since this is an exception from the other rules - and this is the only job publishing to api.o.o. Change-Id: Ib5511ed7cbf8dfc90cb42e295fe68f39aa1e0a8f
This commit is contained in:
parent
12dc5bd443
commit
3b7a40d7c1
@ -22,7 +22,6 @@
|
||||
node: '{node}'
|
||||
|
||||
|
||||
# this replaces the old openstack-api-site job in Jenkins
|
||||
- job:
|
||||
name: openstack-api-ref
|
||||
concurrent: false
|
||||
@ -37,8 +36,12 @@
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
- upload-to-api-site
|
||||
- upload-doc-build-results
|
||||
- ftp:
|
||||
site: api.openstack.org
|
||||
source: 'publish-docs/api-ref/**'
|
||||
target: '/'
|
||||
remove-prefix: 'publish-docs/api-ref/'
|
||||
|
||||
|
||||
# in zuul/layout.yaml specified to only run against master branch.
|
||||
|
@ -359,15 +359,6 @@
|
||||
copy-after-failure: true
|
||||
|
||||
|
||||
- publisher:
|
||||
name: upload-to-api-site
|
||||
publishers:
|
||||
- ftp:
|
||||
site: api.openstack.org
|
||||
source: 'publish-docs/**'
|
||||
target: '/'
|
||||
remove-prefix: 'publish-docs/'
|
||||
|
||||
- publisher:
|
||||
name: upload-to-docs-site
|
||||
publishers:
|
||||
|
Loading…
x
Reference in New Issue
Block a user