2020-09-05 15:17:49 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: compliance
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
2020-09-07 20:56:25 +00:00
|
|
|
- pull_request
|
2020-09-05 15:17:49 +00:00
|
|
|
|
|
|
|
steps:
|
2020-09-07 20:56:25 +00:00
|
|
|
- name: build
|
|
|
|
pull: always
|
|
|
|
image: gradle:6.6
|
|
|
|
commands:
|
|
|
|
- gradle build
|
|
|
|
- gradle test
|
2020-09-05 15:17:49 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: release
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2020-09-07 20:56:25 +00:00
|
|
|
- master
|
2020-09-05 15:17:49 +00:00
|
|
|
event:
|
2020-09-07 20:56:25 +00:00
|
|
|
- push
|
2020-09-05 15:17:49 +00:00
|
|
|
|
|
|
|
steps:
|
2020-09-07 20:56:25 +00:00
|
|
|
- name: publish
|
|
|
|
pull: always
|
|
|
|
image: gradle:6.6
|
|
|
|
environment:
|
|
|
|
MAVEN_PASSWORD:
|
|
|
|
from_secret: maven_password
|
|
|
|
commands:
|
|
|
|
- gradle publish
|