Monty Taylor 1075bbd082
Add workspace directory for converted legacy jobs
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
2017-09-27 08:14:22 -05:00

15 lines
473 B
YAML

- hosts: all
name: Autoconverted job legacy-npm-upload from old job {name}-npm-upload
tasks:
- name: Ensure legacy workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
/usr/local/jenkins/slave_scripts/npm-tarball-upload.sh $ZUUL_SHORT_PROJECT_NAME tarballs.openstack.org
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'