FailedConsole Output

Started by user Simon Reis
Agent default-java-x4zxv is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (): 

Building remotely on default-java-x4zxv in workspace /home/jenkins/workspace/TestSonarFE
Cloning the remote Git repository
Cloning repository http://87.128.212.254:8880/gitblit-1.8.0/r/oK/PlannedGridMeasures/Frontend.git
 > git init /home/jenkins/workspace/TestSonarFE # timeout=10
Fetching upstream changes from http://87.128.212.254:8880/gitblit-1.8.0/r/oK/PlannedGridMeasures/Frontend.git
 > git --version # timeout=10
 > git fetch --tags --progress http://87.128.212.254:8880/gitblit-1.8.0/r/oK/PlannedGridMeasures/Frontend.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url http://87.128.212.254:8880/gitblit-1.8.0/r/oK/PlannedGridMeasures/Frontend.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url http://87.128.212.254:8880/gitblit-1.8.0/r/oK/PlannedGridMeasures/Frontend.git # timeout=10
Fetching upstream changes from http://87.128.212.254:8880/gitblit-1.8.0/r/oK/PlannedGridMeasures/Frontend.git
 > git fetch --tags --progress http://87.128.212.254:8880/gitblit-1.8.0/r/oK/PlannedGridMeasures/Frontend.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/Jenkins_Eclipse_TESTSONAR^{commit} # timeout=10
Checking out Revision 9e64188aa3fb9407f828e9697e2302345a8e1e5e (origin/Jenkins_Eclipse_TESTSONAR)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9e64188aa3fb9407f828e9697e2302345a8e1e5e
Commit message: "GNM-833 Eclipse Umgebung in Betrieb nehmen (GIT, Jenkins, Sonar)"
 > git rev-list --no-walk 9e64188aa3fb9407f828e9697e2302345a8e1e5e # timeout=10
Unpacking https://nodejs.org/dist/v10.8.0/node-v10.8.0-linux-x64.tar.gz to /home/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs-10.8.0 on default-java-x4zxv
[TestSonarFE] $ /bin/sh -xe /tmp/jenkins7719802756704659299.sh
+ npm run build --prod

> gridmeasure-fe@0.0.0 build /home/jenkins/workspace/TestSonarFE
> ng build --prod

sh: ng: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! gridmeasure-fe@0.0.0 build: `ng build --prod`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the gridmeasure-fe@0.0.0 build 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!     /home/jenkins/.npm/_logs/2018-08-16T13_39_46_060Z-debug.log
Build step 'Execute shell' marked build as failure
Recording test results
Archiving artifacts
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE