Started by user DIM Build
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/DIM-TrackMe-Frontend
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/trafficos/trackme-frontend # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/trafficos/trackme-frontend
> git --version # timeout=10
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
> git fetch --tags --progress https://gitlab.com/datainmotion/trafficos/trackme-frontend +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 3e732314c00042736f1b3fbb62081f48d6f3f207 (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f 3e732314c00042736f1b3fbb62081f48d6f3f207
Commit message: "docker"
> git rev-list --no-walk 3e732314c00042736f1b3fbb62081f48d6f3f207 # timeout=10
[DIM-TrackMe-Frontend] $ /bin/sh -xe /tmp/jenkins4943794940462677176.sh
+ cd trackMe
+ npm install -g @angular/cli
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
/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@9.0.4 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@9.0.4
updated 1 package in 5.271s
+ npm install
npm WARN axobject-query@2.1.1 requires a peer of eslint@^5 || ^6 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.4.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.4.1 requires a peer of popper.js@^1.16.0 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.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 18988 packages in 6.527s
found 5 vulnerabilities (3 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
+ npm run build -- --configuration=production
> track-me@0.0.0 build /var/jenkins_home/workspace/DIM-TrackMe-Frontend/trackMe
> ng build "--configuration=production"
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
Generating ES5 bundles for differential loading...
ES5 bundle generation complete.
chunk {2} polyfills-es2015.2987770fde9daa1d8a2e.js (polyfills) 36.4 kB [initial] [rendered]
chunk {3} polyfills-es5.6696c533341b95a3d617.js (polyfills-es5) 123 kB [initial] [rendered]
chunk {0} runtime-es2015.edb2fcf2778e7bf1d426.js (runtime) 1.45 kB [entry] [rendered]
chunk {0} runtime-es5.edb2fcf2778e7bf1d426.js (runtime) 1.45 kB [entry] [rendered]
chunk {1} main-es2015.2d9e9eb05766ed44dabd.js (main) 390 kB [initial] [rendered]
chunk {1} main-es5.2d9e9eb05766ed44dabd.js (main) 440 kB [initial] [rendered]
chunk {4} styles.99e65fa2db6863690710.css (styles) 211 kB [initial] [rendered]
Date: 2020-02-28T12:39:03.605Z - Hash: 091457a37401db345e07 - Time: 19782ms
WARNING in ./src/app/app.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(21:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/landing-page/landing-page.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(21:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/impressum/impressum.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(21:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/sample-data/sample-data.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(21:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/upload/upload.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(21:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/your-showcase/sample-data.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(21:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/app.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(22:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/landing-page/landing-page.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(22:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/impressum/impressum.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(22:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/sample-data/sample-data.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(22:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/upload/upload.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(22:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/your-showcase/sample-data.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(22:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/sample-data/sample-data.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(425:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/upload/upload.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(425:1) @import must precede all other statements (besides @charset)
WARNING in ./src/app/your-showcase/sample-data.component.css
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(425:1) @import must precede all other statements (besides @charset)
WARNING in budgets, maximum exceeded for /var/jenkins_home/workspace/DIM-TrackMe-Frontend/trackMe/src/app/sample-data/sample-data.component.css. Budget 6 kB was exceeded by 319 bytes.
WARNING in budgets, maximum exceeded for /var/jenkins_home/workspace/DIM-TrackMe-Frontend/trackMe/src/app/upload/upload.component.css. Budget 6 kB was exceeded by 319 bytes.
WARNING in budgets, maximum exceeded for /var/jenkins_home/workspace/DIM-TrackMe-Frontend/trackMe/src/app/your-showcase/sample-data.component.css. Budget 6 kB was exceeded by 319 bytes.
[DIM-TrackMe-Frontend] $ /bin/sh -xe /tmp/jenkins1618948142189426022.sh
+ rm -rf trackMe/docker/trackMe
+ cp -r trackMe/dist/trackMe trackMe/docker/
Docker Build
Docker Build: building image at path /var/jenkins_home/workspace/DIM-TrackMe-Frontend/trackMe/docker
Step 1/4 : FROM httpd:2.4
---> 19459a872194
Step 2/4 : MAINTAINER Data In Motion Consulting GmbH
---> Using cache
---> 43fd7ca25ccc
Step 3/4 : COPY ./httpd-docker.conf /usr/local/apache2/conf/httpd.conf
---> 12c5dc9b5686
Step 4/4 : COPY ./diamant-frontend/ /usr/local/apache2/htdocs/
ERROR: Build step failed with exception
com.github.dockerjava.api.exception.DockerClientException: Could not build image: COPY failed: stat /var/lib/docker/tmp/docker-builder258941596/diamant-frontend: no such file or directory
at com.github.dockerjava.core.command.BuildImageResultCallback.getImageId(BuildImageResultCallback.java:79)
at com.github.dockerjava.core.command.BuildImageResultCallback.awaitImageId(BuildImageResultCallback.java:51)
at com.nirima.jenkins.plugins.docker.builder.DockerBuilderPublisher$Run.buildImage(DockerBuilderPublisher.java:351)
at com.nirima.jenkins.plugins.docker.builder.DockerBuilderPublisher$Run.run(DockerBuilderPublisher.java:281)
at com.nirima.jenkins.plugins.docker.builder.DockerBuilderPublisher.perform(DockerBuilderPublisher.java:427)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1815)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step 'Build / Publish Docker Image' marked build as failure
Finished: FAILURE