aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/opnfv-testapi/tasks
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-26 10:42:36 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-26 11:00:34 +0800
commitbe99514715dc91e860a73dbc62c654dac36e8484 (patch)
tree3ecc768446c815971ee0a77e9d55a7b3d0080894 /resources/ansible_roles/opnfv-testapi/tasks
parent1403c94ef114912c5eef3700e123b137b030c2c7 (diff)
Add support for reporting to testapi
Change-Id: If363e7e5d14bdd6a1a12a553a2f162be3c23f530 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/opnfv-testapi/tasks')
-rw-r--r--resources/ansible_roles/opnfv-testapi/tasks/report.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/ansible_roles/opnfv-testapi/tasks/report.yml b/resources/ansible_roles/opnfv-testapi/tasks/report.yml
index aa213a71..1c3d5767 100644
--- a/resources/ansible_roles/opnfv-testapi/tasks/report.yml
+++ b/resources/ansible_roles/opnfv-testapi/tasks/report.yml
@@ -26,5 +26,6 @@
scenario: "{{ scenario }}"
start_date: "{{ ansible_date_time.date }}"
stop_date: "{{ ansible_date_time.date }}"
- criteria: "unknown"
- details: "{{ pod_result }}"
+ criteria: "{{ pod_result.score }}"
+ details:
+ score: "{{ pod_result.score }}"