From d5963455dc5206d1468c1ee8e067c025f1ac1e0a Mon Sep 17 00:00:00 2001 From: Jozufozu Date: Sun, 26 Jan 2025 15:30:08 -0800 Subject: [PATCH] No secrets here - Remove withCredentials block in Build --- Jenkinsfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ffe97bb37..5f99a4abd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,16 +23,8 @@ pipeline { stage('Build') { steps { - - withCredentials([ - file(credentialsId: 'build_secrets', variable: 'ORG_GRADLE_PROJECT_secretFile'), - //file(credentialsId: 'java_keystore', variable: 'ORG_GRADLE_PROJECT_keyStore'), - file(credentialsId: 'gpg_key', variable: 'ORG_GRADLE_PROJECT_pgpKeyRing') - ]) { - - echo 'Building project.' - sh './gradlew build publish --stacktrace --warn' - } + echo 'Building project.' + sh './gradlew build publish --stacktrace --warn' } } }