Started by GitLab push by Moritz Weber
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 0eb81adeccb64b21382c8b6b187af0816d505c00, 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 0eb81adeccb64b21382c8b6b187af0816d505c00 (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0eb81adeccb64b21382c8b6b187af0816d505c00
Commit message: "Sidebar Active Router Style"
> git rev-list --no-walk 2f8660b71940c8a57f580fce4930b6830f67e7ac # timeout=10
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins4695050007188889514.sh
+ npm install
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"})
audited 18752 packages in 8.577s
found 0 vulnerabilities
+ npm run build -- --configuration=production --base-href ./
> diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular
> ng build "--configuration=production" "--base-href" "./"
chunk {0} runtime-es2015.24b02acc1f369d9b9f37.js (runtime) 2.83 kB [entry] [rendered]
chunk {1} main-es2015.a09b1db0e89192b2357e.js (main) 191 bytes [initial] [rendered]
chunk {2} polyfills-es2015.f3154ef75d61ac0e7b7d.js (polyfills) 193 bytes [initial] [rendered]
chunk {3} polyfills-es5-es2015.91a0abf61990f1db67d0.js (polyfills-es5) 147 kB [initial] [rendered]
chunk {4} styles.1763abeccfb5ca9d6a36.css (styles) 139 kB [initial] [rendered]
chunk {scripts} scripts.d6e751540ae178e87486.js (scripts) 31.7 kB [entry] [rendered]
Date: 2019-09-12T12:08:02.850Z - Hash: e2bb58214831f9107bea - Time: 10943ms
ERROR in src/app/sidebar-component/sidebar.component.html(139,15): Property 'router' is private and only accessible within class 'SidebarComponent'.
src/app/sidebar-component/sidebar.component.html(139,15): Property 'router' is private and only accessible within class 'SidebarComponent'.
src/app/sidebar-component/sidebar.component.html(147,15): Property 'router' is private and only accessible within class 'SidebarComponent'.
src/app/sidebar-component/sidebar.component.html(155,15): Property 'router' is private and only accessible within class 'SidebarComponent'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! diamant-frontend@0.0.0 build: `ng build "--configuration=production" "--base-href" "./"`
npm ERR! Exit status 1
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-09-12T12_08_02_886Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE