16:41:20Started by user unknown or anonymous
16:41:20Running as SYSTEM
16:41:20Building in workspace /data/jenkins/workspace/front-v5-web
16:41:20The recommended git tool is: NONE
16:41:20using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
16:41:20Cloning the remote Git repository
16:41:20Cloning repository https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git16:41:20 > /usr/local/git/bin/git init /data/jenkins/workspace/front-v5-web # timeout=10
16:41:20Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git16:41:20 > /usr/local/git/bin/git --version # timeout=10
16:41:20 > git --version # 'git version 2.43.0'
16:41:20using 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:24Avoid second fetch
16:41:24 > /usr/local/git/bin/git rev-parse 8bef15a68286fc636429b73babc2d9fba70f58b1^{commit} # timeout=10
16:41:24Checking 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:25Commit 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:25npm WARN using --force Recommended protections disabled.
16:41:36npm WARN ERESOLVE overriding peer dependency
16:41:36npm WARN Found: react@16.14.0
16:41:36npm WARN node_modules/react
16:41:36npm WARN react@"^16.2.0" from the root project
16:41:36npm WARN 7 more (antd, react-dom, redbox-react, bizcharts, ...)
16:41:36npm WARN
16:41:36npm WARN Could not resolve dependency:
16:41:36npm WARN peer react@"^15.0.0" from react-fittext@1.0.0
16:41:36npm WARN node_modules/react-fittext
16:41:36npm WARN react-fittext@"^1.0.0" from the root project
16:41:36npm WARN ERESOLVE overriding peer dependency
16:41:36npm WARN Found: react-dom@16.14.0
16:41:36npm WARN node_modules/react-dom
16:41:36npm WARN react-dom@"^16.2.0" from the root project
16:41:36npm WARN 4 more (antd, redbox-react, bizcharts-plugin-slider, dva)
16:41:36npm WARN
16:41:36npm WARN Could not resolve dependency:
16:41:36npm WARN peer react-dom@"^15.0.0" from react-fittext@1.0.0
16:41:36npm WARN node_modules/react-fittext
16:41:36npm WARN react-fittext@"^1.0.0" from the root project
16:42:30npm WARN deprecated osenv@0.1.5: This package is no longer supported.
16:42:30npm 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:30npm 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:31npm 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:31npm WARN deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.
16:42:31npm 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:31npm 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:31npm 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:31npm 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_compatibility16:42:31npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated16:42:31npm WARN deprecated move-concurrently@1.0.1: This package is no longer supported.
16:42:31npm 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:31npm 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:31npm 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:31npm 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:31npm 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:31npm WARN deprecated home-path@1.0.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
16:42:31npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
16:42:31npm WARN deprecated figgy-pudding@3.5.2: This module is no longer supported.
16:42:31npm 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/314216:42:31npm 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:31npm 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:31npm WARN deprecated electron-download@3.3.0: Please use @electron/get moving forward.
16:42:31npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
16:42:31npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated16:42:31npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
16:42:31npm WARN deprecated har-validator@5.1.5: this library is no longer supported
16:42:31npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead
16:42:31npm WARN deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
16:42:31npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
16:42:31npm WARN deprecated lodash.template@4.5.0: This package is deprecated. Use https://socket.dev/npm/package/eta instead.
16:42:31npm WARN deprecated copy-concurrently@1.0.5: This package is no longer supported.
16:42:31npm 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:31npm WARN deprecated domexception@1.0.1: Use your platform's native DOMException instead
16:42:32npm 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:32npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated16:42:32npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
16:42:32npm WARN deprecated deep-defaults@1.0.5: not actively maintained; find alternatives
16:42:32npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
16:42:32npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
16:42:32npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated16:42:32npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
16:42:32npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
16:42:32npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
16:42:32npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
16:42:32npm 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:32npm WARN deprecated
16:42:32npm WARN deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
16:42:32npm WARN deprecated sw-precache@5.2.1: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw16:42:32npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau16:42:32npm WARN deprecated babel-eslint@7.2.3: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
16:42:32npm WARN deprecated fs-write-stream-atomic@1.0.10: This package is no longer supported.
16:42:32npm WARN deprecated html-webpack-plugin@2.30.1: out of support
16:42:32npm 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:32npm WARN deprecated sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
16:42:32npm 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:32npm WARN deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin16:42:32npm WARN deprecated react-router-redux@5.0.0-alpha.9: This project is no longer maintained.
16:42:32npm 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:33npm WARN deprecated babel-eslint@8.2.6: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
16:42:33npm 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:33npm WARN deprecated request@2.81.0: request has been deprecated, see https://github.com/request/request/issues/314216:42:33npm WARN deprecated har-validator@4.2.1: this library is no longer supported
16:42:33npm WARN deprecated sw-toolbox@3.6.0: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw16:42:33npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/314216:42:33npm 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:33npm WARN deprecated rc-drawer-menu@1.1.0: rc-drawer-menu is deprecated, please use rc-drawer instead.
16:42:33npm 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:33npm WARN deprecated bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
16:42:34npm 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.net16:42:34npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
16:42:34npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/341016:42:34npm WARN deprecated svgo@0.7.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
16:42:34npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
16:42:36npm WARN deprecated airbnb-prop-types@2.16.0: This package has been renamed to 'prop-types-tools'
16:42:36npm WARN deprecated eslint@4.19.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
16:42:37npm 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:37npm 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:39npm 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.md16:42:4316:42:43added 3171 packages in 1m
16:42:4316:42:43197 packages are looking for funding
16:42:43 run `npm fund` for details
16:42:43+ npm run build:server
16:42:4416:42:44> ant-design-pro@1.1.0 build:server
16:42:44> cross-env ESLINT=none COMPRESS=true roadhog build
16:42:4416:42:49Build failed: Cannot find module 'terser-webpack-plugin'
16:42:49Require 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:49Error: Cannot find module 'terser-webpack-plugin'
16:42:49Require 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:49cp: cannot stat ‘/data/jenkins/workspace/front-v5-web/dist/’: No such file or directory
16:42:49Build step 'Execute shell' marked build as failure
16:42:49Finished: FAILURE