Skip to content

Console Output

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