09:54:38 Started by user unknown or anonymous 09:54:38 Running as SYSTEM 09:54:38 Building in workspace /data/jenkins/workspace/front-v5-web 09:54:38 The recommended git tool is: NONE 09:54:38 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 09:54:38 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/front-v5-web/.git # timeout=10 09:54:38 Fetching changes from the remote Git repository 09:54:38 > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git # timeout=10 09:54:38 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git 09:54:38 > /usr/local/git/bin/git --version # timeout=10 09:54:38 > git --version # 'git version 2.43.0' 09:54:38 using GIT_ASKPASS to set credentials gitlab凭据 09:54:38 > /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 09:54:39 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 09:54:39 Checking out Revision aa94cf96e64c96cf52cf382ee8afa286c7fa7366 (refs/remotes/origin/test) 09:54:39 > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 09:54:39 > /usr/local/git/bin/git checkout -f aa94cf96e64c96cf52cf382ee8afa286c7fa7366 # timeout=10 09:54:39 Commit message: "Merge branch 'feat-临保保险' into test" 09:54:39 > /usr/local/git/bin/git rev-list --no-walk 79f6a807050040bfcdc8615b082fdcc7b03a7864 # timeout=10 09:54:39 [front-v5-web] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins10698783954541565479.sh 09:54:39 + cd /data/jenkins/workspace/front-v5-web 09:54:39 + npm install --force 09:54:39 npm WARN using --force Recommended protections disabled. 09:54:44 09:54:44 up to date in 5s 09:54:44 09:54:44 197 packages are looking for funding 09:54:44 run `npm fund` for details 09:54:44 + npm run build:server 09:54:44 09:54:44 > ant-design-pro@1.1.0 build:server 09:54:44 > cross-env ESLINT=none COMPRESS=true roadhog build 09:54:44 09:57:02 Failed to compile. 09:57:02 09:57:02 Failed to minify the bundle. Error: index.67e1209c.js from UglifyJs 09:57:02 Unexpected token: punc ()) [index.67e1209c.js:31615,158] 09:57:02 at doneHandler (/data/jenkins/workspace/front-v5-web/node_modules/af-webpack/lib/build.js:91:27) 09:57:02 at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:265:13 09:57:02 at Compiler.emitRecords (/data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:371:38) 09:57:02 at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:258:10 09:57:02 at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:364:12 09:57:02 at next (/data/jenkins/workspace/front-v5-web/node_modules/tapable/lib/Tapable.js:218:11) 09:57:02 at Compiler.<anonymous> (/data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4) 09:57:02 at next (/data/jenkins/workspace/front-v5-web/node_modules/tapable/lib/Tapable.js:220:14) 09:57:02 at callback (/data/jenkins/workspace/front-v5-web/node_modules/copy-webpack-plugin/dist/index.js:126:17) 09:57:02 at Compiler.afterEmit (/data/jenkins/workspace/front-v5-web/node_modules/copy-webpack-plugin/dist/index.js:220:13) 09:57:02 at Compiler.applyPluginsAsyncSeries1 (/data/jenkins/workspace/front-v5-web/node_modules/tapable/lib/Tapable.js:222:13) 09:57:02 at Compiler.afterEmit (/data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:361:9) 09:57:02 at /data/jenkins/workspace/front-v5-web/node_modules/webpack/lib/Compiler.js:350:15 09:57:02 at /data/jenkins/workspace/front-v5-web/node_modules/async/dist/async.js:473:16 09:57:02 at iteratorCallback (/data/jenkins/workspace/front-v5-web/node_modules/async/dist/async.js:1064:13) 09:57:02 at /data/jenkins/workspace/front-v5-web/node_modules/async/dist/async.js:969:16 09:57:02 at /data/jenkins/workspace/front-v5-web/node_modules/graceful-fs/graceful-fs.js:61:14 09:57:02 at FSReqCallback.oncomplete (node:fs:184:23) 09:57:02 Read more here: http://bit.ly/2tRViJ9 09:57:02 09:57:02 [graceful-process#5674] exit with code:1 09:57:02 Build step 'Execute shell' marked build as failure 09:57:02 Finished: FAILURE