resilient/.woodpecker.yml
root 0e18051d23
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
Update .woodpecker.yml
2025-06-09 08:38:16 +01:00

45 lines
No EOL
1 KiB
YAML

steps:
restore-cache:
image: plugins/cache
settings:
restore: true
mount:
- /root/.m2
- frontend/node_modules
path: /tmp/woodpecker-cache
when:
event: [push, pull_request, manual]
backend-build:
image: maven:3.9-eclipse-temurin-17
commands:
- echo "Building backend + frontend"
- mvn clean install -Pprod -DskipTests
- cp target/resilient*.jar /woodpecker/artifacts
when:
event: [push, pull_request, manual]
branch:
include:
- main
- master
- develop
save-cache:
image: plugins/cache
settings:
rebuild: true
mount:
- /root/.m2
- frontend/node_modules
path: /tmp/woodpecker-cache
when:
event: [push, pull_request, manual]
save-artifacts:
image: ghcr.io/woodpecker-ci/plugin-artifacts
settings:
files:
- artifacts/resilient*.jar
destination: build
when:
event: [push, pull_request, manual]