Bugfix " in the environment part-2 95/25895/1
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>
Tue, 13 Dec 2016 15:44:21 +0000 (16:44 +0100)
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>
Tue, 13 Dec 2016 15:44:21 +0000 (16:44 +0100)
Change-Id: I96aedc1b9535634a52deb10c56ab093ce4f754b3
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
odl-pipeline/lib/test_environment/test_environment.py

index d4894a9..cfa55a0 100755 (executable)
@@ -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