Started by user Michal Siemaszko
Running as SYSTEM
Building in workspace /var/jenkins_home/jobs/DIM-Diamant-Angular/workspace
The recommended git tool is: NONE
using credential Gitlab-Builder
> 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
> git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials Gitlab user for Jenkins
> git fetch --tags --force --progress -- https://gitlab.com/datainmotion/diamant/frontend.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
Checking out Revision 1484ed7a22df22162e4598d1ceb0c68fe1f71a6b (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1484ed7a22df22162e4598d1ceb0c68fe1f71a6b # timeout=10
Commit message: "changed names to diamant"
> git rev-list --no-walk 1484ed7a22df22162e4598d1ceb0c68fe1f71a6b # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins8797472753358502179.sh
+ npm install --registry https://devel.data-in-motion.biz/nexus/repository/npm-group/ -g @angular/cli
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@angular/cli@12.2.5',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '^12.14.1 || >=14.0.0',
npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6',
npm WARN EBADENGINE yarn: '>= 1.13.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v15.0.1', npm: '7.0.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@angular-devkit/architect@0.1202.5',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '^12.14.1 || >=14.0.0',
npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6',
npm WARN EBADENGINE yarn: '>= 1.13.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v15.0.1', npm: '7.0.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@angular-devkit/core@12.2.5',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '^12.14.1 || >=14.0.0',
npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6',
npm WARN EBADENGINE yarn: '>= 1.13.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v15.0.1', npm: '7.0.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@angular-devkit/schematics@12.2.5',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '^12.14.1 || >=14.0.0',
npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6',
npm WARN EBADENGINE yarn: '>= 1.13.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v15.0.1', npm: '7.0.3' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@schematics/angular@12.2.5',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '^12.14.1 || >=14.0.0',
npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6',
npm WARN EBADENGINE yarn: '>= 1.13.0'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v15.0.1', npm: '7.0.3' }
npm WARN EBADENGINE }
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
changed 239 packages in 19s
23 packages are looking for funding
run `npm fund` for details
+ npm install --registry https://devel.data-in-motion.biz/nexus/repository/npm-group/
up to date in 5s
+ npm run build -- --configuration=production
> diamant-frontend@0.0.0 build
> ng build "--configuration=production"
Node.js version v15.0.1 detected.
Odd numbered Node.js versions will not enter LTS status and should not be used for production. For more information, please see https://nodejs.org/en/about/releases/.
An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'
Require stack:
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/index.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/models/architect-command.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/commands/build-impl.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/node_modules/@angular-devkit/schematics/tools/export-ref.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/node_modules/@angular-devkit/schematics/tools/index.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/utilities/json-schema.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/models/command-runner.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/lib/cli/index.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/lib/init.js
- /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/NodeJS15.0.1/lib/node_modules/@angular/cli/bin/ng
See "/tmp/ng-GoYUNU/angular-errors.log" for further details.
npm ERR! code 127
npm ERR! path /var/jenkins_home/jobs/DIM-Diamant-Angular/workspace
npm ERR! command failed
npm ERR! command sh -c ng build "--configuration=production"
npm ERR! A complete log of this run can be found in:
npm ERR! /var/jenkins_home/jobs/DIM-Diamant-Angular/workspace/.npm/_logs/2021-09-12T19_44_43_726Z-debug.log
Build step 'Execute shell' marked build as failure
Finished: FAILURE