OpenNTI/nti.web.service

node-modules/nti.web.service #8 failed

Closed this issue · 1 comments

Build 'node-modules/nti.web.service' is failing!

Last 50 lines of build output:

[...truncated 1.46 KB...]
Building nti-web-service@1.7.0-alpha201708211509
; cli configs
metrics-registry = "https://npm.nextthought.com/"
scope = ""
user-agent = "npm/5.3.0 node/v6.10.3 darwin x64"

; userconfig /Users/Shared/Jenkins/.npmrc
registry = "https://npm.nextthought.com/"

; node bin location = /usr/local/bin/node
; cwd = /Users/Shared/Jenkins/Home/workspace/node-modules/nti.web.service
; HOME = /Users/Shared/Jenkins
; "npm config ls -l" to show all defaults.

npm notice created a lockfile as package-lock.json. You should commit this file.

> nti-web-service@1.7.0-alpha.201708211509 prepack .
> eslint ./src && npm test


> nti-web-service@1.7.0-alpha.201708211509 test /Users/Shared/Jenkins/Home/workspace/node-modules/nti.web.service
> istanbul cover ./node_modules/.bin/_mocha -- ./test/ --recursive --reporter mocha-junit-reporter --reporter-options mochaFile=./reports/test-results/index.xml

=============================================================================
Writing coverage object [/Users/Shared/Jenkins/Home/workspace/node-modules/nti.web.service/reports/coverage/coverage.json]
Writing coverage reports at [/Users/Shared/Jenkins/Home/workspace/node-modules/nti.web.service/reports/coverage]
=============================================================================

=============================== Coverage summary ===============================
Statements   : 87.78% ( 711/810 ), 2 ignored
Branches     : 82.87% ( 300/362 ), 17 ignored
Functions    : 89.77% ( 79/88 )
Lines        : 88.15% ( 692/785 )
================================================================================
npm ERR! Test failed.  See above for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nti-web-service@1.7.0-alpha.201708211509 prepack: `eslint ./src && npm test`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nti-web-service@1.7.0-alpha.201708211509 prepack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/Shared/Jenkins/.npm/_logs/2017-08-21T20_10_39_881Z-debug.log
ERROR! This is most likely because of a mistake within the provided script. Shell is returning exit code 1
Build step 'Run Deployment Manager' changed build result to FAILURE
Skipping Cobertura coverage report as build was not SUCCESS or better ...
Recording test results

Changes since last successful build:

  • [Jonathan Grimes] c3889a9 - add an api to resolve redirects

  • [Jonathan Grimes] 6ba1dbc - update lock

View full output

Build was fixed!