jenkins名字
This commit is contained in:
Vendored
+8
-1
@@ -4,7 +4,14 @@ pipeline {
|
|||||||
nodejs 'NodeJS20'
|
nodejs 'NodeJS20'
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
|
stage('清理工作空间') {
|
||||||
|
steps { deleteDir() }
|
||||||
|
}
|
||||||
|
stage('拉取代码') {
|
||||||
|
steps {
|
||||||
|
git url:'http://118.25.129.153:3000/zhihui/suanfa.git', branch:'main'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('设置NPM镜像'){
|
stage('设置NPM镜像'){
|
||||||
steps{
|
steps{
|
||||||
sh '''
|
sh '''
|
||||||
|
|||||||
Reference in New Issue
Block a user