Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/badp-bcxin-web-5.x-staff 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-staff/.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-staff.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_front/badp-bcxin-web-5.x-staff.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-staff.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision 911b7ebe8603231a19eaec26328cde66f3dc9a83 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 911b7ebe8603231a19eaec26328cde66f3dc9a83 # timeout=10 Commit message: "提交合并的角色信息" > /usr/local/git/bin/git rev-list --no-walk a0eebaed80c6d305a9027b6ad279b103bd30e314 # timeout=10 [badp-bcxin-web-5.x-staff] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins1489853917335121558.sh + cd /data/jenkins/workspace/badp-bcxin-web-5.x-staff + npm install up to date in 3s + npm run build > ddm@0.1.0 build > vue-cli-service build Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme - Building for production... Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme ERROR Failed to compile with 1 error2:04:54 PM error in ./src/api/staffApi.js Syntax Error: Thread Loader (Worker 0) /data/jenkins/workspace/badp-bcxin-web-5.x-staff/src/api/staffApi.js: Identifier 'editRole' has already been declared. (1114:16) 1112 | 1113 | // 企业编辑角色 > 1114 | export function editRole(data, organizationId) { | ^ 1115 | return request({ 1116 | url: `/tenant/organizations/${organizationId}/role/edit`, 1117 | method: "post", at parser.next () at normalizeFile.next () at run.next () at transform.next () @ ./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/ApproveDetail.vue?vue&type=script&lang=js 2:0-133 554:8-26 566:8-27 716:8-45 767:12-49 889:16-32 @ ./src/views/ApproveOrg/ApproveDetail.vue?vue&type=script&lang=js @ ./src/views/ApproveOrg/ApproveDetail.vue @ ./src/views sync ^\.\/.*$ @ ./src/router/index.js @ ./src/main.js @ multi ./src/main.js ERROR Build failed with errors. Build step 'Execute shell' marked build as failure Finished: FAILURE