added cache, and corrected the artifacts plugin
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
This commit is contained in:
parent
75e819a561
commit
b4948e24bf
1 changed files with 19 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue