diff --git a/Jenkinsfile b/Jenkinsfile index 2901a4493..32f28c10f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,6 @@ def branchName = "${env.BRANCH_NAME}"; def branchProduction = "master" def branchTest = "test"; -def dockerHost = "${env.DOCKER_HOST}"; env.BRANCH_NAME = branchName; env.TAG = "${env.BUILD_NUMBER}"; @@ -13,7 +12,7 @@ switch (branchName){ env.NODE_ENV = "development"; break; case branchProduction: - dockerHost = "tcp://172.16.255.29:2375"; + env.DOCKER_HOST = "tcp://172.16.255.29:2375"; env.NODE_ENV = "production" break; }