Collect npm-shrinkwrap for javascript
Collect npm-shrinkwrap.json if it exists. Change-Id: I149dc99b1e9f08403a7f5c16ebf38dd7e734d975
This commit is contained in:
parent
d6d835e414
commit
238b2aaf6d
@ -60,3 +60,16 @@
|
||||
src: "{{ zuul_work_dir }}/karma.subunit"
|
||||
verify_host: true
|
||||
when: karma_stat.stat.exists
|
||||
|
||||
- name: Check again for shrinkwrap
|
||||
stat:
|
||||
path: "{{ zuul_work_dir }}/npm-shrinkwrap.json"
|
||||
register: shrinkwrap_final
|
||||
|
||||
- name: Collect shrinkwrap file
|
||||
synchronize:
|
||||
dest: "{{ log_path }}"
|
||||
mode: pull
|
||||
src: "{{ zuul_work_dir }}/npm-shrinkwrap.json"
|
||||
verify_host: true
|
||||
when: shrinkwrap_final.stat.exists
|
||||
|
Loading…
Reference in New Issue
Block a user