Skip to content
Failed

Console Output

Started by user DIM Build
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/DIM-TrackMe-Frontend
using credential jenkins_gitlab
Cloning the remote Git repository
Cloning repository https://gitlab.com/datainmotion/trafficos/trackme-frontend
 > git init /var/jenkins_home/workspace/DIM-TrackMe-Frontend # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/trafficos/trackme-frontend
 > git --version # timeout=10
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
 > git fetch --tags --progress https://gitlab.com/datainmotion/trafficos/trackme-frontend +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitlab.com/datainmotion/trafficos/trackme-frontend # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitlab.com/datainmotion/trafficos/trackme-frontend # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/trafficos/trackme-frontend
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
 > git fetch --tags --progress https://gitlab.com/datainmotion/trafficos/trackme-frontend +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 fa0a372163b6b07b814d66e7c0b6e1ca52125a30 (refs/remotes/origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fa0a372163b6b07b814d66e7c0b6e1ca52125a30
Commit message: "date fix and URL params"
First time build. Skipping changelog.
[DIM-TrackMe-Frontend] $ /bin/sh -xe /tmp/jenkins3249248105180351107.sh
+ npm install --registry https://devel.data-in-motion.biz/nexus/repository/npm-group/ -g @angular/cli
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
/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@9.0.4 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@9.0.4
added 13 packages from 24 contributors, removed 3 packages and updated 39 packages in 42.774s
+ npm install --registry https://devel.data-in-motion.biz/nexus/repository/npm-group/
npm WARN saveError ENOENT: no such file or directory, open '/var/jenkins_home/workspace/DIM-TrackMe-Frontend/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/var/jenkins_home/workspace/DIM-TrackMe-Frontend/package.json'
npm WARN DIM-TrackMe-Frontend No description
npm WARN DIM-TrackMe-Frontend No repository field.
npm WARN DIM-TrackMe-Frontend No README data
npm WARN DIM-TrackMe-Frontend No license field.

up to date in 0.139s
+ npm run build -- --configuration=production
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/jenkins_home/workspace/DIM-TrackMe-Frontend/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/jenkins_home/workspace/DIM-TrackMe-Frontend/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/jenkins_home/workspace/DIM-TrackMe-Frontend/.npm/_logs/2020-02-28T12_25_05_753Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE