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:
|
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*.jar /output/
|
- cp target/resilient*.jar /woodpecker/artifacts
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request, manual]
|
event: [push, pull_request, manual]
|
||||||
branch:
|
branch:
|
||||||
|
@ -41,7 +39,7 @@ steps:
|
||||||
image: ghcr.io/woodpecker-ci/plugin-artifacts
|
image: ghcr.io/woodpecker-ci/plugin-artifacts
|
||||||
settings:
|
settings:
|
||||||
files:
|
files:
|
||||||
- /output/resilient*.jar
|
- artifacts/resilient*.jar
|
||||||
destination: build
|
destination: build
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request, manual]
|
event: [push, pull_request, manual]
|
Loading…
Add table
Add a link
Reference in a new issue