19 lines
349 B
YAML
19 lines
349 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
|