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_12.10/bin/npm install -g @angular/cli
internal/modules/cjs/loader.js:775
throw err;
^
Error: Cannot find module '../lib/utils/unsupported.js'
Require stack:
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)
at Function.Module._load (internal/modules/cjs/loader.js:677:27)
at Module.require (internal/modules/cjs/loader.js:830:19)
at require (internal/modules/cjs/helpers.js:68:18)
at /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm:19:21
at Object.<anonymous> (/var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm:153:3)
at Module._compile (internal/modules/cjs/loader.js:936:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm'
]
}
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins1913885131679585798.sh
+ npm install
internal/modules/cjs/loader.js:775
throw err;
^
Error: Cannot find module '../lib/utils/unsupported.js'
Require stack:
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)
at Function.Module._load (internal/modules/cjs/loader.js:677:27)
at Module.require (internal/modules/cjs/loader.js:830:19)
at require (internal/modules/cjs/helpers.js:68:18)
at /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm:19:21
at Object.<anonymous> (/var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm:153:3)
at Module._compile (internal/modules/cjs/loader.js:936:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.10/bin/npm'
]
}
Build step 'Execute shell' marked build as failure
Finished: FAILURE