summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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