41 lines
501 B
YAML
41 lines
501 B
YAML
|
---
|
||
|
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
|
||
|
servers:
|
||
|
- id: etztech
|
||
|
username: etzelia
|
||
|
password:
|
||
|
from_secret: reposilite_token
|
||
|
|
||
|
|
||
|
- name: deploy
|
||
|
pull: always
|
||
|
image: maven:3-jdk-8
|
||
|
commands:
|
||
|
- mvn deploy
|