Browse Source

Clean up YAML

master
jolheiser 2 weeks ago
parent
commit
7173a70003
  1. 43
      .woodpecker.yml

43
.woodpecker.yml

@ -1,23 +1,20 @@
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
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"
environment:
MAVEN_PASSWORD:
from_secret: maven_password
image: "gradle:7.3-jdk17"
when:
branch: master
Loading…
Cancel
Save