17:00:51Started by user unknown or anonymous
17:00:51Running as SYSTEM
17:00:51Building in workspace /data/jenkins/workspace/front-v5-web
17:00:51The recommended git tool is: NONE
17:00:51using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
17:00:51 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/front-v5-web/.git # timeout=10
17:00:51Fetching changes from the remote Git repository
17:00:51 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git # timeout=10
17:00:51Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git17:00:51 > /usr/local/git/bin/git --version # timeout=10
17:00:51 > git --version # 'git version 2.43.0'
17:00:51using GIT_ASKPASS to set credentials gitlab凭据
17:00:51 > /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
17:00:52 > /usr/local/git/bin/git rev-parse ba418bbe19c3fa2352fb5cf2251ac46464033d77^{commit} # timeout=10
17:00:52Checking out Revision ba418bbe19c3fa2352fb5cf2251ac46464033d77 (detached)
17:00:52 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
17:00:52 > /usr/local/git/bin/git checkout -f ba418bbe19c3fa2352fb5cf2251ac46464033d77 # timeout=10
17:00:52Commit message: "优化构建配置,调整HappyPack线程池大小,替换TerserPlugin为UglifyJsPlugin并保留注释"
17:00:52 > /usr/local/git/bin/git rev-list --no-walk ba418bbe19c3fa2352fb5cf2251ac46464033d77 # timeout=10
17:00:52[front-v5-web] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins3075404048553266683.sh
17:00:52+ export NODE_HOME=/usr/local/node-v14.21.3-linux-x64
17:00:52+ NODE_HOME=/usr/local/node-v14.21.3-linux-x64
17:00:52+ export PATH=/usr/local/node-v14.21.3-linux-x64/bin:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin
17:00:52+ PATH=/usr/local/node-v14.21.3-linux-x64/bin:/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin
17:00:52+ cd /data/jenkins/workspace/front-v5-web
17:00:52+ npm install
17:00:53npm WARN deprecated babel-eslint@8.2.6: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
17:00:53npm WARN deprecated eslint@4.19.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
17:00:54npm 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.
17:00:54npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/341017:00:54npm WARN deprecated rc-drawer-menu@1.1.0: rc-drawer-menu is deprecated, please use rc-drawer instead.
17:00:55npm WARN deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
17:00:55npm 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.md17:00:56npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
17:00:56npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
17:00:57npm 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
17:00:57npm 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.
17:00:57npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
17:00:58npm WARN deprecated react-router-redux@5.0.0-alpha.9: This project is no longer maintained.
17:00:58npm WARN deprecated deep-defaults@1.0.5: not actively maintained; find alternatives
17:00:59npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead
17:00:59npm 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.
17:01:00npm 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.
17:01:00npm 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.
17:01:00npm 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.
17:01:00npm 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.
17:01:00npm 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.
17:01:00npm 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.
17:01:00npm 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.
17:01:00npm 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.
17:01:00npm WARN deprecated html-webpack-plugin@2.30.1: out of support
17:01:00npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
17:01:00npm WARN deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin17:01:01npm WARN deprecated fsevents@1.2.13: Upgrade to fsevents v2 to mitigate potential security issues
17:01:01npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
17:01:02npm WARN deprecated move-concurrently@1.0.1: This package is no longer supported.
17:01:02npm 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.
17:01:02npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
17:01:03npm WARN deprecated electron-download@3.3.0: Please use @electron/get moving forward.
17:01:03npm 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.
17:01:04npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
17:01:04npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
17:01:04npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: 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.
17:01:04npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: 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.
17:01:04npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@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-optional-catch-binding instead.
17:01:04npm 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.net17:01:04npm 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.
17:01:04npm 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.
17:01:04npm WARN deprecated request@2.81.0: request has been deprecated, see https://github.com/request/request/issues/314217:01:05npm WARN deprecated bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
17:01:05npm WARN deprecated sw-precache@5.2.1: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw17:01:05npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
17:01:05npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/314217:01:05npm WARN deprecated domexception@1.0.1: Use your platform's native DOMException instead
17:01:05npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
17:01:05npm 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/314217:01:05npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
17:01:06npm WARN deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.
17:01:06npm WARN deprecated fs-write-stream-atomic@1.0.10: This package is no longer supported.
17:01:06npm WARN deprecated copy-concurrently@1.0.5: This package is no longer supported.
17:01:07npm WARN deprecated home-path@1.0.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
17:01:07npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
17:01:07npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau17:01:07npm WARN deprecated osenv@0.1.5: This package is no longer supported.
17:01:07npm 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.
17:01:07npm WARN deprecated har-validator@4.2.1: this library is no longer supported
17:01:08npm WARN deprecated lodash.template@4.5.0: This package is deprecated. Use https://socket.dev/npm/package/eta instead.
17:01:08npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated17:01:08npm WARN deprecated sw-toolbox@3.6.0: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw17:01:08npm WARN deprecated har-validator@5.1.5: this library is no longer supported
17:01:08npm WARN deprecated airbnb-prop-types@2.16.0: This package has been renamed to 'prop-types-tools'
17:01:08npm WARN deprecated sane@2.5.2: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
17:01:08npm WARN deprecated figgy-pudding@3.5.2: This module is no longer supported.
17:01:09npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
17:01:09npm 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.
17:01:09npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
17:01:09npm WARN deprecated svgo@0.7.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
17:01:09npm 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).
17:01:09npm 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).
17:01:09npm 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.
17:01:09npm 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).
17:01:09npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated17:01:09npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated17:01:09npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated17:01:10npm 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_compatibility17:01:10npm 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.
17:01:10npm WARN deprecated
17:01:10npm WARN deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
17:01:5517:01:55> yarn@1.22.22 preinstall /data/jenkins/workspace/front-v5-web/node_modules/yarn
17:01:55> :; (node ./preinstall.js > /dev/null 2>&1 || true)
17:01:5517:02:0117:02:01> husky@0.14.3 install /data/jenkins/workspace/front-v5-web/node_modules/husky
17:02:01> node ./bin/install.js
17:02:0117:02:01husky
17:02:01CI detected, skipping Git hooks installation
17:02:0217:02:02> core-js@2.6.12 postinstall /data/jenkins/workspace/front-v5-web/node_modules/core-js
17:02:02> node -e "try{require('./postinstall')}catch(e){}"
17:02:0217:02:0217:02:02> ejs@2.7.4 postinstall /data/jenkins/workspace/front-v5-web/node_modules/ejs
17:02:02> node ./postinstall.js
17:02:0217:02:0317:02:03> es5-ext@0.10.64 postinstall /data/jenkins/workspace/front-v5-web/node_modules/es5-ext
17:02:03> node -e "try{require('./_postinstall')}catch(e){}" || exit 0
17:02:0317:02:0317:02:03> bigbrother-webpack-plugin@1.7.7 postinstall /data/jenkins/workspace/front-v5-web/node_modules/bigbrother-webpack-plugin
17:02:03> node postinstall.js
17:02:0317:02:0617:02:06> uglifyjs-webpack-plugin@0.4.6 postinstall /data/jenkins/workspace/front-v5-web/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
17:02:06> node lib/post_install.js
17:02:0617:02:0617:02:06> electron@1.8.8 postinstall /data/jenkins/workspace/front-v5-web/node_modules/electron
17:02:06> node install.js
17:02:0617:02:07/data/jenkins/workspace/front-v5-web/node_modules/electron/install.js:47
17:02:07 throw err
17:02:07 ^
17:02:0717:02:07[Error: EACCES: permission denied, mkdir '/data/jenkins/workspace/front-v5-web/node_modules/electron/dist'] {
17:02:07 errno: -13,
17:02:07 code: 'EACCES',
17:02:07 syscall: 'mkdir',
17:02:07 path: '/data/jenkins/workspace/front-v5-web/node_modules/electron/dist'
17:02:07}
17:02:0717:02:07> cos-js-sdk-v5@1.10.1 postinstall /data/jenkins/workspace/front-v5-web/node_modules/cos-js-sdk-v5
17:02:07> node scripts/patch-check.js
17:02:0717:02:07无补丁应用
17:02:0717:02:07> styled-components@3.4.10 postinstall /data/jenkins/workspace/front-v5-web/node_modules/styled-components
17:02:07> node ./scripts/postinstall.js || exit 0
17:02:0717:02:07Use styled-components at work? Consider supporting our development efforts at opencollective.com/styled-components
17:02:09npm notice created a lockfile as package-lock.json. You should commit this file.
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN notsup Unsupported engine for cheerio@1.1.2: wanted: {"node":">=20.18.1"} (current: {"node":"14.21.3","npm":"6.14.18"})
17:02:09npm WARN notsup Not compatible with your version of node/npm: cheerio@1.1.2
17:02:09npm WARN notsup Unsupported engine for undici@7.15.0: wanted: {"node":">=20.18.1"} (current: {"node":"14.21.3","npm":"6.14.18"})
17:02:09npm WARN notsup Not compatible with your version of node/npm: undici@7.15.0
17:02:09npm WARN notsup Unsupported engine for whatwg-mimetype@4.0.0: wanted: {"node":">=18"} (current: {"node":"14.21.3","npm":"6.14.18"})
17:02:09npm WARN notsup Not compatible with your version of node/npm: whatwg-mimetype@4.0.0
17:02:09npm WARN notsup Unsupported engine for whatwg-encoding@3.1.1: wanted: {"node":">=18"} (current: {"node":"14.21.3","npm":"6.14.18"})
17:02:09npm WARN notsup Not compatible with your version of node/npm: whatwg-encoding@3.1.1
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/af-webpack/node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/fork-ts-checker-webpack-plugin/node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/roadhog/node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.3 (node_modules/sane/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/cpx/node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/roadhog-api-doc/node_modules/chokidar/node_modules/fsevents):
17:02:09npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
17:02:09npm WARN react-fittext@1.0.0 requires a peer of react@^15.0.0 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN react-fittext@1.0.0 requires a peer of react-dom@^15.0.0 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN html-webpack-plugin@4.5.2 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN webpack-cli@3.3.12 requires a peer of webpack@4.x.x but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN webpack-dev-server@3.11.3 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN terser-webpack-plugin@1.4.6 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN webpack-dev-middleware@3.7.3 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN react-slick@0.15.4 requires a peer of react@^0.14.0 || ^15.0.1 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN react-slick@0.15.4 requires a peer of react-dom@^0.14.0 || ^15.0.1 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN slick-carousel@1.8.1 requires a peer of jquery@>=1.8.0 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN eslint-config-umi@0.1.5 requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN eslint-config-react-app@2.1.0 requires a peer of babel-eslint@^7.2.3 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN eslint-config-react-app@2.1.0 requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN ts-jest-babel-7@22.0.7 requires a peer of jest@^22.0.1 || ^22.1.0-alpha.1 || ^23.0.0-alpha.1 but none is installed. You must install peer dependencies yourself.
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@1.8.8 (node_modules/electron):
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@1.8.8 postinstall: `node install.js`
17:02:09npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
17:02:0917:02:09added 3267 packages from 1446 contributors in 75.919s
17:02:1017:02:10197 packages are looking for funding
17:02:10 run `npm fund` for details
17:02:1017:02:10+ npm run build
17:02:1117:02:11> ant-design-pro@1.1.0 build /data/jenkins/workspace/front-v5-web
17:02:11> cross-env NODE_OPTIONS="--max_old_space_size=8096" ESLINT=none COMPRESS=none roadhog build
17:02:1117:02:52[BABEL] Note: The code generator has deoptimised the styling of /data/jenkins/workspace/front-v5-web/src/routes/Command/IM/Message/BenzAMRRecorder.js as it exceeds the max of 500KB.
17:03:04Compiled successfully.
17:03:0417:03:04File sizes after gzip:
17:03:0417:03:09 1.99 MB dist/3.20cb30ab.async.js
17:03:09 871.48 KB dist/index.79dc0584.js
17:03:09 542.11 KB dist/5.b4cd5287.async.js
17:03:09 505.81 KB dist/sdk/playctrl1/Decoder.js
17:03:09 439.61 KB dist/1.99cb422a.async.js
17:03:09 413.75 KB dist/6.60ac8f24.async.js
17:03:09 405 KB dist/data/static/js/main.50af1f82.js
17:03:09 404.68 KB dist/data/static/js/main.84a3b991.js
17:03:09 404.52 KB dist/data/static/js/main.7a45203a.js
17:03:09 404.51 KB dist/data/static/js/main.9e306fc5.js
17:03:09 404.5 KB dist/data/static/js/main.82aaf7e5.js
17:03:09 404.15 KB dist/data/static/js/main.9d3f03bc.js
17:03:09 399.91 KB dist/7.d726fa23.async.js
17:03:09 399.78 KB dist/0.c1976243.async.js
17:03:09 347.99 KB dist/10.7623d159.async.js
17:03:09 320.21 KB dist/9.a56041ed.async.js
17:03:09 317.17 KB dist/2.a2323f93.async.js
17:03:09 316.38 KB dist/8.fed797b4.async.js
17:03:09 315.53 KB dist/15.51ec43af.async.js
17:03:09 295.88 KB dist/11.614b06ed.async.js
17:03:09 281.7 KB dist/12.7b18fd18.async.js
17:03:09 253.41 KB dist/13.7f7b590b.async.js
17:03:09 231.9 KB dist/14.6588e9b5.async.js
17:03:09 219.2 KB dist/sdk/h5player.min.js
17:03:09 213.6 KB dist/4.1b7dae44.async.js
17:03:09 209.91 KB dist/18.7c596fd0.async.js
17:03:09 196.06 KB dist/17.8b958718.async.js
17:03:09 187.79 KB dist/19.ed113be0.async.js
17:03:09 174.97 KB dist/16.d4c1703d.async.js
17:03:09 135.32 KB dist/index.19d6646d.css
17:03:09 116.18 KB dist/23.b2adb0e0.async.js
17:03:09 109.6 KB dist/sdk/talkW/AudioInterCom.js
17:03:09 108.24 KB dist/sdk/playctrl2/Decoder.js
17:03:09 108.24 KB dist/sdk/playctrl3/Decoder.js
17:03:09 90.67 KB dist/sdk/talk/AudioInterCom.js
17:03:09 77.69 KB dist/20.84da061d.async.js
17:03:09 76.1 KB dist/sdk/trtc.js
17:03:09 72.65 KB dist/21.0eac882e.async.js
17:03:09 62.63 KB dist/sdk/transform/libSystemTransform.js
17:03:09 59.53 KB dist/22.4eb61675.async.js
17:03:09 58.55 KB dist/data/static/js/bmap-api-getscript-v3.0.min.js
17:03:09 22.49 KB dist/29.16c25603.async.js
17:03:09 14.42 KB dist/25.8773221a.async.js
17:03:09 12.23 KB dist/data/static/css/main.2ec51531.css
17:03:09 12.16 KB dist/data/static/css/main.d414d33e.css
17:03:09 12.16 KB dist/data/static/css/main.4ec413b6.css
17:03:09 8.35 KB dist/39.47b8b9dc.async.js
17:03:09 6.05 KB dist/32.e34e64ff.async.js
17:03:09 5.03 KB dist/sdk/playctrl1/DecodeWorker.js
17:03:09 4.14 KB dist/34.6957fcc9.async.js
17:03:09 3.66 KB dist/36.63c18e57.async.js
17:03:09 3.32 KB dist/sdk/talkW/AudioInterCom.worker.js
17:03:09 3.23 KB dist/37.ed5f4664.async.js
17:03:09 3.15 KB dist/24.1cecfde0.async.js
17:03:09 3.03 KB dist/40.39ebcb4c.async.js
17:03:09 2.97 KB dist/sdk/playctrl1/SuperRender_10.js
17:03:09 2.89 KB dist/data/static/js/inforBox.js
17:03:09 2.15 KB dist/35.4ee2136d.async.js
17:03:09 1.93 KB dist/sdk/playctrl1/AudioRenderer.js
17:03:09 1.81 KB dist/27.4f1692a6.async.js
17:03:09 1.81 KB dist/28.631ddc65.async.js
17:03:09 1.81 KB dist/26.c0d3b68e.async.js
17:03:09 1.71 KB dist/data/service-worker.js
17:03:09 1.43 KB dist/sdk/transform/systemTransform-worker.js
17:03:09 1.15 KB dist/30.16390cbd.async.js
17:03:09 1.14 KB dist/31.ce9d98fa.async.js
17:03:09 997 B dist/sdk/playctrl2/Decoder.worker.js
17:03:09 997 B dist/sdk/playctrl3/Decoder.worker.js
17:03:09 669 B dist/33.9ff8a090.async.js
17:03:09 353 B dist/38.ae841e74.async.js
17:03:09 257 B dist/data/static/js/ipConfig.js
17:03:0917:03:09The bundle size is significantly larger than recommended.
17:03:09Consider reducing it with code splitting: https://goo.gl/9VhYWB17:03:09You can also analyze the project dependencies: https://goo.gl/LeUzfb17:03:0917:03:12+ rm -rf /data/workspace/attendsweb.test.baibaodun.cn/
17:03:12+ cp -r /data/jenkins/workspace/front-v5-web/dist/ /data/workspace/attendsweb.test.baibaodun.cn
17:03:12+ scp -r /data/jenkins/workspace/front-v5-web/dist 172.20.0.7:/data/tomcat/apache-tomcat-paspweb/webapps/
17:03:13[SSH] script:
17:03:13=""
17:03:13PATH="/usr/local/n/versions/node/16.0.0/bin:/usr/local/jdk1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/maven/bin:/usr/local/git/bin"
17:03:13JAVA_HOME="/usr/local/jdk1.8"
17:03:13JAVA_CLASS="/usr/local/jdk1.8/lib"
17:03:13HOME="/root"
17:03:1317:03:13#JAVA
17:03:13export JAVA_HOME=/usr/local/java
17:03:13export JAVA_CLASS=$JAVA_HOME/lib
17:03:13export PATH=$JAVA_HOME/bin:$PATH
17:03:1317:03:13#停止进程
17:03:13kill -9 $(ps -ef | grep -v grep | grep apache-tomcat-paspweb | awk '{print $2}')
17:03:13sleep 3
17:03:1317:03:13#文件备份
17:03:13cd /data/tomcat/apache-tomcat-paspweb/
17:03:13cp -rf /data/tomcat/apache-tomcat-paspweb/webapps/ROOT /data/tomcat/apache-tomcat-paspweb/backup/
17:03:1317:03:13#删除旧文件
17:03:13rm -rf /data/tomcat/apache-tomcat-paspweb/webapps/ROOT
17:03:1317:03:13#新文件更名
17:03:13mv /data/tomcat/apache-tomcat-paspweb/webapps/dist /data/tomcat/apache-tomcat-paspweb/webapps/ROOT
17:03:13sleep 3
17:03:1317:03:13#启动应用
17:03:13sh ./bin/startup.sh
17:03:1317:03:1317:03:1317:03:1317:03:13[SSH] executing...
17:03:13bash: =: command not found
17:03:20Tomcat started.
17:03:2017:03:20[SSH] completed
17:03:20[SSH] exit-status: 0
17:03:2017:03:20Finished: SUCCESS