Change-Id: I7b3f9636ac6fdb7b1698a10f57c5731bce296b3b
Signed-off-by: sandra <sandra.biton@hpe.com>
-v DEVSTACK_DEPLOY_PATH:/opt/stack/devstack -v USER_HOME:${HOME} ${TESTOPTIONS} ${SUITES} || true
echo "Tests Executed"
+DEVSTACK_TEMPEST_DIR="/opt/stack/tempest"
+ssh ${OPENSTACK_CONTROL_NODE_IP} "sudo sh -c '${DEVSTACK_TEMPEST_DIR}/.tox/tempest/bin/subunit-1to2 < ${DEVSTACK_TEMPEST_DIR}/.testrepository/0 > ${DEVSTACK_TEMPEST_DIR}/subunit_log.txt'"
+ssh ${OPENSTACK_CONTROL_NODE_IP} "sudo sh -c '${DEVSTACK_TEMPEST_DIR}/.tox/tempest/bin/python ${DEVSTACK_TEMPEST_DIR}/.tox/tempest/lib/python2.7/site-packages/os_testr/subunit2html.py ${DEVSTACK_TEMPEST_DIR}/subunit_log.txt ${DEVSTACK_TEMPEST_DIR}/tempest_results.html'"
+scp ${OPENSTACK_CONTROL_NODE_IP}:${DEVSTACK_TEMPEST_DIR}/tempest_results.html ${WORKSPACE}/
collect_logs_and_exit
true # perhaps Jenkins is testing last exit code
pass-threshold: '{pass-if}'
only-critical: false
+- publisher:
+ name: integration-robot-tempest
+ publishers:
+ - robot:
+ output-path: ''
+ other-files:
+ - tempest_results.html
+ unstable-threshold: '{unstable-if}'
+ pass-threshold: '{pass-if}'
+ only-critical: false
+
- publisher:
name: integration-csit-archive-build
publishers:
- integration-cleanup-tmp
publishers:
- - integration-robot:
+ - integration-robot-tempest:
unstable-if: 0.0
pass-if: 100.0
- email-notification:
- integration-cleanup-tmp
publishers:
- - integration-robot:
+ - integration-robot-tempest:
unstable-if: 0.0
pass-if: 100.0
- email-notification: