fix target for junit ceph test
Change-Id: Ib0941963df7e26dbed7bbd1db3b235ec2688015e
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index be20ab7..22867ce 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -420,7 +420,7 @@
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/"
salt.cmdRun(saltMaster, 'I@salt:master', cmd)
- writeFile(file: 'report.xml', text: salt.getFileContent(saltMaster, TEST_TEMPEST_TARGET, '/root/report.xml'))
+ writeFile(file: 'report.xml', text: salt.getFileContent(saltMaster, 'I@salt:master', '/root/report.xml'))
junit(keepLongStdio: true, testResults: 'report.xml')
}
}