On 2015-10-16 15:27:30 -0400 (-0400), Doug Hellmann wrote: > Maybe we can combine the ideas. Define an option with a default value > based on an environment variable, and then projects can override it if > they care about having the doc build generate that link correctly > outside of CI. > > What do I need to do to expose the environment variable?
Within the calling environment for the jobs on our workers, there is a $ZUUL_PROJECT variable we can use to get this information. However, the job is really just a shell script (jenkins/scripts/run-docs.sh in openstack-infra/project-config) where we can set any new environment variable oslosphinx cares about to that value quite trivially. The envvar name should ultimately just be something which makes sense for oslosphinx outside of the CI system as well. -- Jeremy Stanley __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev