更新 Jenkinsfile
This commit is contained in:
parent
4fe6b28e81
commit
4da33e787a
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -23,12 +23,6 @@ pipeline {
|
|||||||
rm -rf node_modules package-lock.json
|
rm -rf node_modules package-lock.json
|
||||||
npm config set registry https://registry.npmmirror.com
|
npm config set registry https://registry.npmmirror.com
|
||||||
|
|
||||||
# 检查并移除恶意依赖
|
|
||||||
if grep -q "vab-contextmenu" package.json; then
|
|
||||||
echo "发现恶意依赖vab-contextmenu,正在移除..."
|
|
||||||
npm uninstall vab-contextmenu
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 安装其他依赖
|
# 安装其他依赖
|
||||||
npm install
|
npm install
|
||||||
'''
|
'''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user