20 lines
367 B
YAML
20 lines
367 B
YAML
|
clone:
|
||
|
git:
|
||
|
image: "woodpeckerci/plugin-git:next"
|
||
|
pipeline:
|
||
|
compliance:
|
||
|
commands:
|
||
|
- "gradle build"
|
||
|
- "gradle test"
|
||
|
image: "gradle:7.3-jdk17"
|
||
|
when:
|
||
|
event: pull_request
|
||
|
release:
|
||
|
commands:
|
||
|
- "gradle publish"
|
||
|
secrets:
|
||
|
- maven_password
|
||
|
image: "gradle:7.3-jdk17"
|
||
|
when:
|
||
|
branch: main
|
||
|
event: push
|