Ensure dst subfolder exists in post build jobs

We ensure that parent directory exists while trying to sync into
subdir, as result post job failed.
This patch ensures we created subdirectory where we will sync files
before sync.

Change-Id: I85ad8d6d719d0115c869a11cac3233ef203de1be
Closes-Bug: #1727652
This commit is contained in:
Vasyl Saienko 2017-10-26 13:41:21 +03:00
parent 3e1724ca86
commit e1475e03b1
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
- name: Ensure artifacts directory exists
file:
path: '{{ zuul.executor.work_root }}/artifacts'
path: '{{ zuul.executor.work_root }}/artifacts/coreos/files'
state: directory
delegate_to: localhost

View File

@ -3,7 +3,7 @@
- name: Ensure artifacts directory exists
file:
path: '{{ zuul.executor.work_root }}/artifacts'
path: '{{ zuul.executor.work_root }}/artifacts/tinyipa/files'
state: directory
delegate_to: localhost