35 lines
455 B
YAML
35 lines
455 B
YAML
---
|
|
kind: pipeline
|
|
name: compliance
|
|
|
|
trigger:
|
|
event:
|
|
- pull_request
|
|
|
|
steps:
|
|
- name: build
|
|
pull: always
|
|
image: gradle:6.6
|
|
commands:
|
|
- gradle build
|
|
- gradle test
|
|
|
|
---
|
|
kind: pipeline
|
|
name: release
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: publish
|
|
pull: always
|
|
image: gradle:6.6
|
|
environment:
|
|
MAVEN_PASSWORD:
|
|
from_secret: maven_password
|
|
commands:
|
|
- gradle publish |