openstack-tox-molecule: replace success-url and failure-url

Fixed issue introduced by new logs browsing experience where
success-url and failure-url are no longer working.

Change-Id: Id8a3202235ea48129aa7883b00a2a3095cadf6fe
Needed-By: https://review.opendev.org/#/c/669223/
This commit is contained in:
Sorin Sbarnea 2019-09-10 14:07:56 +01:00
parent a052c6ad56
commit 71c392db3d
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,11 @@
- hosts: all
tasks:
- name: Return artifact to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "Molecule report"
url: "tox/reports.html"
metadata:
type: html_report

View File

@ -209,8 +209,7 @@
Runs molecule to test Ansible roles.
Uses tox with the ``molecule`` environment.
success-url: "tox/reports.html"
failure-url: "tox/reports.html"
post-run: playbooks/tox-molecule/post.yaml
vars:
bindep_profile: test molecule