diff --git a/roles/run-tempest/README.rst b/roles/run-tempest/README.rst index 91b0b5fcb9..3643edb4e4 100644 --- a/roles/run-tempest/README.rst +++ b/roles/run-tempest/README.rst @@ -1,5 +1,8 @@ Run Tempest +The result of the tempest run is stored in the `tempest_run_result` +variable (through the `register` statement). + **Role Variables** .. zuul:rolevar:: devstack_base_dir diff --git a/roles/run-tempest/tasks/main.yaml b/roles/run-tempest/tasks/main.yaml index 82bc265e76..1de372518a 100644 --- a/roles/run-tempest/tasks/main.yaml +++ b/roles/run-tempest/tasks/main.yaml @@ -56,6 +56,7 @@ --black-regex={{tempest_black_regex|quote}} args: chdir: "{{devstack_base_dir}}/tempest" + register: tempest_run_result become: true become_user: tempest environment: "{{ tempest_tox_environment }}"