project-config/playbooks/publish/openstack-artifacts.yaml
Andreas Jaeger 3935deda60 Upload artifacts only on success
We should not upload tarballs etc in case of job failures, only update
if job was successful.

Change-Id: I3f1abbf4e920b5d2526b79e40097b7a0d2053273
2017-11-01 07:19:52 +01:00

11 lines
228 B
YAML

- hosts: localhost
roles:
- role: add-fileserver
when: zuul_success | bool
- hosts: "{{ fileserver.fqdn }}"
gather_facts: False
roles:
- role: publish-artifacts-to-fileserver
when: zuul_success | bool