mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Use default enterprise image from credentials
This commit is contained in:
parent
247f810491
commit
93ff3e6cdc
1 changed files with 10 additions and 8 deletions
|
@ -45,14 +45,16 @@ pipeline {
|
|||
steps {
|
||||
timestamps {
|
||||
lock("${params.TESTNAMESPACE}-${env.GIT_COMMIT}") {
|
||||
withEnv([
|
||||
"KUBECONFIG=${params.KUBECONFIG}",
|
||||
"TESTNAMESPACE=${params.TESTNAMESPACE}-${env.GIT_COMMIT}",
|
||||
"IMAGETAG=${env.GIT_COMMIT}",
|
||||
"PUSHIMAGES=1",
|
||||
"ENTERPRISEIMAGE=${params.ENTERPRISEIMAGE}",
|
||||
]) {
|
||||
sh "make run-tests"
|
||||
withCredentials([string(credentialsId: 'ENTERPRISEIMAGE', variable: 'DEFAULTENTERPRISEIMAGE')]) {
|
||||
withEnv([
|
||||
"KUBECONFIG=${params.KUBECONFIG}",
|
||||
"TESTNAMESPACE=${params.TESTNAMESPACE}-${env.GIT_COMMIT}",
|
||||
"IMAGETAG=${env.GIT_COMMIT}",
|
||||
"PUSHIMAGES=1",
|
||||
"ENTERPRISEIMAGE=${params.ENTERPRISEIMAGE}",
|
||||
]) {
|
||||
sh "make run-tests"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue