Skip to content

Console Output

13:09:01 Started by user unknown or anonymous
13:09:01 Running as SYSTEM
13:09:01 Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-staff
13:09:01 The recommended git tool is: NONE
13:09:01 using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499
13:09:01  > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/badp-bcxin-web-5.x-staff/.git # timeout=10
13:09:01 Fetching changes from the remote Git repository
13:09:01  > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-staff.git # timeout=10
13:09:01 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-staff.git
13:09:01  > /usr/local/git/bin/git --version # timeout=10
13:09:01  > git --version # 'git version 2.43.0'
13:09:01 using GIT_ASKPASS to set credentials gitlab凭据
13:09:01  > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-staff.git +refs/heads/*:refs/remotes/origin/* # timeout=10
13:09:02  > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10
13:09:02 Checking out Revision a0eebaed80c6d305a9027b6ad279b103bd30e314 (refs/remotes/origin/test)
13:09:02  > /usr/local/git/bin/git config core.sparsecheckout # timeout=10
13:09:02  > /usr/local/git/bin/git checkout -f a0eebaed80c6d305a9027b6ad279b103bd30e314 # timeout=10
13:09:02 Commit message: "Merge branch 'master-优化部门问题' into test"
13:09:02  > /usr/local/git/bin/git rev-list --no-walk b2ccf0fbd3a4317d8c92389b47eb36c0b5ab038b # timeout=10
13:09:02 [badp-bcxin-web-5.x-staff] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins7198979478128249968.sh
13:09:02 + cd /data/jenkins/workspace/badp-bcxin-web-5.x-staff
13:09:02 + npm install
13:09:05 
13:09:05 up to date in 3s
13:09:05 + npm run build
13:09:05 
13:09:05 > ddm@0.1.0 build
13:09:05 > vue-cli-service build
13:09:05 
13:09:06 Browserslist: caniuse-lite is outdated. Please run:
13:09:06   npx update-browserslist-db@latest
13:09:06   Why you should do it regularly: https://github.com/browserslist/update-db#readme
13:09:06 
13:09:06 -  Building for production...
13:09:07 Browserslist: caniuse-lite is outdated. Please run:
13:09:07   npx update-browserslist-db@latest
13:09:07   Why you should do it regularly: https://github.com/browserslist/update-db#readme
13:09:24  ERROR  Failed to compile with 1 error1:09:24 PM
13:09:24 
13:09:24  error  in ./src/api/staffApi.js
13:09:24 
13:09:24 Syntax Error: Identifier 'addRole' has already been declared. (1114:16)
13:09:24 
13:09:24   1112 |
13:09:24   1113 | // 企业新增自定义角色
13:09:24 > 1114 | export function addRole(data,organizationId) {
13:09:24        |                 ^
13:09:24   1115 |   return request({
13:09:24   1116 |     url: `/tenant/organizations/${organizationId}/role/add`,
13:09:24   1117 |     method: "post",
13:09:24     at parser.next (<anonymous>)
13:09:24     at normalizeFile.next (<anonymous>)
13:09:24     at run.next (<anonymous>)
13:09:24     at transform.next (<anonymous>)
13:09:24 
13:09:24 
13:09:24  @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/ApproveOrg/index.vue?vue&type=script&lang=js 5:0-216 156:8-26 170:8-27 203:6-33 236:6-28 250:6-26 269:6-28 293:6-28 369:10-27 436:6-26
13:09:24  @ ./src/views/ApproveOrg/index.vue?vue&type=script&lang=js
13:09:24  @ ./src/views/ApproveOrg/index.vue
13:09:24  @ ./src/views sync ^\.\/.*$
13:09:24  @ ./src/router/index.js
13:09:24  @ ./src/main.js
13:09:24  @ multi ./src/main.js
13:09:24 
13:09:24  ERROR  Build failed with errors.
13:09:24 Build step 'Execute shell' marked build as failure
13:09:24 Finished: FAILURE