Started by user DIM Build Running as SYSTEM Building in workspace /var/jenkins_home/workspace/DIM-Diamant-Angular-Medica 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 63eefe08b3bb96d2a294780e034dea732199aae9 (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 63eefe08b3bb96d2a294780e034dea732199aae9 Commit message: "medica" > git rev-list --no-walk 63eefe08b3bb96d2a294780e034dea732199aae9 # timeout=10 [DIM-Diamant-Angular-Medica] $ /bin/sh -xe /tmp/jenkins7852668840131278068.sh + npm install --registry https://devel.data-in-motion.biz/nexus/repository/npm-group/ -g @angular/cli /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.13/bin/ng -> /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.13/lib/node_modules/@angular/cli/bin/ng > @angular/cli@8.3.19 postinstall /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_12.13/lib/node_modules/@angular/cli > node ./bin/postinstall/script.js + @angular/cli@8.3.19 added 1 package from 1 contributor and updated 1 package in 3.853s + npm run build -- --configuration=medica > diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular-Medica > ng build "--configuration=medica" An unhandled exception occurred: Could not find module "@angular-devkit/build-angular" from "/var/jenkins_home/workspace/DIM-Diamant-Angular-Medica". See "/tmp/ng-i2ThbG/angular-errors.log" for further details. npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! diamant-frontend@0.0.0 build: `ng build "--configuration=medica"` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the diamant-frontend@0.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /var/jenkins_home/workspace/DIM-Diamant-Angular-Medica/.npm/_logs/2019-11-15T13_24_01_068Z-debug.log Build step 'Execute shell' marked build as failure Finished: FAILURE