Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/front-v5-web The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/front-v5-web/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /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 > /usr/local/git/bin/git rev-parse 4f283b794b424256b6b510d9f645abc17ae8190e^{commit} # timeout=10 Checking out Revision 4f283b794b424256b6b510d9f645abc17ae8190e (detached) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 4f283b794b424256b6b510d9f645abc17ae8190e # timeout=10 Commit message: "优化保险管理模块,调整保单数据获取逻辑,修复渲染问题,完善参数传递机制,移除冗余条件判断" First time build. Skipping changelog. [front-v5-web] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins3287095609116931524.sh + cd /data/jenkins/workspace/front-v5-web + npm install --force npm WARN using --force Recommended protections disabled. removed 2 packages in 4s 196 packages are looking for funding run `npm fund` for details + npm run build:server > ant-design-pro@1.1.0 build:server > cross-env ESLINT=none COMPRESS=true roadhog build Failed to compile. Failed to minify the bundle. Error: index.866ec76d.js from UglifyJs Unexpected token: punc ()) [index.866ec76d.js:31615,158] at doneHandler (/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/build.js:91:27) at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:265:13 at Compiler.emitRecords (/data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:371:38) at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:258:10 at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:364:12 at next (/data/jenkins/workspace/front-v5-web/node_modules/tapable/lib/Tapable.js:218:11) at Compiler. (/data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4) at next (/data/jenkins/workspace/front-v5-web/node_modules/tapable/lib/Tapable.js:220:14) at callback (/data/jenkins/workspace/front-v5-web/node_modules/copy-webpack-plugin/dist/index.js:126:17) at Compiler.afterEmit (/data/jenkins/workspace/front-v5-web/node_modules/copy-webpack-plugin/dist/index.js:220:13) at Compiler.applyPluginsAsyncSeries1 (/data/jenkins/workspace/front-v5-web/node_modules/tapable/lib/Tapable.js:222:13) at Compiler.afterEmit (/data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:361:9) at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:350:15 at /data/jenkins/workspace/front-v5-web/node_modules/async/dist/async.js:473:16 at iteratorCallback (/data/jenkins/workspace/front-v5-web/node_modules/async/dist/async.js:1064:13) at /data/jenkins/workspace/front-v5-web/node_modules/async/dist/async.js:969:16 at /data/jenkins/workspace/front-v5-web/node_modules/graceful-fs/graceful-fs.js:61:14 at FSReqCallback.oncomplete (node:fs:184:23) Read more here: http://bit.ly/2tRViJ9 [graceful-process#16604] exit with code:1 Build step 'Execute shell' marked build as failure Finished: FAILURE