Skip to content

Console Output

16:41:20 Started by user unknown or anonymous
16:41:20 Running as SYSTEM
16:41:20 Building in workspace /data/jenkins/workspace/front-v5-web
16:41:20 The recommended git tool is: NONE
16:41:20 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
16:41:20 Cloning the remote Git repository
16:41:20 Cloning repository https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git
16:41:20  > /usr/local/git/bin/git init /data/jenkins/workspace/front-v5-web # timeout=10
16:41:20 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git
16:41:20  > /usr/local/git/bin/git --version # timeout=10
16:41:20  > git --version # 'git version 2.43.0'
16:41:20 using GIT_ASKPASS to set credentials gitlab凭据
16:41:20  > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git +refs/heads/*:refs/remotes/origin/* # timeout=10
16:41:24  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git # timeout=10
16:41:24  > /usr/local/git/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
16:41:24 Avoid second fetch
16:41:24  > /usr/local/git/bin/git rev-parse 8bef15a68286fc636429b73babc2d9fba70f58b1^{commit} # timeout=10
16:41:24 Checking out Revision 8bef15a68286fc636429b73babc2d9fba70f58b1 (detached)
16:41:24  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
16:41:24  > /usr/local/git/bin/git checkout -f 8bef15a68286fc636429b73babc2d9fba70f58b1 # timeout=10
16:41:25 Commit message: "Merge branch 'feat-临保保险' into test"
16:41:25  > /usr/local/git/bin/git rev-list --no-walk 4f283b794b424256b6b510d9f645abc17ae8190e # timeout=10
16:41:25 [front-v5-web] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins3452745475653113488.sh
16:41:25 + cd /data/jenkins/workspace/front-v5-web
16:41:25 + npm install --force
16:41:25 npm WARN using --force Recommended protections disabled.
16:41:36 npm WARN ERESOLVE overriding peer dependency
16:41:36 npm WARN Found: react@16.14.0
16:41:36 npm WARN node_modules/react
16:41:36 npm WARN   react@"^16.2.0" from the root project
16:41:36 npm WARN   7 more (antd, react-dom, redbox-react, bizcharts, ...)
16:41:36 npm WARN 
16:41:36 npm WARN Could not resolve dependency:
16:41:36 npm WARN peer react@"^15.0.0" from react-fittext@1.0.0
16:41:36 npm WARN node_modules/react-fittext
16:41:36 npm WARN   react-fittext@"^1.0.0" from the root project
16:41:36 npm WARN ERESOLVE overriding peer dependency
16:41:36 npm WARN Found: react-dom@16.14.0
16:41:36 npm WARN node_modules/react-dom
16:41:36 npm WARN   react-dom@"^16.2.0" from the root project
16:41:36 npm WARN   4 more (antd, redbox-react, bizcharts-plugin-slider, dva)
16:41:36 npm WARN 
16:41:36 npm WARN Could not resolve dependency:
16:41:36 npm WARN peer react-dom@"^15.0.0" from react-fittext@1.0.0
16:41:36 npm WARN node_modules/react-fittext
16:41:36 npm WARN   react-fittext@"^1.0.0" from the root project
16:42:30 npm WARN deprecated osenv@0.1.5: This package is no longer supported.
16:42:30 npm WARN deprecated @types/minimatch@6.0.0: This is a stub types definition. minimatch provides its own type definitions, so you do not need this installed.
16:42:30 npm WARN deprecated @types/history@5.0.0: This is a stub types definition. history provides its own type definitions, so you do not need this installed.
16:42:31 npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
16:42:31 npm WARN deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.
16:42:31 npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
16:42:31 npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
16:42:31 npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
16:42:31 npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
16:42:31 npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
16:42:31 npm WARN deprecated move-concurrently@1.0.1: This package is no longer supported.
16:42:31 npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
16:42:31 npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
16:42:31 npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.4.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
16:42:31 npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
16:42:31 npm WARN deprecated @babel/plugin-proposal-class-properties@7.4.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
16:42:31 npm WARN deprecated home-path@1.0.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
16:42:31 npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
16:42:31 npm WARN deprecated figgy-pudding@3.5.2: This module is no longer supported.
16:42:31 npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
16:42:31 npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.4.4: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
16:42:31 npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.2.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
16:42:31 npm WARN deprecated electron-download@3.3.0: Please use @electron/get moving forward.
16:42:31 npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
16:42:31 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
16:42:31 npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
16:42:31 npm WARN deprecated har-validator@5.1.5: this library is no longer supported
16:42:31 npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead
16:42:31 npm WARN deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
16:42:31 npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
16:42:31 npm WARN deprecated lodash.template@4.5.0: This package is deprecated. Use https://socket.dev/npm/package/eta instead.
16:42:31 npm WARN deprecated copy-concurrently@1.0.5: This package is no longer supported.
16:42:31 npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
16:42:31 npm WARN deprecated domexception@1.0.1: Use your platform's native DOMException instead
16:42:32 npm WARN deprecated acorn-dynamic-import@2.0.2: This is probably built in to whatever tool you're using. If you still need it... idk
16:42:32 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
16:42:32 npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
16:42:32 npm WARN deprecated deep-defaults@1.0.5: not actively maintained; find alternatives
16:42:32 npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
16:42:32 npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
16:42:32 npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
16:42:32 npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
16:42:32 npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
16:42:32 npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
16:42:32 npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
16:42:32 npm WARN deprecated q@1.5.1: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
16:42:32 npm WARN deprecated 
16:42:32 npm WARN deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
16:42:32 npm WARN deprecated sw-precache@5.2.1: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
16:42:32 npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
16:42:32 npm WARN deprecated babel-eslint@7.2.3: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
16:42:32 npm WARN deprecated fs-write-stream-atomic@1.0.10: This package is no longer supported.
16:42:32 npm WARN deprecated html-webpack-plugin@2.30.1: out of support
16:42:32 npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
16:42:32 npm WARN deprecated sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
16:42:32 npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
16:42:32 npm WARN deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
16:42:32 npm WARN deprecated react-router-redux@5.0.0-alpha.9: This project is no longer maintained.
16:42:32 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.
16:42:33 npm WARN deprecated babel-eslint@8.2.6: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
16:42:33 npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
16:42:33 npm WARN deprecated request@2.81.0: request has been deprecated, see https://github.com/request/request/issues/3142
16:42:33 npm WARN deprecated har-validator@4.2.1: this library is no longer supported
16:42:33 npm WARN deprecated sw-toolbox@3.6.0: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
16:42:33 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
16:42:33 npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
16:42:33 npm WARN deprecated rc-drawer-menu@1.1.0: rc-drawer-menu is deprecated, please use rc-drawer instead.
16:42:33 npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
16:42:33 npm WARN deprecated bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
16:42:34 npm WARN deprecated superagent@3.8.3: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net
16:42:34 npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
16:42:34 npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
16:42:34 npm WARN deprecated svgo@0.7.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
16:42:34 npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
16:42:36 npm WARN deprecated airbnb-prop-types@2.16.0: This package has been renamed to 'prop-types-tools'
16:42:36 npm WARN deprecated eslint@4.19.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
16:42:37 npm WARN deprecated core-js@1.2.7: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
16:42:37 npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
16:42:39 npm WARN deprecated mdn-browser-compat-data@0.0.65: mdn-browser-compat-data is deprecated. Upgrade to @mdn/browser-compat-data. Learn more: https://github.com/mdn/browser-compat-data/blob/v1.1.2/UPGRADE-2.0.x.md
16:42:43 
16:42:43 added 3171 packages in 1m
16:42:43 
16:42:43 197 packages are looking for funding
16:42:43   run `npm fund` for details
16:42:43 + npm run build:server
16:42:44 
16:42:44 > ant-design-pro@1.1.0 build:server
16:42:44 > cross-env ESLINT=none COMPRESS=true roadhog build
16:42:44 
16:42:49 Build failed: Cannot find module 'terser-webpack-plugin'
16:42:49 Require stack:
16:42:49 - /data/jenkins/workspace/front-v5-web/.webpackrc.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/getUserConfig.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js
16:42:49 Error: Cannot find module 'terser-webpack-plugin'
16:42:49 Require stack:
16:42:49 - /data/jenkins/workspace/front-v5-web/.webpackrc.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/getUserConfig.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js
16:42:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js
16:42:49     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
16:42:49     at Function.Module._load (node:internal/modules/cjs/loader:773:27)
16:42:49     at Module.require (node:internal/modules/cjs/loader:1012:19)
16:42:49     at require (node:internal/modules/cjs/helpers:93:18)
16:42:49     at Object.<anonymous> (/data/jenkins/workspace/front-v5-web/.webpackrc.js:7:22)
16:42:49     at Module._compile (node:internal/modules/cjs/loader:1108:14)
16:42:49     at Module._compile (/data/jenkins/workspace/front-v5-web/node_modules/pirates/lib/index.js:129:24)
16:42:49     at Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
16:42:49     at Object.newLoader [as .js] (/data/jenkins/workspace/front-v5-web/node_modules/pirates/lib/index.js:134:7)
16:42:49     at Module.load (node:internal/modules/cjs/loader:988:32)
16:42:49     at Function.Module._load (node:internal/modules/cjs/loader:828:14)
16:42:49     at Module.require (node:internal/modules/cjs/loader:1012:19)
16:42:49     at require (node:internal/modules/cjs/helpers:93:18)
16:42:49     at getUserConfig (/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js:116:14)
16:42:49     at /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js:53:51
16:42:49     at new Promise (<anonymous>)
16:42:49     at Object._default [as default] (/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js:46:10)
16:42:49     at Object.<anonymous> (/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js:22:28)
16:42:49     at Module._compile (node:internal/modules/cjs/loader:1108:14)
16:42:49     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
16:42:49     at Module.load (node:internal/modules/cjs/loader:988:32)
16:42:49     at Function.Module._load (node:internal/modules/cjs/loader:828:14)
16:42:49     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
16:42:49     at node:internal/main/run_main_module:17:47 {
16:42:49   code: 'MODULE_NOT_FOUND',
16:42:49   requireStack: [
16:42:49     '/data/jenkins/workspace/front-v5-web/.webpackrc.js',
16:42:49     '/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js',
16:42:49     '/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/getUserConfig.js',
16:42:49     '/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js',
16:42:49     '/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js'
16:42:49   ]
16:42:49 }
16:42:49 + rm -rf /data/workspace/attendsweb.test.baibaodun.cn/
16:42:49 + cp -r /data/jenkins/workspace/front-v5-web/dist/ /data/workspace/attendsweb.test.baibaodun.cn
16:42:49 cp: cannot stat ‘/data/jenkins/workspace/front-v5-web/dist/’: No such file or directory
16:42:49 Build step 'Execute shell' marked build as failure
16:42:49 Finished: FAILURE