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 74139705e9445fa7ad021dc45e7f3fca242fb969 # timeout=10
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins7448780762122670771.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 9.01s
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:32:45.042Z - Hash: e74ceb27ebbe7d63d736 - Time: 23158ms
Generating ES5 bundles for differential loading...
ES5 bundle generation complete.
[DIM-Diamant-Angular] $ /bin/sh -xe /tmp/jenkins1914566548825136163.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
---> 88c9db836802
Step 4/4 : COPY ./diamant-frontend/ /usr/local/apache2/htdocs/
---> 65cbe620751b
Successfully built 65cbe620751b
Tagging built image with devel.data-in-motion.biz:6000/dim/diamant/frontend:dev-27
Tagging built image with devel.data-in-motion.biz:6000/dim/diamant/frontend:dev-latest
Docker Build Response : 65cbe620751b
Pushing [devel.data-in-motion.biz:6000/dim/diamant/frontend:dev-27, 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]
2bfd6468f614: Preparing
9e605885ae33: Preparing
85f2134b775c: Preparing
348e7202c3ba: Preparing
6d3625e8d3b1: Preparing
2882431cb66d: Preparing
6744ca1b1190: Preparing
6744ca1b1190: Waiting
2882431cb66d: Waiting
6d3625e8d3b1: Layer already exists
85f2134b775c: Layer already exists
348e7202c3ba: Layer already exists
6744ca1b1190: Layer already exists
2882431cb66d: Layer already exists
9e605885ae33: Pushing [=> ] 512B/20.68kB
2bfd6468f614: Pushing [> ] 31.87kB/2.637MB
2bfd6468f614: Pushing [======================> ] 1.18MB/2.637MB
2bfd6468f614: Pushing [==================================================>] 2.649MB
9e605885ae33: Pushing [==================================================>] 24.58kB
9e605885ae33: Pushed
2bfd6468f614: Pushed
dev-27: digest: sha256:c173530e0208aa3b307e357f2d894634cff11a05a1d6b875d935674fd3bd9ed5 size: 1785
The push refers to repository [devel.data-in-motion.biz:6000/dim/diamant/frontend]
2bfd6468f614: Preparing
9e605885ae33: Preparing
85f2134b775c: Preparing
348e7202c3ba: Preparing
6d3625e8d3b1: Preparing
2882431cb66d: Preparing
6744ca1b1190: Preparing
2882431cb66d: Waiting
6744ca1b1190: Waiting
6d3625e8d3b1: Layer already exists
2bfd6468f614: Layer already exists
85f2134b775c: Layer already exists
9e605885ae33: Layer already exists
348e7202c3ba: Layer already exists
6744ca1b1190: Layer already exists
2882431cb66d: Layer already exists
dev-latest: digest: sha256:c173530e0208aa3b307e357f2d894634cff11a05a1d6b875d935674fd3bd9ed5 size: 1785
Cleaning local images [65cbe620751b]
Docker Build Done
Finished: SUCCESS