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/dev-jc-0529, since it originates from another repository
> /usr/local/git/bin/git rev-parse f2c1b2b5^{commit} # timeout=10
Checking out Revision f2c1b2b506e60c92fca13f39cb58bbadbe67a229 (detached)
> /usr/local/git/bin/git config core.sparsecheckout # timeout=10
> /usr/local/git/bin/git checkout -f f2c1b2b506e60c92fca13f39cb58bbadbe67a229 # timeout=10
Commit message: "hotfix: 添加hash的版本号"
> /usr/local/git/bin/git rev-list --no-walk f2c1b2b506e60c92fca13f39cb58bbadbe67a229 # timeout=10
[badp-bcxin-web-5.x-dispatch-vue] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins9107487823053552437.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
394 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-2025651625
> dispatch-platform@1.0.0-202564119 build
> vue-cli-service build --mode staging
- Building for staging...
ERROR WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.resolve has an unknown property 'output'. These properties are valid:
object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, ignoreRootsErrors?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, preferAbsolute?, resolver?, roots?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
-> Options for the resolver
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.resolve has an unknown property 'output'. These properties are valid:
object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, ignoreRootsErrors?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, preferAbsolute?, resolver?, roots?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
-> Options for the resolver
at webpack (/data/jenkins/workspace/badp-bcxin-web-5.x-dispatch-vue/node_modules/webpack/lib/webpack.js:31:9)
at /data/jenkins/workspace/badp-bcxin-web-5.x-dispatch-vue/node_modules/@vue/cli-service/lib/commands/build/index.js:200:5
at new Promise (<anonymous>)
at build (/data/jenkins/workspace/badp-bcxin-web-5.x-dispatch-vue/node_modules/@vue/cli-service/lib/commands/build/index.js:199:10)
at async /data/jenkins/workspace/badp-bcxin-web-5.x-dispatch-vue/node_modules/@vue/cli-service/lib/commands/build/index.js:89:7
Build step 'Execute shell' marked build as failure
Finished: FAILURE