优化Jenkinsfile
This commit is contained in:
Vendored
+1
-7
@@ -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 '''
|
||||
|
||||
Reference in New Issue
Block a user