maze-server/.drone.yml
Manuel Friedli 5eb05acec8
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
update drone config.
2023-03-25 11:03:41 +01:00

28 lines
580 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: test
image: maven:3.8-openjdk-18-slim
commands:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- mvn test -B
when:
branch:
include:
- master
- feature/*
- name: deploy
image: maven:3.8-openjdk-18-slim
environment:
REPO_TOKEN:
from_secret: repo-token
commands:
- mvn -s maven-settings.xml deploy -DskipTests=true
when:
branch:
- master
event:
exclude:
- pull_request