Started by GitLab push by 陈志洪
Running as SYSTEM
Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-dispatch-vue
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/badp-bcxin-web-5.x-dispatch-vue/.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/badp-bcxin-web-5.x-dispatch-vue.git # timeout=10
Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-dispatch-vue.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/badp-bcxin-web-5.x-dispatch-vue.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/test, since it originates from another repository
> /usr/local/git/bin/git rev-parse origin/test^{commit} # timeout=10
Checking out Revision 310e6982c7d9972e11d298dde50199faeaea9213 (origin/test)
> /usr/local/git/bin/git config core.sparsecheckout # timeout=10
> /usr/local/git/bin/git checkout -f 310e6982c7d9972e11d298dde50199faeaea9213 # timeout=10
Commit message: "Merge branch 'feat-赛演调度台' into test"
> /usr/local/git/bin/git rev-list --no-walk 556037aa1abf23ac84f29df8b21e28963b6bd02f # timeout=10
[badp-bcxin-web-5.x-dispatch-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins16418606501232425720.sh
+ cd /data/jenkins/workspace/badp-bcxin-web-5.x-dispatch-vue
+ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'gcoord@1.0.7',
npm WARN EBADENGINE required: { node: '>=16.11.0' },
npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.10.0' }
npm WARN EBADENGINE }
up to date in 7s
396 packages are looking for funding
run `npm fund` for details
+ npm run build
> dispatch-platform@1.2.0 build
> vue-cli-service build --mode staging
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
- Building for staging...
postcss-px-to-viewport: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
ERROR Failed to compile with 1 error7:05:34 PM
error in ./src/views/dispatch/index.vue?vue&type=script&lang=js
Syntax Error: Unexpected token (368:1)
[0m [90m 366 |[39m audioState[33m:[39m [36mfalse[39m[33m,[39m
[90m 367 |[39m isEmergency[33m:[39m [36mfalse[39m[33m,[39m
[31m[1m>[22m[39m[90m 368 |[39m [33m,[39m
[90m |[39m [31m[1m^[22m[39m
[90m 369 |[39m isDeviceSOS[33m:[39m [36mfalse[39m[33m,[39m [90m//是否是设备报警[39m
[90m 370 |[39m deviceSosId[33m:[39m [32m""[39m[33m,[39m [90m//设备报警id[39m
[90m 371 |[39m }[33m;[39m[0m
@ ./src/views/dispatch/index.vue?vue&type=script&lang=js 1:0-285 1:301-304 1:306-588 1:306-588
@ ./src/views/dispatch/index.vue
@ ./src/router/dynamicRouters.js
@ ./src/api/auth.js
@ ./src/main.js
@ multi ./src/main.js
ERROR Build failed with errors.
Build step 'Execute shell' marked build as failure
Finished: FAILURE