diff --git a/Jenkinsfile b/Jenkinsfile index 69a17cf..4192878 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,14 @@ pipeline { nodejs 'NodeJS20' } stages { - + stage('清理工作空间') { + steps { deleteDir() } + } + stage('拉取代码') { + steps { + git url:'http://118.25.129.153:3000/zhihui/suanfa.git', branch:'main' + } + } stage('设置NPM镜像'){ steps{ sh '''