Add artifactory credentials to build environment
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -32,7 +32,8 @@ try {
|
|||||||
checkout scm
|
checkout scm
|
||||||
sh "git clean -dfx"
|
sh "git clean -dfx"
|
||||||
try {
|
try {
|
||||||
withCredentials([GRADLE_ENTERPRISE_CACHE_USER,
|
withCredentials([ARTIFACTORY_CREDENTIALS,
|
||||||
|
GRADLE_ENTERPRISE_CACHE_USER,
|
||||||
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY]) {
|
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY]) {
|
||||||
withEnv([jdkEnv(),
|
withEnv([jdkEnv(),
|
||||||
"GRADLE_ENTERPRISE_CACHE_USERNAME=${GRADLE_ENTERPRISE_CACHE_USERNAME}",
|
"GRADLE_ENTERPRISE_CACHE_USERNAME=${GRADLE_ENTERPRISE_CACHE_USERNAME}",
|
||||||
|
|||||||
Reference in New Issue
Block a user