From 8ae45a8133f49393d72cef64d2c12d380acffa47 Mon Sep 17 00:00:00 2001 From: m53297601 <2053003901@qq.com> Date: Tue, 8 Aug 2023 10:17:00 +0800 Subject: [PATCH] Update .trustie-pipeline.yml --- .trustie-pipeline.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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目录