This commit is contained in:
parent
7e62e32a7d
commit
0e18051d23
1 changed files with 2 additions and 4 deletions
|
@ -12,12 +12,10 @@ steps:
|
|||
|
||||
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*.jar /output/
|
||||
- cp target/resilient*.jar /woodpecker/artifacts
|
||||
when:
|
||||
event: [push, pull_request, manual]
|
||||
branch:
|
||||
|
@ -41,7 +39,7 @@ steps:
|
|||
image: ghcr.io/woodpecker-ci/plugin-artifacts
|
||||
settings:
|
||||
files:
|
||||
- /output/resilient*.jar
|
||||
- artifacts/resilient*.jar
|
||||
destination: build
|
||||
when:
|
||||
event: [push, pull_request, manual]
|
Loading…
Add table
Add a link
Reference in a new issue