added cache, and corrected the artifacts plugin
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
root 2025-06-07 00:20:05 +01:00
parent 75e819a561
commit b4948e24bf

View file

@ -1,4 +1,12 @@
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:
@ -11,10 +19,18 @@ pipeline:
- master
- develop
save-artifacts:
image: woodpeckerci/plugin-artifacts
save-cache:
image: woodpeckerci/plugin-cache
settings:
path: /output/resilient-1.0.2-SNAPSHOT.jar
rebuild: true
mount:
- /root/.m2
- frontend/node_modules
save-artifacts:
image: plugins/artifacts
settings:
path: /output/resilient*.jar
volumes:
build: