Skip to content

Commit

Permalink
Fixed DEPLOYMENTNAMESPACE for jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoutp committed Mar 12, 2018
1 parent f49b1a0 commit 0ad4ec3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pipeline {
timestamps {
withEnv([
"IMAGETAG=${env.GIT_COMMIT}",
"DEPLOYMENTNAMESPACE=${params.TESTNAMESPACE}-${env.GIT_COMMIT}",
"DOCKERNAMESPACE=${params.DOCKERNAMESPACE}",
]) {
sh "make"
Expand All @@ -51,12 +52,12 @@ pipeline {
lock("${params.TESTNAMESPACE}-${env.GIT_COMMIT}") {
withCredentials([string(credentialsId: 'ENTERPRISEIMAGE', variable: 'DEFAULTENTERPRISEIMAGE')]) {
withEnv([
"DEPLOYMENTNAMESPACE=${params.TESTNAMESPACE}-${env.GIT_COMMIT}",
"DOCKERNAMESPACE=${params.DOCKERNAMESPACE}",
"ENTERPRISEIMAGE=${params.ENTERPRISEIMAGE}",
"IMAGETAG=${env.GIT_COMMIT}",
"KUBECONFIG=${params.KUBECONFIG}",
"LONG=${params.LONG ? 1 : 0}",
"DEPLOYMENTNAMESPACE=${params.TESTNAMESPACE}-${env.GIT_COMMIT}",
]) {
sh "make run-tests"
}
Expand Down

0 comments on commit 0ad4ec3

Please sign in to comment.