2020-08-12 03:26:27 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: compliance
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
2021-03-16 01:56:59 +00:00
|
|
|
image: gradle:6.6
|
2020-08-12 03:26:27 +00:00
|
|
|
commands:
|
2021-03-16 01:56:59 +00:00
|
|
|
- gradle build
|
2021-06-11 02:47:12 +00:00
|
|
|
- gradle test
|
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:
|
2021-03-16 01:56:59 +00:00
|
|
|
- name: publish
|
2020-08-12 03:26:27 +00:00
|
|
|
pull: always
|
2021-03-16 01:56:59 +00:00
|
|
|
image: gradle:6.6
|
|
|
|
environment:
|
|
|
|
MAVEN_PASSWORD:
|
|
|
|
from_secret: maven_password
|
2020-08-12 03:26:27 +00:00
|
|
|
commands:
|
2021-03-16 01:56:59 +00:00
|
|
|
- gradle publish
|