Use zuul-jobs style var names in run-docs

This job still needs to be updated to replace the jenkins script
with ansible.  But so that we can go ahead and remove the
zuul_workspace_root variable from everywhere, replace it with
the variables that we use for the tox jobs in zuul-jobs.

Change-Id: I991dc6c60fb7290be40e8d89ab2cdeb7ab8879c4
This commit is contained in:
James E. Blair 2017-07-14 16:20:17 -07:00
parent 88c7e136c3
commit 6a8e17bf61
2 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,3 @@
---
envlist: venv
tox_envlist: venv
zuul_work_dir: "src/{{ zuul.project.canonical_name }}"

View File

@ -1,4 +1,4 @@
- name: Execute run-docs.sh.
shell: "/usr/local/jenkins/slave_scripts/run-docs.sh {{ envlist }}"
shell: "/usr/local/jenkins/slave_scripts/run-docs.sh {{ tox_envlist }}"
args:
chdir: "{{ zuul_workspace_root }}/src/{{ zuul.project.canonical_name }}"
chdir: "{{ zuul_work_dir }}"