Fix credentials
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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 {
|
||||
|
||||
@@ -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())));
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user