1
0
Fork 0
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:
Ewout Prangsma 2018-02-27 10:45:57 +01:00
parent 247f810491
commit 93ff3e6cdc
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -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"
}
}
}
}