From 6dbcdf0e8d476729d8cbbbbdbe3af051b273075f Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 16 Nov 2022 08:43:59 +0100 Subject: [PATCH] Use correct github authentication. --- Jenkinsfile | 4 ++-- src/main/resources/application-jenkins.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 892f9e9..9cb4fe6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,8 +25,8 @@ pipeline { options { timeout(time: 4, unit: 'HOURS') } environment { - GIT_USERNAME = credentials('spring-data-release-git-username') - GIT_PASSWORD = credentials('3a20bcaa-d8ad-48e3-901d-9fbc941376ee') + GITHUB = credentials('3a20bcaa-d8ad-48e3-901d-9fbc941376ee') + GITHUB_TOKEN = credentials('7b3ebbea-7001-479b-8578-b8c464dab973') DEPLOYMENT_API_KEY = credentials('repo_spring_io-jenkins-release-token') STAGING_PROFILE_ID = credentials('spring-data-release-deployment-maven-central-staging-profile-id') MAVEN_SIGNING_KEYRING = credentials('spring-signing-secring.gpg') diff --git a/src/main/resources/application-jenkins.properties b/src/main/resources/application-jenkins.properties index a99b90d..8c2545b 100644 --- a/src/main/resources/application-jenkins.properties +++ b/src/main/resources/application-jenkins.properties @@ -1,7 +1,7 @@ -git.username=${GIT_USERNAME} +git.username=${GITHUB_USR} git.author=Spring Builds git.email=builds@springframework.org -git.password=${GIT_PASSWORD} +git.password=${GITHUB_TOKEN} git.gpg.keyname=6743E1BD git.gpg.passphrase=${GIT_SIGNING_KEY_PASSWORD}