Skip to content

Console Output

11:23:15 Started by user unknown or anonymous
11:23:15 Running as SYSTEM
11:23:15 Building in workspace /data/jenkins/workspace/front-v5-web
11:23:15 The recommended git tool is: NONE
11:23:15 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
11:23:15  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/front-v5-web/.git # timeout=10
11:23:15 Fetching changes from the remote Git repository
11:23:15  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git # timeout=10
11:23:15 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/front-v5-web.git
11:23:15  > /usr/local/git/bin/git --version # timeout=10
11:23:15  > git --version # 'git version 2.43.0'
11:23:15 using GIT_ASKPASS to set credentials gitlab凭据
11:23:15  > /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
11:23:16  > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
11:23:16 Checking out Revision 4f283b794b424256b6b510d9f645abc17ae8190e (refs/remotes/origin/test)
11:23:16  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
11:23:16  > /usr/local/git/bin/git checkout -f 4f283b794b424256b6b510d9f645abc17ae8190e # timeout=10
11:23:16 Commit message: "优化保险管理模块,调整保单数据获取逻辑,修复渲染问题,完善参数传递机制,移除冗余条件判断"
11:23:16 First time build. Skipping changelog.
11:23:16 [front-v5-web] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins11718910319946649494.sh
11:23:16 + cd /data/jenkins/workspace/front-v5-web
11:23:16 + npm install --force
11:23:16 npm WARN using --force Recommended protections disabled.
11:23:20 
11:23:20 removed 1 package in 4s
11:23:20 + npm run build:server
11:23:20 
11:23:20 > ant-design-pro@1.1.0 build:server
11:23:20 > cross-env ESLINT=none COMPRESS=true roadhog build
11:23:20 
11:23:24 Browserslist: caniuse-lite is outdated. Please run:
11:23:24   npx update-browserslist-db@latest
11:23:24   Why you should do it regularly: https://github.com/browserslist/update-db#readme
11:23:27 Browserslist: caniuse-lite is outdated. Please run:
11:23:27   npx update-browserslist-db@latest
11:23:27   Why you should do it regularly: https://github.com/browserslist/update-db#readme
11:25:55 Compiled successfully.
11:25:55 
11:25:55 File sizes after gzip:
11:25:55 
11:25:58   1.24 MB    dist/3.fbe73ee2.async.js
11:25:58   609.85 KB  dist/index.5994575b.js
11:25:58   505.81 KB  dist/sdk/playctrl1/Decoder.js
11:25:58   405 KB     dist/data/static/js/main.50af1f82.js
11:25:58   404.68 KB  dist/data/static/js/main.84a3b991.js
11:25:58   404.52 KB  dist/data/static/js/main.7a45203a.js
11:25:58   404.51 KB  dist/data/static/js/main.9e306fc5.js
11:25:58   404.5 KB   dist/data/static/js/main.82aaf7e5.js
11:25:58   404.15 KB  dist/data/static/js/main.9d3f03bc.js
11:25:58   257.33 KB  dist/5.8914fc7b.async.js
11:25:58   225.16 KB  dist/1.dea6b179.async.js
11:25:58   221.68 KB  dist/6.ba967c3d.async.js
11:25:58   219.2 KB   dist/sdk/h5player.min.js
11:25:58   204.64 KB  dist/0.9e8fc287.async.js
11:25:58   177 KB     dist/7.376e39cf.async.js
11:25:58   166.38 KB  dist/9.70a7c170.async.js
11:25:58   165.49 KB  dist/2.7e2e6020.async.js
11:25:58   163.82 KB  dist/8.03855bb6.async.js
11:25:58   153.49 KB  dist/10.71d41456.async.js
11:25:58   150.15 KB  dist/11.ca74fa5d.async.js
11:25:58   145.83 KB  dist/12.f0acb288.async.js
11:25:58   136.74 KB  dist/15.f5c5eba5.async.js
11:25:58   128.77 KB  dist/index.0b4f5bfc.css
11:25:58   128.34 KB  dist/13.bf38a7d8.async.js
11:25:58   116.81 KB  dist/19.1999fe4f.async.js
11:25:58   116.77 KB  dist/14.1228829f.async.js
11:25:58   113.8 KB   dist/4.4b63a225.async.js
11:25:58   111.9 KB   dist/18.427073fd.async.js
11:25:58   109.6 KB   dist/sdk/talkW/AudioInterCom.js
11:25:58   108.24 KB  dist/sdk/playctrl2/Decoder.js
11:25:58   108.24 KB  dist/sdk/playctrl3/Decoder.js
11:25:58   106.96 KB  dist/16.be10428f.async.js
11:25:58   102.23 KB  dist/17.7186f0a8.async.js
11:25:58   90.67 KB   dist/sdk/talk/AudioInterCom.js
11:25:58   76.1 KB    dist/sdk/trtc.js
11:25:58   62.63 KB   dist/sdk/transform/libSystemTransform.js
11:25:58   61.47 KB   dist/23.5387d483.async.js
11:25:58   58.55 KB   dist/data/static/js/bmap-api-getscript-v3.0.min.js
11:25:58   34.61 KB   dist/20.107087ff.async.js
11:25:58   32.99 KB   dist/21.5a07f46a.async.js
11:25:58   26.01 KB   dist/22.ecfc5c96.async.js
11:25:58   12.23 KB   dist/data/static/css/main.2ec51531.css
11:25:58   12.16 KB   dist/data/static/css/main.d414d33e.css
11:25:58   12.16 KB   dist/data/static/css/main.4ec413b6.css
11:25:58   10.8 KB    dist/29.80922b14.async.js
11:25:58   8.59 KB    dist/25.bcc6a493.async.js
11:25:58   5.64 KB    dist/32.b6f3aa3a.async.js
11:25:58   5.03 KB    dist/sdk/playctrl1/DecodeWorker.js
11:25:58   4.86 KB    dist/39.82fba36d.async.js
11:25:58   4.42 KB    dist/34.d67f47f3.async.js
11:25:58   3.76 KB    dist/36.54c05307.async.js
11:25:58   3.32 KB    dist/sdk/talkW/AudioInterCom.worker.js
11:25:58   3.13 KB    dist/37.b91f57ab.async.js
11:25:58   2.97 KB    dist/sdk/playctrl1/SuperRender_10.js
11:25:58   2.95 KB    dist/40.622348b8.async.js
11:25:58   2.89 KB    dist/data/static/js/inforBox.js
11:25:58   2.8 KB     dist/35.54a46b71.async.js
11:25:58   2.09 KB    dist/24.e0062366.async.js
11:25:58   1.93 KB    dist/sdk/playctrl1/AudioRenderer.js
11:25:58   1.71 KB    dist/data/service-worker.js
11:25:58   1.43 KB    dist/sdk/transform/systemTransform-worker.js
11:25:58   1.33 KB    dist/27.7012bb9a.async.js
11:25:58   1.33 KB    dist/28.16d74c4a.async.js
11:25:58   1.33 KB    dist/26.34097f1b.async.js
11:25:58   997 B      dist/sdk/playctrl2/Decoder.worker.js
11:25:58   997 B      dist/sdk/playctrl3/Decoder.worker.js
11:25:58   923 B      dist/30.a889e3f3.async.js
11:25:58   912 B      dist/31.05050fc5.async.js
11:25:58   314 B      dist/33.9ff8a090.async.js
11:25:58   257 B      dist/data/static/js/ipConfig.js
11:25:58   245 B      dist/38.ae841e74.async.js
11:25:58 
11:25:58 The bundle size is significantly larger than recommended.
11:25:58 Consider reducing it with code splitting: https://goo.gl/9VhYWB
11:25:58 You can also analyze the project dependencies: https://goo.gl/LeUzfb
11:25:58 
11:26:00 + rm -rf /data/workspace/attendsweb.test.baibaodun.cn/
11:26:00 + cp -r /data/jenkins/workspace/front-v5-web/dist/ /data/workspace/attendsweb.test.baibaodun.cn
11:26:00 + scp -r /data/jenkins/workspace/front-v5-web/dist 172.20.0.7:/data/tomcat/apache-tomcat-paspweb/run/ROOT
11:26:02 [SSH] script:
11:26:02 =""
11:26:02 
11:26:02 #停止进程
11:26:02 kill -9 $(ps -ef|grep -v grep|grep apache-tomcat-paspweb | awk '{print $2}')
11:26:02 sleep 3
11:26:02 #文件备份
11:26:02 cd /data/tomcat/apache-tomcat-paspweb/
11:26:02 cp /data/tomcat/apache-tomcat-paspweb/webapps/ROOT /data/tomcat/apache-tomcat-paspweb/backup/
11:26:02 删除旧文件
11:26:02 rm -rf /data/tomcat/apache-tomcat-paspweb/webapps/ROOT
11:26:02 #放入新文件
11:26:02 cp /data/tomcat/apache-tomcat-paspweb/run/ROOT /data/tomcat/apache-tomcat-paspweb/webapps/
11:26:02 sleep 3
11:26:02 #启动应用
11:26:02 sh bin/startup.sh
11:26:02 
11:26:02 
11:26:02 
11:26:02 
11:26:02 [SSH] executing...
11:26:03 bash: =: command not found
11:26:06 cp: omitting directory ‘/data/tomcat/apache-tomcat-paspweb/webapps/ROOT’
11:26:06 bash: line 8: 删除旧文件: command not found
11:26:06 cp: omitting directory ‘/data/tomcat/apache-tomcat-paspweb/run/ROOT’
11:26:10 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
11:26:10 At least one of these environment variable is needed to run this program
11:26:10 
11:26:10 [SSH] completed
11:26:10 [SSH] exit-status: 1
11:26:10 
11:26:10 Build step 'Execute shell script on remote host using ssh' marked build as failure
11:26:10 Finished: FAILURE