Browse Source

update pipeline for master branch

master
parent
commit
a6f23710eb
1 changed files with 25 additions and 16 deletions
  1. +25
    -16
      .drone.yml

+ 25
- 16
.drone.yml View File

@@ -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

Loading…
Cancel
Save