Added the save-artifacts plugin, to access the piplie generated artifacts
This commit is contained in:
parent
20e237ba5a
commit
debd1fc11e
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue