
This isn't really a thing in v3, but structurally it's a thing we need to provide to v2 jobs so they don't get confused. Change-Id: Icb528444f44f18ca29e02154513b9facefd04c89
22 lines
619 B
YAML
22 lines
619 B
YAML
- hosts: all
|
|
tasks:
|
|
|
|
- name: Ensure artifacts directory exists
|
|
file:
|
|
path: '{{ zuul.executor.work_root }}/artifacts'
|
|
state: directory
|
|
delegate_to: localhost
|
|
|
|
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
synchronize:
|
|
src: '{{ ansible_user_dir }}/workspace/'
|
|
dest: '{{ zuul.executor.work_root }}/artifacts/gerrit'
|
|
mode: pull
|
|
copy_links: true
|
|
verify_host: true
|
|
rsync_opts:
|
|
- --include=/gerrit/buck-out/gen/gerrit-*.war
|
|
- --include=*/
|
|
- --exclude=*
|
|
- --prune-empty-dirs
|