2020-10-03 01:07:59 +02:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: maven:3.6-jdk-11
|
|
|
|
commands:
|
|
|
|
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
|
|
|
- mvn test -B
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- feature/*
|
2020-10-04 23:17:37 +02:00
|
|
|
- name: deploy
|
|
|
|
image: maven:3.6-jdk-11
|
|
|
|
environment:
|
|
|
|
REPO_TOKEN:
|
|
|
|
from_secret: repo-token
|
|
|
|
commands:
|
2020-10-06 01:53:09 +02:00
|
|
|
- mvn -s maven-settings.xml deploy -DskipTests=true
|
2022-02-02 01:12:31 +01:00
|
|
|
trigger:
|
2020-10-04 23:17:37 +02:00
|
|
|
branch:
|
2022-02-02 01:12:31 +01:00
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|