Skip to content

Commit f4f2e34

Browse files
committed
Override takari-release profile from the parent pom
1 parent d6b3041 commit f4f2e34

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ pipeline {
7171

7272
sh '''
7373
git config --global --add safe.directory ${PWD}
74-
git config --global user.email "oss-release-bot@prestodb.io"
75-
git config --global user.name "oss-release-bot"
74+
git config --global user.email "ci@list.prestodb.io"
75+
git config --global user.name "prestodb-ci"
7676
'''
7777

7878
sh '''#!/bin/bash -ex
@@ -87,7 +87,7 @@ pipeline {
8787
-DautoVersionSubmodules=true \
8888
-DgenerateBackupPoms=false \
8989
-Dgpg.passphrase=${GPG_PASSPHRASE} \
90-
-Poss-release
90+
-Ptakari-release
9191
9292
git branch
9393
git log --pretty="format:%ce: %s" -8
@@ -146,7 +146,7 @@ pipeline {
146146
-DkeepStagingRepositoryOnCloseRuleFailure=true \
147147
-DkeepStagingRepositoryOnFailure=true \
148148
-DskipTests \
149-
-Poss-release \
149+
-Ptakari-release \
150150
-Pdeploy-to-ossrh \
151151
-DstagingProgressTimeoutMinutes=10
152152
'''

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
<profiles>
122122
<profile>
123-
<id>oss-release</id>
123+
<id>takari-release</id>
124124
<build>
125125
<plugins>
126126
<!-- oss requires a javadoc jar. Build one when releasing. -->

settings.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<username>${env.SONATYPE_NEXUS_USERNAME}</username>
1010
<password>${env.SONATYPE_NEXUS_PASSWORD}</password>
1111
</server>
12+
<server>
13+
<id>sonatype.releases</id>
14+
<username>${env.SONATYPE_NEXUS_USERNAME}</username>
15+
<password>${env.SONATYPE_NEXUS_PASSWORD}</password>
16+
</server>
1217
<server>
1318
<id>sonatype.snapshots</id>
1419
<username>${env.SONATYPE_NEXUS_USERNAME}</username>

0 commit comments

Comments
 (0)