Skip to content
Failed

Console Output

Started by GitLab push by Moritz Weber
Running as SYSTEM
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/*
skipping resolution of commit 63eefe08b3bb96d2a294780e034dea732199aae9, since it originates from another repository
 > 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 5ec3d89f0efbb341a27d66c62bd7ec084e67934b # timeout=10
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins2443094337172942158.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
updated 2 packages in 7.155s
+ npm run build -- --configuration=production

> diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular
> ng build "--configuration=production"

sh: 1: ng: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! diamant-frontend@0.0.0 build: `ng build "--configuration=production"`
npm ERR! Exit status 126
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 ERR! A complete log of this run can be found in:
npm ERR!     /var/jenkins_home/workspace/DIM-Diamant-Angular/.npm/_logs/2019-11-15T13_22_54_964Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE