1
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/release Pipeline failed

1
This commit is contained in:
Stephan Schnabel 2025-06-24 22:07:15 +02:00
parent f4567d0394
commit fb9be19444
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
2 changed files with 12 additions and 1 deletions

View file

@ -3,6 +3,11 @@
<interactiveMode>false</interactiveMode> <interactiveMode>false</interactiveMode>
<localRepository>/woodpecker/.m2</localRepository> <localRepository>/woodpecker/.m2</localRepository>
<servers> <servers>
<server>
<id>git.schnabel.org</id>
<username>${env.FORGEJO_USERNAME}</username>
<password>${env.FORGEJO_PASSWORD}</password>
</server>
<server> <server>
<id>sonatype.org</id> <id>sonatype.org</id>
<username>${env.SONATYPE_ORG_USERNAME}</username> <username>${env.SONATYPE_ORG_USERNAME}</username>

View file

@ -10,14 +10,20 @@ steps:
image: maven:3.9.10-eclipse-temurin-17 image: maven:3.9.10-eclipse-temurin-17
commands: commands:
- git config user.email "$GIT_USER_EMAIL" - git config user.email "$GIT_USER_EMAIL"
- git config user.name "$GIT_USER_NAME"
- git config gpg.format ssh
- git config user.signingkey /tmp/ci
- echo $GIT_SIGN_KEY > /tmp/ci
- echo $HOME - echo $HOME
- ls -lA - ls -lA
- ls -lA ~ - ls -lA ~
- pwd - pwd
- git config user.name "$GIT_USER_NAME"
- mvn release:prepare - mvn release:prepare
environment: environment:
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
GIT_SIGN_KEY: {from_secret: woodpecker_sign_key}
FORGEJO_USERNAME: {from_secret: woodpecker_username}
FORGEJO_PASSWORD: {from_secret: woodpecker_password}
perform: perform:
image: maven:3.9.10-eclipse-temurin-17 image: maven:3.9.10-eclipse-temurin-17