Added the save-artifacts plugin, to access the piplie generated artifacts

This commit is contained in:
root 2025-06-07 00:04:42 +01:00
parent 20e237ba5a
commit debd1fc11e

View file

@ -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: