1811872455@163.com hai 2 semanas
pai
achega
37fd55435f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -216,7 +216,7 @@ pipeline {
             }
             steps {
                 echo "编译 API 代码"
-                sh "mvn clean package -U -am -pl ${modulePrefix}/${params.module} -P${params.profile} -Dmaven.test.skip=true"
+                sh "mvn clean package -U -am -pl ${params.module} -P${params.profile} -Dmaven.test.skip=true"
             }
         }
 
@@ -237,7 +237,7 @@ pipeline {
                           echo '
                           FROM ${BASE_IMAGE}
 
-                          COPY ${modulePrefix}/${params.module}/target/${params.module}.jar app.jar
+                          COPY ${params.module}/target/${params.module}.jar app.jar
                           EXPOSE ${API_PORT}
                           EXPOSE ${API_REMOTE_DEBUG_PORT}
                           HEALTHCHECK --interval=1m --timeout=10s CMD curl -f http://localhost:${API_PORT}/${API_NAMESPACE_RESTFUL}/actuator