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