Use zj_sphinx_pdf instead of item

Change-Id: I8ed9c0e1ebb8cf43335ee49f11a320ddabb29eb5
This commit is contained in:
Albin Vass 2020-05-01 22:49:35 +02:00
parent 1075767b18
commit 0c7673054a

View File

@ -39,7 +39,7 @@
- name: Fetch PDF files
synchronize:
dest: "{{ zuul.executor.log_root }}/pdf/{{ zj_pdf.item }}"
dest: "{{ zuul.executor.log_root }}/pdf/{{ zj_pdf.zj_sphinx_pdf }}"
mode: pull
src: "{{ zj_pdf.stat.path }}"
verify_host: true
@ -54,8 +54,8 @@
data:
zuul:
artifacts:
- name: "Docs PDF: {{ zj_pdf.item }}"
url: "pdf/{{ zj_pdf.item }}"
- name: "Docs PDF: {{ zj_pdf.zj_sphinx_pdf }}"
url: "pdf/{{ zj_pdf.zj_sphinx_pdf }}"
metadata:
type: docs_pdf
with_items: "{{ pdf_file_stat.results }}"