Started by user DIM Build
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 74139705e9445fa7ad021dc45e7f3fca242fb969 (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f 74139705e9445fa7ad021dc45e7f3fca242fb969
Commit message: "fixed production build issue"
> git rev-list --no-walk 2b3c95f43757e266eb623a7996ec2480802f42ee # timeout=10
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins975179643653571003.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 18.076s
found 0 vulnerabilities
+ npm run build -- --configuration=production
> diamant-frontend@0.0.0 build /var/jenkins_home/workspace/DIM-Diamant-Angular
> ng build "--configuration=production"
chunk {0} runtime-es2015.24b02acc1f369d9b9f37.js (runtime) 2.83 kB [entry] [rendered]
chunk {1} main-es2015.505850522e950ceca2c4.js (main) 1.3 MB [initial] [rendered]
chunk {2} polyfills-es2015.fd917e7c3ed57f282ee5.js (polyfills) 64.3 kB [initial] [rendered]
chunk {3} polyfills-es5-es2015.f24fb8cb85b392c952f0.js (polyfills-es5) 211 kB [initial] [rendered]
chunk {4} styles.6103019cee1707549a10.css (styles) 139 kB [initial] [rendered]
chunk {scripts} scripts.d6e751540ae178e87486.js (scripts) 31.7 kB [entry] [rendered]
Date: 2019-09-12T08:19:10.012Z - Hash: e74ceb27ebbe7d63d736 - Time: 47557ms
Generating ES5 bundles for differential loading...
ES5 bundle generation complete.
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins8627989189666311617.sh
+ rm -rf docker/diamant-frontend
+ cp -r dist/diamant-frontend docker/
Docker Build
Docker Build: building image at path /var/jenkins_home/workspace/DIM-Diamant-Angular/docker
Step 1/4 : FROM httpd:2.4
---> 2d1e5208483c
Step 2/4 : MAINTAINER Data In Motion Consulting GmbH
---> Using cache
---> 34ba210f9bfe
Step 3/4 : COPY ./httpd-docker.conf /usr/local/apache2/conf/httpd.conf
---> d299463b8ee6
Step 4/4 : COPY ./diamant-frontend/ /usr/local/apache2/htdocs/
---> 54483f795e7d
Successfully built 54483f795e7d
Tagging built image with devel.data-in-motion.biz:6000/dim/diamant/frontend:dev-24
Tagging built image with devel.data-in-motion.biz:6000/dim/diamant/frontend:dev-latest
Docker Build Response : 54483f795e7d
Pushing [devel.data-in-motion.biz:6000/dim/diamant/frontend:dev-24, devel.data-in-motion.biz:6000/dim/diamant/frontend:dev-latest]
The push refers to repository [devel.data-in-motion.biz:6000/dim/diamant/frontend]
ae49d18287fb: Preparing
bd938ce5d82a: Preparing
85f2134b775c: Preparing
348e7202c3ba: Preparing
6d3625e8d3b1: Preparing
2882431cb66d: Preparing
6744ca1b1190: Preparing
2882431cb66d: Waiting
6744ca1b1190: Waiting
85f2134b775c: Layer already exists
6d3625e8d3b1: Layer already exists
2882431cb66d: Layer already exists
348e7202c3ba: Layer already exists
6744ca1b1190: Layer already exists
bd938ce5d82a: Pushing [=> ] 512B/20.68kB
ae49d18287fb: Pushing [> ] 31.87kB/2.637MB
ae49d18287fb: Pushing [===============================> ] 1.671MB/2.637MB
ae49d18287fb: Pushing [==================================================>] 2.649MB
bd938ce5d82a: Pushing [==================================================>] 24.58kB
ae49d18287fb: Pushed
bd938ce5d82a: Pushed
dev-24: digest: sha256:6eeef13abcf27a13539529a5552bbe481adea9fc9a9795bef77fc01c359afa35 size: 1785
The push refers to repository [devel.data-in-motion.biz:6000/dim/diamant/frontend]
ae49d18287fb: Preparing
bd938ce5d82a: Preparing
85f2134b775c: Preparing
348e7202c3ba: Preparing
6d3625e8d3b1: Preparing
2882431cb66d: Preparing
6744ca1b1190: Preparing
2882431cb66d: Waiting
6744ca1b1190: Waiting
6d3625e8d3b1: Layer already exists
85f2134b775c: Layer already exists
bd938ce5d82a: Layer already exists
348e7202c3ba: Layer already exists
ae49d18287fb: Layer already exists
2882431cb66d: Layer already exists
6744ca1b1190: Layer already exists
dev-latest: digest: sha256:6eeef13abcf27a13539529a5552bbe481adea9fc9a9795bef77fc01c359afa35 size: 1785
Cleaning local images [54483f795e7d]
Docker Build Done
Finished: SUCCESS