2020-08-12 03:26:27 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: compliance
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
2020-08-17 14:11:43 +00:00
|
|
|
image: gradle:6.6
|
2020-08-12 03:26:27 +00:00
|
|
|
commands:
|
2020-08-17 14:11:43 +00:00
|
|
|
- gradle build
|
2020-08-12 03:26:27 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: release
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2020-08-14 15:22:40 +00:00
|
|
|
- master
|
2020-08-12 03:26:27 +00:00
|
|
|
event:
|
2020-08-14 15:22:40 +00:00
|
|
|
- push
|
2020-08-12 03:26:27 +00:00
|
|
|
|
|
|
|
steps:
|
2020-08-17 14:11:43 +00:00
|
|
|
- name: publish
|
2020-08-12 03:26:27 +00:00
|
|
|
pull: always
|
2020-08-17 14:11:43 +00:00
|
|
|
image: gradle:6.6
|
|
|
|
environment:
|
|
|
|
MAVEN_PASSWORD:
|
|
|
|
from_secret: maven_password
|
2020-08-12 03:26:27 +00:00
|
|
|
commands:
|
2020-08-17 14:11:43 +00:00
|
|
|
- gradle publish
|