Browse Source

drone-03-修改drone文件中clean package -X

xixi178 7 months ago
parent
commit
beeca293eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .drone.yml

+ 1 - 1
.drone.yml

@@ -10,7 +10,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
         path: /root/testDrone # 将应用打包好的Jar和执行脚本挂载出来
         path: /root/testDrone # 将应用打包好的Jar和执行脚本挂载出来
     commands:
     commands:
       - $MAVEN_HOME/bin/mvn -v
       - $MAVEN_HOME/bin/mvn -v
-      - $MAVEN_HOME/bin/mvn clean package -DskipTests=true
+      - $MAVEN_HOME/bin/mvn clean package -X -DskipTests=true
       # 将打包后的jar包,拷贝到 /root/testDrone 目录
       # 将打包后的jar包,拷贝到 /root/testDrone 目录
       - cp target/*.jar  /root/testDrone
       - cp target/*.jar  /root/testDrone