Fixed createOpenstackEnv call
Change-Id: Iab1b252c121a7ff5c063307fd02bd3de8dbd5876
diff --git a/Jenkinsfile b/Jenkinsfile
index 1626c47..625b4bc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -154,7 +154,7 @@
def openstack = new com.mirantis.mk.Openstack()
def openstackEnv = String.format("%s/venv", workspace);
def openstackVersion = OPENSTACK_API_CLIENT ? OPENSTACK_API_CLIENT : 'liberty'
- def rcFile = openstack.createOpenstackEnv(GLANCE_URL, GLANCE_CREDENTIALS_ID, GLANCE_PROJECT)
+ def rcFile = openstack.createOpenstackEnv(workspace, GLANCE_URL, GLANCE_CREDENTIALS_ID, GLANCE_PROJECT)
def glanceImgTypes = GLANCE_IMG_TYPES.tokenize(" ")
openstack.setupOpenstackVirtualenv(openstackEnv, openstackVersion)
openstack.runOpenstackCommand("pip install python-glanceclient==1.0.0", rcFile, openstackEnv)