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:
parent
d2981e1b8d
commit
af693d57c6
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user