diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index d06ebc3..6b434b1 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -4,9 +4,16 @@ name: 开发流水线 platform: os: linux arch: amd64 +volumes: +- name: cache + host: + path: /var/lib/cache steps: - name: maven image: maven:3-jdk-10 + volumes: + - name: cache + path: /root/.m2 commands: - mvn package -DskipTests=true # 本模板示例为上传软件包和部署脚本到home目录