Update versions, refactor, cleanup.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4291b422bf
commit
874d4208ef
19 changed files with 478 additions and 429 deletions
20
.drone.yml
20
.drone.yml
|
|
@ -1,12 +1,20 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: maven:3.6-jdk-11
|
||||
- name: build
|
||||
image: maven:3.8-openjdk-18-slim
|
||||
commands:
|
||||
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
when:
|
||||
ref:
|
||||
include:
|
||||
- refs/head/master
|
||||
- refs/head/feature/**
|
||||
- refs/tags/**
|
||||
- name: test
|
||||
image: maven:3.8-openjdk-18-slim
|
||||
commands:
|
||||
- mvn test -B
|
||||
when:
|
||||
branch:
|
||||
|
|
@ -14,15 +22,15 @@ steps:
|
|||
- master
|
||||
- feature/*
|
||||
- name: deploy
|
||||
image: maven:3.6-jdk-11
|
||||
image: maven:3.8-openjdk-18-slim
|
||||
environment:
|
||||
REPO_TOKEN:
|
||||
from_secret: repo-token
|
||||
commands:
|
||||
- mvn -s maven-settings.xml deploy -DskipTests=true
|
||||
trigger:
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
- pull_request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue