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 72948dd2aef8a3868a4ea7f3fad5de41a1a4e54d, 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 72948dd2aef8a3868a4ea7f3fad5de41a1a4e54d (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f 72948dd2aef8a3868a4ea7f3fad5de41a1a4e54d
Commit message: "fix"
> git rev-list --no-walk abe3f52c6c195741b819e5a16d391c948d3e482b # timeout=10
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins1853619359375284735.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.20 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.20
updated 1 package in 62.162s
+ npm run build -- --configuration=production
> diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular
> ng build "--configuration=production"
Your global Angular CLI version (8.3.20) is greater than your local
version (8.3.0). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
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.1a561d408a3da0685b22.css (styles) 139 kB [initial] [rendered]
chunk {scripts} scripts.d6e751540ae178e87486.js (scripts) 31.7 kB [entry] [rendered]
Date: 2019-12-11T08:49:01.185Z - Hash: 219599cb2c7c9c5cd8bf - Time: 21285ms
ERROR in [96msrc/app/product-component/product.component.ts[0m:[93m214[0m:[93m11[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m214[0m opv.assetIds = $('#opVorbereitungProdukte').val();;
[7m [0m [91m ~~~~~~~~[0m
[96msrc/app/op-vorbereitung-component/op-vorbereitung.component.ts[0m:[93m125[0m:[93m97[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m125[0m this.httpClient.post(environment.restURL + '/rest/entry/' + this.aktuelleOPVorbereitung.assetIds[0], opBericht.toJsonString(), { headers: header }).subscribe((response: any[]) => {
[7m [0m [91m ~~~~~~~~[0m
[96msrc/app/op-vorbereitung-component/op-vorbereitung.component.ts[0m:[93m151[0m:[93m55[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m151[0m for (var i = 0; i < this.aktuelleOPVorbereitung.assetIds.length; i++) {
[7m [0m [91m ~~~~~~~~[0m
[96msrc/app/op-vorbereitung-component/op-vorbereitung.component.ts[0m:[93m152[0m:[93m55[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m152[0m this.get_products(this.aktuelleOPVorbereitung.assetIds[i]);
[7m [0m [91m ~~~~~~~~[0m
[96msrc/app/op-vorbereitung-component/op-vorbereitung.component.ts[0m:[93m219[0m:[93m59[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m219[0m for (var i = 0; i < this.aktuelleOPVorbereitung.assetIds.length; i++) {
[7m [0m [91m ~~~~~~~~[0m
[96msrc/app/op-vorbereitung-component/op-vorbereitung.component.ts[0m:[93m221[0m:[93m100[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m221[0m this.httpClient.get(environment.restURL + '/rest/entry/' + this.aktuelleOPVorbereitung.assetIds[i], { headers }).subscribe((response: any[]) => {
[7m [0m [91m ~~~~~~~~[0m
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! diamant-frontend@0.0.0 build: `ng build "--configuration=production"`
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/workspace/DIM-Diamant-Angular/.npm/_logs/2019-12-11T08_49_01_229Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE