@@ -1,21 +1,5 @@
-kind: pipeline
-name: pipeline-example-maven
-
-steps:
-- name: Maven编译
- image: maven:3-jdk-11
- volumes:
- - name: install
- path: /root/cicdtest
- commands:
- - mvn clean compile
-volumes:
-- name: install
- host:
- path: /tmp/cache/.m2
-trigger:
- branch:
- - master
+pipeline:
+ build:
+ image: maven:3-jdk-11
+ commands:
+ - mvn compile