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
 > git init /home/jenkins/workspace/TestSonarFE # timeout=10
Fetching upstream changes from
 > git --version # timeout=10
 > git fetch --tags --progress +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url # timeout=10
Fetching upstream changes from
 > git fetch --tags --progress +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 to /home/jenkins/tools/ on default-java-x4zxv
[TestSonarFE] $ /bin/sh -xe /tmp/
+ 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! 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