diff --git a/Jenkinsfile b/Jenkinsfile index 867e4c2..617c11f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,11 +2,11 @@ pipeline { agent any stages { - stage('清理工作区') { - steps { - cleanWs() // 清理工作区 - } - } + stage('清理工作空间') { + steps { + deleteDir() + } + } stage('使用MAVNE构建') { steps { withMaven(maven: 'Maven3') { @@ -21,14 +21,14 @@ pipeline { } } - stage('Docker Compose 发布 root') { - steps { - sh ''' - cd /mydata/docker/rongshuo - docker compose down - docker compose up -d - ''' - } - } +// stage('Docker Compose 发布 root') { +// steps { +// sh ''' +// cd /mydata/docker/rongshuo +// docker compose down +// docker compose up -d +// ''' +// } +// } } } \ No newline at end of file