Browse Source

update cron config in .drone.yml

ansible
parent
commit
ce08d1443c
1 changed files with 12 additions and 15 deletions
  1. +12
    -15
      .drone.yml

+ 12
- 15
.drone.yml View File

@@ -8,24 +8,21 @@ steps:
- name: maven
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
- name: cache
path: /root/.m2
commands:
- mvn install -DskipTests=true

- name: run
image: maven:3-jdk-8
- mvn install -DskipTests=true
- name: run
image: maven:3-jdk-8
volumes:
- name: cache
path: /root/.m2
commands:
- nohup mvn tomcat7:run &

- name: cache
path: /root/.m2
commands:
- nohup mvn tomcat7:run &
volumes:
- name: cache
host:
path: /var/lib/cache

- name: cache
host:
path: /var/lib/cache
trigger:
branch:
- master


Loading…
Cancel
Save