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 7d32b66f6fbbe3c92967b2e6cea0718438cb9076, 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 7d32b66f6fbbe3c92967b2e6cea0718438cb9076 (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f 7d32b66f6fbbe3c92967b2e6cea0718438cb9076
Commit message: "npm package update assetIds"
> git rev-list --no-walk 6269c166ac03f26d0001084d19d5dc368f61bacf # timeout=10
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins6714947279596139464.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 4 packages in 8s
+ 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.19) 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-11-27T09:22:40.156Z - Hash: eba40968118461230c02 - Time: 8208ms
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:[93m150[0m:[93m55[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m150[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:[93m151[0m:[93m55[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m151[0m this.get_products(this.aktuelleOPVorbereitung.assetIds[i]);
[7m [0m [91m ~~~~~~~~[0m
[96msrc/app/op-vorbereitung-component/op-vorbereitung.component.ts[0m:[93m218[0m:[93m59[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m218[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:[93m220[0m:[93m100[0m - [91merror[0m[90m TS2339: [0mProperty 'assetIds' does not exist on type 'Treatment'.
[7m220[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-11-27T09_22_40_194Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE