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:
|
pipeline:
|
||||||
|
restore-cache:
|
||||||
|
image: woodpeckerci/plugin-cache
|
||||||
|
settings:
|
||||||
|
restore: true
|
||||||
|
mount:
|
||||||
|
- /root/.m2
|
||||||
|
- frontend/node_modules
|
||||||
|
|
||||||
backend-build:
|
backend-build:
|
||||||
image: maven:3.9-eclipse-temurin-17
|
image: maven:3.9-eclipse-temurin-17
|
||||||
commands:
|
commands:
|
||||||
|
@ -11,10 +19,18 @@ pipeline:
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
|
|
||||||
save-artifacts:
|
save-cache:
|
||||||
image: woodpeckerci/plugin-artifacts
|
image: woodpeckerci/plugin-cache
|
||||||
settings:
|
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:
|
volumes:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue