Started by user DIM Build
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 b3708dd0703e4c76aeda76159a2bc87e6aff6cad (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f b3708dd0703e4c76aeda76159a2bc87e6aff6cad
Commit message: "keycloak theme files"
First time build. Skipping changelog.
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins3185214121992990229.sh
+ npm run build
> diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular
> ng build
sh: 1: ng: not found
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`
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/.npm/_logs/2019-09-06T12_42_01_824Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE