Reconfigure for forgejo/woodpecker
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Stephan Schnabel 2025-05-28 20:01:57 +02:00
parent f421be47af
commit 5c770ed660
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
12 changed files with 162 additions and 138 deletions

29
.woodpecker/build.yaml Normal file
View file

@ -0,0 +1,29 @@
when:
event: [manual, push]
branch: main
path: [.woodpecker/build.yaml, pom.xml, src/**]
services:
- name: dockerd
image: kokuwaio/dockerd
ports: [2375, 8080]
steps:
build:
image: maven:3.9.9-eclipse-temurin-17
commands:
- env | sort
- mvn deploy --settings=.woodpecker/maven/settings.xml -Dmaven.test.redirectTestOutputToFile=true -X
environment:
NEXUS_USERNAME: {from_secret: nexus_username}
NEXUS_PASSWORD: {from_secret: nexus_password}
debug:
image: kokuwaio/dockerd
commands:
- docker ps --all
- docker logs keylcoak
- exit 1
when:
status: failure