Add artifactory credentials to build environment
This commit is contained in:
parent
f9f15227d8
commit
b6932ed25e
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}",
|
||||||
|
Loading…
Reference in New Issue
Block a user