Started by user DIM Build 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/* > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision 7079dc6c415465cfe9fe3711d28217b04ee72815 (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 7079dc6c415465cfe9fe3711d28217b04ee72815 Commit message: "build" > git rev-list --no-walk 7079dc6c415465cfe9fe3711d28217b04ee72815 # timeout=10 [DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins8467935775533258045.sh + npm install --registry https://devel.data-in-motion.biz/nexus/repository/dim-npm/ npm WARN bootstrap@4.3.1 requires a peer of popper.js@^1.14.7 but none is installed. You must install peer dependencies yourself. npm WARN keycloak-angular@7.0.1 requires a peer of keycloak-js@>= 3.4.3 < 7 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/webpack-dev-server/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/watchpack/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/karma/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@angular/compiler-cli/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) up to date in 6.467s + npm run build -- --configuration=prod > diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular > ng build "--configuration=prod" sh: 1: ng: Permission denied npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR! diamant-frontend@0.0.0 build: `ng build "--configuration=prod"` 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/.npm/_logs/2019-11-14T12_49_50_035Z-debug.log Build step 'Execute shell' marked build as failure Finished: FAILURE