Browse Source

update pipeline for master branch

interface
parent
commit
f2bb06f1d0
1 changed files with 23 additions and 11 deletions
  1. +23
    -11
      .drone.yml

+ 23
- 11
.drone.yml View File

@@ -1,21 +1,33 @@

kind: pipeline
type: docker
name: master
name: 1
platform:
os: linux
arch: amd64

workspace:
base: /opt/workspace
path: work
volumes:
- name: m2
host:
path: /root/.m2
steps:
- name: maven
image: maven:3-jdk-10
commands:
- mvn install
- name: tomcat-deploy
image: tomcat
commands:
- cp target/webssh.war /usr/local/tomcat/webapps
- bash /usr/local/tomcat/bin/start.sh
- name: maven
image: maven:3-jdk-10
volumes:
- name: m2
path: /root/.m2
commands:
- mvn install
- name: tomcat-deploy
image: tomcat
commands:
- cp target/webssh.war /usr/local/tomcat/webapps
- bash /usr/local/tomcat/bin/start.sh
trigger:
branch:


Loading…
Cancel
Save