From b6932ed25e2ceeaa1e010d2af7278d21a715ed7c Mon Sep 17 00:00:00 2001 From: Joe Grandja Date: Fri, 11 Dec 2020 11:00:37 -0500 Subject: [PATCH] Add artifactory credentials to build environment --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 797feca..5b0eff9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,7 +32,8 @@ try { checkout scm sh "git clean -dfx" try { - withCredentials([GRADLE_ENTERPRISE_CACHE_USER, + withCredentials([ARTIFACTORY_CREDENTIALS, + GRADLE_ENTERPRISE_CACHE_USER, GRADLE_ENTERPRISE_SECRET_ACCESS_KEY]) { withEnv([jdkEnv(), "GRADLE_ENTERPRISE_CACHE_USERNAME=${GRADLE_ENTERPRISE_CACHE_USERNAME}",