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:
|
pipeline:
|
||||||
backend-build:
|
backend-build:
|
||||||
image: maven:3.9-eclipse-temurin-17
|
image: maven:3.9-eclipse-temurin-17
|
||||||
|
volumes:
|
||||||
|
- build:/output
|
||||||
commands:
|
commands:
|
||||||
- echo "Building backend + frontend"
|
- echo "Building backend + frontend"
|
||||||
- mvn clean install -Pprod -DskipTests
|
- mvn clean install -Pprod -DskipTests
|
||||||
|
- cp target/resilient-1.0.2-SNAPSHOT.jar /output/
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
include:
|
include:
|
||||||
- main
|
- main
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
|
|
||||||
|
save-artifacts:
|
||||||
|
image: woodpeckerci/plugin-artifacts
|
||||||
|
settings:
|
||||||
|
path: /output/resilient-1.0.2-SNAPSHOT.jar
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
build:
|
build:
|
||||||
host:
|
host:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue