2022-01-16 16:10:44 +00:00
|
|
|
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:
|
2022-01-16 16:16:17 +00:00
|
|
|
branch: main
|
|
|
|
event: push
|