@@ -1,17 +1,27 @@ | |||||
kind: pipeline | kind: pipeline | ||||
type: docker | type: docker | ||||
name: 1 | |||||
name: masterpipe | |||||
platform: | platform: | ||||
os: linux | os: linux | ||||
arch: arm64 | arch: arm64 | ||||
volumes: | |||||
- name: cache | |||||
host: | |||||
path: /var/lib/cache | |||||
steps: | steps: | ||||
- name: maven | - name: maven | ||||
image: maven:3-jdk-10 | image: maven:3-jdk-10 | ||||
volumes: | |||||
- name: cache | |||||
path: /root/.m2 | |||||
commands: | commands: | ||||
- mvn compile | - mvn compile | ||||
- name: maven | |||||
- name: test | |||||
image: maven:3-jdk-10 | image: maven:3-jdk-10 | ||||
volumes: | |||||
- name: cache | |||||
path: /root/.m2 | |||||
commands: | commands: | ||||
- mvn test | - mvn test | ||||