2020-08-12 03:26:27 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: compliance
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
|
|
|
image: maven:3-jdk-8
|
|
|
|
commands:
|
|
|
|
- mvn package
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: release
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: .m2
|
|
|
|
pull: always
|
|
|
|
image: robertstettner/drone-mvn-auth
|
2020-08-12 14:12:44 +00:00
|
|
|
settings:
|
|
|
|
servers:
|
|
|
|
- id: etztech
|
|
|
|
username: etzelia
|
|
|
|
password:
|
|
|
|
from_secret: reposilite_token
|
2020-08-12 03:26:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: deploy
|
|
|
|
pull: always
|
|
|
|
image: maven:3-jdk-8
|
|
|
|
commands:
|
2020-08-12 14:30:30 +00:00
|
|
|
- mvn deploy -e -X -gs settings.xml
|