summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-12-13 16:44:21 +0100
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-12-13 16:44:21 +0100
commitf36cbe3c9f38b0ac2f49d454939653cce3b2a157 (patch)
tree84850e0dbfc7e16a3cde7e2ea5a5e8583428774d /odl-pipeline/lib
parentd6c385b653d814318eb5733ebc18ba9677b83d97 (diff)
Bugfix " in the environment part-2
Change-Id: I96aedc1b9535634a52deb10c56ab093ce4f754b3 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Diffstat (limited to 'odl-pipeline/lib')
-rwxr-xr-xodl-pipeline/lib/test_environment/test_environment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/odl-pipeline/lib/test_environment/test_environment.py b/odl-pipeline/lib/test_environment/test_environment.py
index d4894a9..cfa55a0 100755
--- a/odl-pipeline/lib/test_environment/test_environment.py
+++ b/odl-pipeline/lib/test_environment/test_environment.py
@@ -17,8 +17,9 @@ class TestEnvironment(Service):
BRIGES = ['admin', 'private', 'public', 'storage']
def run(self, sys_args, config):
- self.BUILD_DIR = '../build/apex-%s' % sys_args.env_number
self.env = str(sys_args.env_number).replace('"', '')
+ self.BUILD_DIR = '../build/apex-%s' % self.env
+
self.cleanup()
if sys_args.cleanup:
return