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
This commit is contained in:
parent
d89d62a5e1
commit
3935deda60
@ -1,8 +1,10 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- add-fileserver
|
||||
- role: add-fileserver
|
||||
when: zuul_success | bool
|
||||
|
||||
- hosts: "{{ fileserver.fqdn }}"
|
||||
gather_facts: False
|
||||
roles:
|
||||
- publish-artifacts-to-fileserver
|
||||
- role: publish-artifacts-to-fileserver
|
||||
when: zuul_success | bool
|
||||
|
Loading…
Reference in New Issue
Block a user