Skip to content

Console Output

16:52:41 Started by user unknown or anonymous
16:52:41 Running as SYSTEM
16:52:41 Building in workspace /data/jenkins/workspace/front-v5-web
16:52:41 The recommended git tool is: NONE
16:52:41 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
16:52:41  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/front-v5-web/.git # timeout=10
16:52:41 Fetching changes from the remote Git repository
16:52:41  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git # timeout=10
16:52:41 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git
16:52:41  > /usr/local/git/bin/git --version # timeout=10
16:52:41  > git --version # 'git version 2.43.0'
16:52:41 using GIT_ASKPASS to set credentials gitlab凭据
16:52:41  > /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:52:41  > /usr/local/git/bin/git rev-parse 8bef15a68286fc636429b73babc2d9fba70f58b1^{commit} # timeout=10
16:52:41 Checking out Revision 8bef15a68286fc636429b73babc2d9fba70f58b1 (detached)
16:52:41  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
16:52:41  > /usr/local/git/bin/git checkout -f 8bef15a68286fc636429b73babc2d9fba70f58b1 # timeout=10
16:52:41 Commit message: "Merge branch 'feat-临保保险' into test"
16:52:41  > /usr/local/git/bin/git rev-list --no-walk 8bef15a68286fc636429b73babc2d9fba70f58b1 # timeout=10
16:52:41 [front-v5-web] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins17661487155086022949.sh
16:52:41 + cd /data/jenkins/workspace/front-v5-web
16:52:41 + npm install
16:52:43 npm WARN EBADENGINE Unsupported engine {
16:52:43 npm WARN EBADENGINE   package: 'cheerio@1.1.2',
16:52:43 npm WARN EBADENGINE   required: { node: '>=20.18.1' },
16:52:43 npm WARN EBADENGINE   current: { node: 'v16.0.0', npm: '7.10.0' }
16:52:43 npm WARN EBADENGINE }
16:52:43 npm WARN EBADENGINE Unsupported engine {
16:52:43 npm WARN EBADENGINE   package: 'undici@7.15.0',
16:52:43 npm WARN EBADENGINE   required: { node: '>=20.18.1' },
16:52:43 npm WARN EBADENGINE   current: { node: 'v16.0.0', npm: '7.10.0' }
16:52:43 npm WARN EBADENGINE }
16:52:43 npm WARN EBADENGINE Unsupported engine {
16:52:43 npm WARN EBADENGINE   package: 'whatwg-encoding@3.1.1',
16:52:43 npm WARN EBADENGINE   required: { node: '>=18' },
16:52:43 npm WARN EBADENGINE   current: { node: 'v16.0.0', npm: '7.10.0' }
16:52:43 npm WARN EBADENGINE }
16:52:43 npm WARN EBADENGINE Unsupported engine {
16:52:43 npm WARN EBADENGINE   package: 'whatwg-mimetype@4.0.0',
16:52:43 npm WARN EBADENGINE   required: { node: '>=18' },
16:52:43 npm WARN EBADENGINE   current: { node: 'v16.0.0', npm: '7.10.0' }
16:52:43 npm WARN EBADENGINE }
16:52:46 
16:52:46 up to date in 4s
16:52:46 
16:52:46 197 packages are looking for funding
16:52:46   run `npm fund` for details
16:52:46 + npm run build
16:52:46 
16:52:46 > ant-design-pro@1.1.0 build
16:52:46 > cross-env NODE_OPTIONS="--max_old_space_size=8096" ESLINT=none COMPRESS=none roadhog build
16:52:46 
16:52:49 Build failed: Cannot find module 'terser-webpack-plugin'
16:52:49 Require stack:
16:52:49 - /data/jenkins/workspace/front-v5-web/.webpackrc.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/getUserConfig.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js
16:52:49 Error: Cannot find module 'terser-webpack-plugin'
16:52:49 Require stack:
16:52:49 - /data/jenkins/workspace/front-v5-web/.webpackrc.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/af-webpack/getUserConfig.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js
16:52:49 - /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js
16:52:49     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
16:52:49     at Function.Module._load (node:internal/modules/cjs/loader:773:27)
16:52:49     at Module.require (node:internal/modules/cjs/loader:1012:19)
16:52:49     at require (node:internal/modules/cjs/helpers:93:18)
16:52:49     at Object.<anonymous> (/data/jenkins/workspace/front-v5-web/.webpackrc.js:7:22)
16:52:49     at Module._compile (node:internal/modules/cjs/loader:1108:14)
16:52:49     at Module._compile (/data/jenkins/workspace/front-v5-web/node_modules/pirates/lib/index.js:129:24)
16:52:49     at Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
16:52:49     at Object.newLoader [as .js] (/data/jenkins/workspace/front-v5-web/node_modules/pirates/lib/index.js:134:7)
16:52:49     at Module.load (node:internal/modules/cjs/loader:988:32)
16:52:49     at Function.Module._load (node:internal/modules/cjs/loader:828:14)
16:52:49     at Module.require (node:internal/modules/cjs/loader:1012:19)
16:52:49     at require (node:internal/modules/cjs/helpers:93:18)
16:52:49     at getUserConfig (/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js:116:14)
16:52:49     at /data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js:53:51
16:52:49     at new Promise (<anonymous>)
16:52:49     at Object._default [as default] (/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js:46:10)
16:52:49     at Object.<anonymous> (/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js:22:28)
16:52:49     at Module._compile (node:internal/modules/cjs/loader:1108:14)
16:52:49     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
16:52:49     at Module.load (node:internal/modules/cjs/loader:988:32)
16:52:49     at Function.Module._load (node:internal/modules/cjs/loader:828:14)
16:52:49     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
16:52:49     at node:internal/main/run_main_module:17:47 {
16:52:49   code: 'MODULE_NOT_FOUND',
16:52:49   requireStack: [
16:52:49     '/data/jenkins/workspace/front-v5-web/.webpackrc.js',
16:52:49     '/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/getUserConfig/index.js',
16:52:49     '/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/getUserConfig.js',
16:52:49     '/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/build.js',
16:52:49     '/data/jenkins/workspace/front-v5-web/node_modules/roadhog/lib/scripts/build.js'
16:52:49   ]
16:52:49 }
16:52:49 + rm -rf /data/workspace/attendsweb.test.baibaodun.cn/
16:52:49 + cp -r /data/jenkins/workspace/front-v5-web/dist/ /data/workspace/attendsweb.test.baibaodun.cn
16:52:49 cp: cannot stat ‘/data/jenkins/workspace/front-v5-web/dist/’: No such file or directory
16:52:49 Build step 'Execute shell' marked build as failure
16:52:49 Finished: FAILURE