Started by user DIM Build
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/DIM-Diamant-Angular
using credential jenkins_gitlab
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://gitlab.com/datainmotion/diamant/frontend.git # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/diamant/frontend.git
> git --version # timeout=10
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
> git fetch --tags --progress https://gitlab.com/datainmotion/diamant/frontend.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10
Checking out Revision feb80f41f757a9ada37236fa78a9a90e7fc6344d (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f feb80f41f757a9ada37236fa78a9a90e7fc6344d
Commit message: "changes"
> git rev-list --no-walk feb80f41f757a9ada37236fa78a9a90e7fc6344d # timeout=10
$ /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_13.1/bin/npm install -g @angular/cli
/var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_13.1/bin/ng -> /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_13.1/lib/node_modules/@angular/cli/bin/ng
> @angular/cli@8.3.19 postinstall /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_13.1/lib/node_modules/@angular/cli
> node ./bin/postinstall/script.js
sh: 1: node: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! @angular/cli@8.3.19 postinstall: `node ./bin/postinstall/script.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @angular/cli@8.3.19 postinstall 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! /root/.npm/_logs/2019-11-14T12_27_27_348Z-debug.log
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins8984498469608152055.sh
+ npm config set user 0
+ npm config set unsafe-perm true
+ npm install
npm WARN bootstrap@4.3.1 requires a peer of popper.js@^1.14.7 but none is installed. You must install peer dependencies yourself.
npm WARN keycloak-angular@7.0.1 requires a peer of keycloak-js@>= 3.4.3 < 7 but none is installed. You must install peer dependencies yourself.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@diamant%2fmodel - Not found
npm ERR! 404
npm ERR! 404 '@diamant/model@1.0.7' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'DIM-Diamant-Angular'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm WARN tar ENOENT: no such file or directory, open '/var/jenkins_home/workspace/DIM-Diamant-Angular/node_modules/.staging/typescript-19b2e9a0/lib/typesMap.json'
npm WARN tar ENOENT: no such file or directory, open '/var/jenkins_home/workspace/DIM-Diamant-Angular/node_modules/.staging/typescript-19b2e9a0/lib/typingsInstaller.js'
npm ERR! A complete log of this run can be found in:
npm ERR! /var/jenkins_home/workspace/DIM-Diamant-Angular/.npm/_logs/2019-11-14T12_27_35_380Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE