Ver Fonte

Add artifactory credentials to build environment

Joe Grandja há 4 anos atrás
pai
commit
b6932ed25e
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Jenkinsfile

+ 2 - 1
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}",