Browse Source

修改docker配置

zq940222 2 months ago
parent
commit
dac2d7e1a5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Jenkinsfile

+ 4 - 1
Jenkinsfile

@@ -38,7 +38,10 @@ pipeline {
             steps {
                 script {
                     echo '****************************** 微服务工程打包 ******************************'
-                    sh "mvn -f ${params.SERVICE} clean install -Dmaven.test.skip=true"
+                    sh """
+                        cd ${params.SERVICE}
+                        mvn clean install -Dmaven.test.skip=true
+                    """
                 }
             }
         }