Add latest or branch info to success url

After we do the prep, the docs are in the latest dir. Make sure it's
on the success-url.

On stable branches they are in directories named after their branch. Add
variants for those.

Change-Id: I2c18214508bdb1962541d52f3634f77e19a1bd0b
This commit is contained in:
Monty Taylor 2017-09-22 14:14:41 -05:00
parent 0e539f6d41
commit 958ff84335
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -55,7 +55,7 @@
using the whereto tool.
run: playbooks/sphinx-docs/run
post-run: playbooks/sphinx-docs/post
success-url: html/
success-url: html/latest/
required-projects:
- name: openstack/requirements
roles:
@ -65,6 +65,26 @@
tox_envlist: venv
tox_extra_args: -vv python setup.py build_sphinx
- job:
name: build-openstack-sphinx-docs
branches: stable/queens
success-url: html/queens/
- job:
name: build-openstack-sphinx-docs
branches: stable/pike
success-url: html/pike/
- job:
name: build-openstack-sphinx-docs
branches: stable/ocata
success-url: html/ocata/
- job:
name: build-openstack-sphinx-docs
branches: stable/newton
success-url: html/newton/
- job:
name: build-openstack-infra-sphinx-docs
parent: tox-docs