Skip to content

Console Output

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