优化Jenkinsfile

This commit is contained in:
2026-06-17 09:27:44 +08:00
parent 839e4f7efe
commit 58b1d4acff
2 changed files with 18 additions and 30 deletions
Vendored
+1 -7
View File
@@ -4,13 +4,7 @@ pipeline {
nodejs 'NodeJS20'
}
stages {
stage('代码拉取') {
steps {
git url: 'http://118.25.129.153:3000/zhihui/suanfa.git',
branch: 'main'
echo '✅ 代码拉取成功'
}
}
stage('设置NPM镜像'){
steps{
sh '''