jekins 配合运维发布脚本

Step 1/12 : FROM avatar.tencentcloudcr.com/public-avatar/node:14 as node_build
—> 10c23e0e6c5b
Step 2/12 : ENV PATH=“/usr/local/node/bin:${PATH}”
—> Using cache
—> b76a5d4e9561
Step 3/12 : RUN mkdir -p /usr/src/app/
—> Using cache
—> 16c1d796aa9c
Step 4/12 : WORKDIR /usr/src/app/
—> Using cache
—> b630da0ff579
Step 5/12 : RUN cd /usr/src/app/ && npm config set registry http://172.31.0.15:4873/
—> Using cache
—> 0497c6eae147
Step 6/12 : COPY . /usr/src/app/
—> 91d75a8ae179
Step 7/12 : RUN sh auto-run.sh dev
—> Running in 4f13be02e4a8
[91mnpm[0m[91m WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I’ll try to do my best with it!
[0m[91mnpm WARN deprecated vuex-persistedstate@4.1.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[0m[91mnpm WARN deprecated shvl@2.0.3: older versions vulnerable to prototype pollution
[0m[91mnpm ERR! code EBADPLATFORM
[0m[91mnpm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm ERR! notsup Valid OS: darwin
npm [0m[91mERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
[0m[91mnpm [0m[91mERR! notsup Actual Arch: x64
[0m[91m
npm ERR![0m[91m A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-10-31T02_26_54_625Z-debug.log
[0m

myadmin@0.1.0 build:dev /usr/src/app
vue-cli-service build --mode development

[91msh: 1: vue-cli-service: not found
[0m[91mnpm ERR! code ELIFECYCLE
[0m[91mnpm ERR! [0m[91msyscall spawn
npm [0m[91mERR! file sh
npm ERR! errno[0m[91m ENOENT
[0m[91mnpm ERR! myadmin@0.1.0 build:dev: vue-cli-service build --mode development
npm[0m[91m ERR! spawn ENOENT
npm [0m[91mERR!
npm[0m[91m [0m[91mERR! Failed at the myadmin@0.1.0 build:dev script.
npm ERR![0m[91m This is probably not a problem with npm. There is likely additional logging output above.
[0m[91mnpm WARN Local package.json exists, but node_modules missing, did you mean to install?
[0m[91m
npm [0m[91mERR! A complete log of this run can be found in:
npm[0m[91m [0m[91mERR! /root/.npm/_logs/2022-10-31T02_26_54_852Z-debug.log
[0mThe command ‘/bin/sh -c sh auto-run.sh dev’ returned a non-zero code: 1
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值