2022-02-12 16:15:37 +00:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: "woodpeckerci/plugin-git:next"
|
|
|
|
pipeline:
|
|
|
|
compliance:
|
|
|
|
commands:
|
|
|
|
- "gradle build"
|
|
|
|
- "gradle test"
|
|
|
|
image: "gradle:7.4-jdk17"
|
|
|
|
when:
|
|
|
|
event: pull_request
|
|
|
|
build:
|
|
|
|
commands:
|
|
|
|
- "gradle shadowJar"
|
|
|
|
image: "gradle:7.4-jdk17"
|
|
|
|
when:
|
|
|
|
branch: main
|
2022-02-12 21:49:39 +00:00
|
|
|
event: push
|
2022-02-12 16:15:37 +00:00
|
|
|
release:
|
|
|
|
image: jolheiser/drone-gitea-main:latest
|
|
|
|
settings:
|
|
|
|
token:
|
|
|
|
from_secret: gitea_token
|
|
|
|
base: https://git.jojodev.com
|
|
|
|
files:
|
|
|
|
- "build/libs/*.jar"
|
|
|
|
when:
|
2022-02-12 21:49:39 +00:00
|
|
|
branch: main
|
|
|
|
event: push
|