resilient/.woodpecker.yml
root b4948e24bf
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
added cache, and corrected the artifacts plugin
2025-06-07 00:20:05 +01:00

38 lines
767 B
YAML

pipeline:
restore-cache:
image: woodpeckerci/plugin-cache
settings:
restore: true
mount:
- /root/.m2
- frontend/node_modules
backend-build:
image: maven:3.9-eclipse-temurin-17
commands:
- echo "Building backend + frontend"
- mvn clean install -Pprod -DskipTests
when:
branch:
include:
- main
- master
- develop
save-cache:
image: woodpeckerci/plugin-cache
settings:
rebuild: true
mount:
- /root/.m2
- frontend/node_modules
save-artifacts:
image: plugins/artifacts
settings:
path: /output/resilient*.jar
volumes:
build:
host:
path: /tmp/woodpecker-artifacts