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 7b68179d18ede20cdcd2a56faea4b631dd8f3270 (origin/test)
> /usr/local/git/bin/git config core.sparsecheckout # timeout=10
> /usr/local/git/bin/git checkout -f 7b68179d18ede20cdcd2a56faea4b631dd8f3270 # timeout=10
Commit message: "feat: 为一键静音和取消静音按钮添加图标"
> /usr/local/git/bin/git rev-list --no-walk 046dee2b8db886309f984d1e22eadf133c6c8117 # timeout=10
[badp-bcxin-web-5.x-dispatch-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins7715469213500981497.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 3s
396 packages are looking for funding
run `npm fund` for details
+ npm run build
> dispatch-platform@1.0.0-202564119 prebuild
> node version.js
生成的版本号为: 1.0.0-20257311755
> dispatch-platform@1.0.0-202564119 build
> vue-cli-service build --mode staging
- 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 error5:55:45 PM
error in ./src/views/videoManage/index.vue?vue&type=script&lang=js
Syntax Error: Unexpected token (8:1)
[0m [90m 6 |[39m [36mimport[39m { getChannelList[33m,[39m getLiveStream } [36mfrom[39m [32m'@/api/video-controller.js'[39m
[90m 7 |[39m [36mimport[39m deviceChannelService [36mfrom[39m [32m'@/api/device-channel-service'[39m[33m;[39m
[31m[1m>[22m[39m[90m 8 |[39m [33m<<[39m[33m<<[39m[33m<<[39m[33m<[39m [33mHEAD[39m
[90m |[39m [31m[1m^[22m[39m
[90m 9 |[39m [33m===[39m[33m===[39m[33m=[39m
[90m 10 |[39m [36mimport[39m { getHuaweiAccessToken } [36mfrom[39m [32m"@/api/common"[39m[33m;[39m
[90m 11 |[39m [33m>>>[39m[33m>>>[39m[33m>[39m feat[33m-[39m华为请求bug[0m
at parser.next (<anonymous>)
at normalizeFile.next (<anonymous>)
at run.next (<anonymous>)
at transform.next (<anonymous>)
@ ./src/views/videoManage/index.vue?vue&type=script&lang=js 1:0-285 1:301-304 1:306-588 1:306-588
@ ./src/views/videoManage/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