更新 .drone.yml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
zeiss 2024-04-14 18:21:27 +08:00
parent db02880fae
commit 6c9d04d638
1 changed files with 0 additions and 5 deletions

View File

@ -22,8 +22,6 @@ steps:
path: /opt/module/maven # 将maven下载依赖的目录挂载出来防止重复下载
- name: maven-build
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
- name: maven-xml
path: /usr/share/maven/conf
commands: # 定义在Docker容器中执行的shell命令
- mvn clean package # 应用打包命令
- rm -rf /app/build/*
@ -80,7 +78,4 @@ volumes: # 定义流水线挂载目录,用于共享数据
- name: maven-cache
host:
path: /opt/module/maven
- name: maven-xml
host:
path: /opt/module/maven/apache-maven-3.8.5/conf