Console Output

Started by user Andrei Straut
Building in workspace /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url https://github.com/Andrei-Straut/jenkins-api-ts-typings # timeout=10
Fetching upstream changes from https://github.com/Andrei-Straut/jenkins-api-ts-typings
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > /usr/bin/git fetch --tags --progress https://github.com/Andrei-Straut/jenkins-api-ts-typings +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 288a5bc744e511819ca9db2f50b5505dbd51d9e0 (refs/remotes/origin/master)
Commit message: "Update README.md with Jenkins build status"
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 288a5bc744e511819ca9db2f50b5505dbd51d9e0
 > /usr/bin/git rev-list 288a5bc744e511819ca9db2f50b5505dbd51d9e0 # timeout=10
[Jenkins-API-TS-Typings-master] $ /bin/sh -xe /tmp/hudson8743124796631728427.sh
+ npm install

> weak@1.0.1 install /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master/node_modules/weak
> node-gyp rebuild

make: Entering directory '/home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master/node_modules/weak/build'
  CXX(target) Release/obj.target/weakref/src/weakref.o
make: g++: Command not found
weakref.target.mk:95: recipe for target 'Release/obj.target/weakref/src/weakref.o' failed
make: *** [Release/obj.target/weakref/src/weakref.o] Error 127
make: Leaving directory '/home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master/node_modules/weak/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/wildfly/.jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS_8.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.10.0-20-generic
gyp ERR! command "/home/wildfly/.jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS_8.4.0/bin/node" "/home/wildfly/.jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS_8.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master/node_modules/weak
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: weak@1.0.1 (node_modules/weak):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: weak@1.0.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

added 3 packages in 6.846s
+ npm run test:prod

> jenkins-api-ts-typings@0.2.0 test:prod /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> npm run lint && npm run test -- --coverage --no-cache


> jenkins-api-ts-typings@0.2.0 lint /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> tslint --project tsconfig.json -t codeFrame 'src/**/*.ts'




> jenkins-api-ts-typings@0.2.0 test /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> jest "--coverage" "--no-cache"

 PASS  test/JenkinsJob.test.ts
 PASS  test/JenkinsBuild.test.ts
 PASS  test/JenkinsNode.test.ts
 PASS  test/JenkinsChangeSet.test.ts
 PASS  test/JenkinsUser.test.ts
 PASS  test/JenkinsView.test.ts

Test Suites: 6 passed, 6 total
Tests:       197 passed, 197 total
Snapshots:   0 total
Time:        5.417s
Ran all test suites.
---------------------|----------|----------|----------|----------|----------------|
File                 |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
---------------------|----------|----------|----------|----------|----------------|
All files            |      100 |      100 |      100 |      100 |                |
 JenkinsBuild.ts     |      100 |      100 |      100 |      100 |                |
 JenkinsChangeSet.ts |      100 |      100 |      100 |      100 |                |
 JenkinsJob.ts       |      100 |      100 |      100 |      100 |                |
 JenkinsNode.ts      |      100 |      100 |      100 |      100 |                |
 JenkinsUser.ts      |      100 |      100 |      100 |      100 |                |
 JenkinsView.ts      |      100 |      100 |      100 |      100 |                |
---------------------|----------|----------|----------|----------|----------------|
+ npm run build-pkg

> jenkins-api-ts-typings@0.2.0 build-pkg /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> npm run build && npm pack && npm run copy-files && npm run clean


> jenkins-api-ts-typings@0.2.0 prebuild /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> rimraf dist && rimraf *.tgz


> jenkins-api-ts-typings@0.2.0 build /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> tsc && rollup -c && rimraf compiled && typedoc --out dist/docs --target es6 --theme minimal src && npm run git-info


Using TypeScript 2.3.4 from /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master/node_modules/typedoc/node_modules/typescript/lib


Documentation generated at /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master/dist/docs


> jenkins-api-ts-typings@0.2.0 git-info /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> git log -1 > dist/gitinfo

jenkins-api-ts-typings-0.2.0.tgz

> jenkins-api-ts-typings@0.2.0 copy-files /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> copyfiles package.json *.tgz test-report.* dist


> jenkins-api-ts-typings@0.2.0 clean /home/wildfly/.jenkins/workspace/Jenkins-API-TS-Typings-master
> rimraf *.tgz && rimraf test-report.*

Archiving artifacts
Publishing Clover coverage report...
Publishing Clover HTML report...
Publishing Clover XML report...
Publishing Clover coverage results...
Finished: SUCCESS