Do not cat npm-shrinkwrap.json

Upload it to logs instead. This is done because we suspect that
executing cat on a large text file does not play well with
jenkins.

Change-Id: I8512c9b132f2707db265633d5e16378b1d87d4da
This commit is contained in:
Michael Krotscheck 2016-04-07 13:30:09 -07:00
parent d2981e1b8d
commit af693d57c6
No known key found for this signature in database
GPG Key ID: 20E618D878DE38AB
2 changed files with 15 additions and 1 deletions

View File

@ -37,6 +37,10 @@
source: 'reports/**'
keep-hierarchy: true
copy-after-failure: true
- target: 'logs/$LOG_PATH'
source: 'npm-shrinkwrap.json'
keep-hierarchy: false
copy-after-failure: false
# Builds and uploads a tarball using NPM.
- job-template:
@ -69,6 +73,13 @@
project: '{name}'
site: '{tarball-site}'
- console-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'npm-shrinkwrap.json'
keep-hierarchy: false
copy-after-failure: false
# Builds and uploads a draft version of the project to docs-draft.
- job-template:
@ -113,6 +124,10 @@
source: 'dist/**'
keep-hierarchy: true
copy-after-failure: false
- target: 'logs/$LOG_PATH'
source: 'npm-shrinkwrap.json'
keep-hierarchy: false
copy-after-failure: false
# Builds a draft application and uploads it to docs-draft. To use this build,
# your Gruntfile must declare a target named "build:draft"

View File

@ -272,7 +272,6 @@
# Execute shrinkwrap, and output the dependencies that were used.
npm prune # https://github.com/npm/npm/issues/6298
npm shrinkwrap
cat ./npm-shrinkwrap.json
- builder:
name: xvfb-start