Fix credentials

This commit is contained in:
Mark Paluch
2025-06-17 10:20:55 +02:00
parent 4d2e2bcd9c
commit 52e22e98c4
4 changed files with 6 additions and 5 deletions

2
Jenkinsfile vendored
View File

@@ -59,7 +59,7 @@ pipeline {
MAVEN_SIGNING_KEY_PASSWORD = credentials('spring-gpg-passphrase')
GIT_SIGNING_KEY = credentials('spring-gpg-github-private-key-jenkins')
GIT_SIGNING_KEY_PASSWORD = credentials('spring-gpg-github-passphrase-jenkins')
SONATYPE = credentials('oss-s01-token')
CENTRAL_TOKEN = credentials('central-token')
}
steps {

View File

@@ -89,7 +89,8 @@ public class MavenRuntime extends MavenRuntimeSupport {
mavenLogger.info(String.format("Executing: mvn %s", arguments));
CommandLine disabledGradleBuildCache = arguments.and(arg("gradle.cache.local.enabled=false"))
.and(arg("gradle.cache.remote.enabled=false"));
.and(arg("gradle.cache.remote.enabled=false")).and(arg("develocity.cache.local.enabled=false"))
.and(arg("develocity.cache.remote.enabled=false"));
mvn.setGoals(disabledGradleBuildCache.toCommandLine(it -> properties.getFullyQualifiedPlugin(it.getGoal())));
});

View File

@@ -403,7 +403,7 @@ public class MavenPublisher {
private final File file;
LocalStagingRepository(File file) {
super(String.format("central-staging::default::file://%s", file.getAbsolutePath()));
super(String.format("central-staging::file://%s", file.getAbsolutePath()));
this.file = file;
}

View File

@@ -18,8 +18,8 @@ deployment.commercial.api-key=${COMMERCIAL_PSW}
deployment.maven-central.gpg.keyname=003C0425
deployment.maven-central.gpg.passphrase=${MAVEN_SIGNING_KEY_PASSWORD}
deployment.maven-central.gpg.executable=/usr/bin/gpg
deployment.maven-central.username=${CENTRAL_TOKEN_USERNAME}
deployment.maven-central.password=${CENTRAL_TOKEN_PASSWORD}
deployment.maven-central.username=${CENTRAL_TOKEN_USR}
deployment.maven-central.password=${CENTRAL_TOKEN_PSW}
project-service.key=n/a