testing ugly hack on testinfra

Change-Id: Ic0c1f4e6adf4e3cd25d4e1547c8c5f956063a13c
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index c267afc..873be59 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -418,7 +418,7 @@
 
         if (common.checkContains('STACK_TEST', 'ceph')) {
             stage('Run infra tests') {
-                def cmd = "apt-get install -y python-pip && pip install -r /usr/share/salt-formulas/env/ceph/files/testinfra/requirements.txt && python -m pytest --junitxml=/root/report.xml /usr/share/salt-formulas/env/ceph/files/testinfra/"
+                def cmd = "bash -c 'apt-get install -y python-pip && pip install -r /usr/share/salt-formulas/env/ceph/files/testinfra/requirements.txt && python -m pytest --junitxml=/root/report.xml /usr/share/salt-formulas/env/ceph/files/testinfra/'"
                 salt.cmdRun(saltMaster, 'I@ceph:mon', cmd)
                 writeFile(file: 'report.xml', text: salt.getFileContent(saltMaster, TEST_TEMPEST_TARGET, '/root/report.xml'))
                 junit(keepLongStdio: true, testResults: 'report.xml')