From a6f23710eb466fe2a0a750be834128e0654a4d23 Mon Sep 17 00:00:00 2001 From: wangwei <153692773@qq.com> Date: Fri, 11 Nov 2022 21:11:21 +0800 Subject: [PATCH] update pipeline for master branch --- .drone.yml | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index e256b10..faa13b5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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