diff --git a/.woodpecker.yml b/.woodpecker.yml index 8300ef3..06f2d9a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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: