1
1
This commit is contained in:
parent
f4567d0394
commit
fb9be19444
2 changed files with 12 additions and 1 deletions
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue