Compare commits
2 Commits
master
...
woodpecker
Author | SHA1 | Date |
---|---|---|
jolheiser | a2c3ace845 | |
Joey Hines | 9000fc9941 |
|
@ -1,19 +1,23 @@
|
|||
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: master
|
||||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git:next
|
||||
|
||||
pipeline:
|
||||
compliance:
|
||||
image: gradle:7.3-jdk17
|
||||
commands:
|
||||
- gradle build
|
||||
- gradle test
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
release:
|
||||
image: gradle:7.3-jdk17
|
||||
environment:
|
||||
- MAVEN_PASSWORD:
|
||||
from_secret: maven_password
|
||||
commands:
|
||||
- gradle publish
|
||||
when:
|
||||
branch: master
|
||||
|
||||
|
|
Loading…
Reference in New Issue