From debd1fc11ef28b3ed3ffa95b564a1d59c54db07f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Jun 2025 00:04:42 +0100 Subject: [PATCH] Added the save-artifacts plugin, to access the piplie generated artifacts --- .woodpecker.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9471f31..2df86a0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,15 +1,24 @@ pipeline: backend-build: image: maven:3.9-eclipse-temurin-17 + volumes: + - build:/output commands: - echo "Building backend + frontend" - mvn clean install -Pprod -DskipTests + - cp target/resilient-1.0.2-SNAPSHOT.jar /output/ when: branch: include: - main - master - develop + + save-artifacts: + image: woodpeckerci/plugin-artifacts + settings: + path: /output/resilient-1.0.2-SNAPSHOT.jar + volumes: build: host: