@@ -1,16 +1,25 @@ | |||||
kind: pipeline | |||||
type: docker | |||||
name: master-pipeline | |||||
steps: | |||||
- name: package | |||||
image: maven:3-jdk-8 | |||||
commands: | |||||
- mvn tomcat7:run | |||||
trigger: | |||||
branch: | |||||
- master | |||||
event: | |||||
- push | |||||
- pull_request | |||||
kind: pipeline | |||||
type: docker | |||||
name: 1 | |||||
platform: | |||||
os: linux | |||||
arch: amd64 | |||||
steps: | |||||
- name: maven | |||||
image: maven:3-jdk-10 | |||||
commands: | |||||
- mvn install -DskipTests=true | |||||
- name: run | |||||
image: maven:3-jdk-8 | |||||
commands: | |||||
- mvn tomcat7:run | |||||
trigger: | |||||
branch: | |||||
- master | |||||
event: | |||||
- push | |||||
- pull_request |