2022-05-02 16:30:57 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2022-05-02 16:35:25 +00:00
|
|
|
- name: build
|
|
|
|
image: maven
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
path: /root/.m2
|
2022-05-02 16:30:57 +00:00
|
|
|
commands:
|
2022-05-02 16:35:25 +00:00
|
|
|
- mvn clean install -DskipTests
|
2022-05-02 16:30:57 +00:00
|
|
|
|
2022-05-02 16:39:34 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2022-05-02 16:50:30 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
host:
|
|
|
|
path: /root/.m2
|