From: Mike Marchetti Date: Mon, 16 Apr 2018 17:57:12 +0000 (-0400) Subject: add output logging to systest_run X-Git-Tag: v3.1.0~20 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=34b892a25173619996492dd037643af146235894;p=osm%2Fdevops.git add output logging to systest_run Change-Id: Ie7e28d3a71763aca75283d309f6fa3fb74af470f Signed-off-by: Mike Marchetti --- diff --git a/jenkins/ci-pipelines/ci_helper.groovy b/jenkins/ci-pipelines/ci_helper.groovy index 9708b1c8..94e1b705 100644 --- a/jenkins/ci-pipelines/ci_helper.groovy +++ b/jenkins/ci-pipelines/ci_helper.groovy @@ -79,7 +79,8 @@ def systest_run(container_name, test, source_rc = null) { } else { - lxc_run(container_name, "make -C devops/systest OSM_HOSTNAME=${so_ip} OSM_RO_HOSTNAME=${ro_ip} ${test}") + result = lxc_run(container_name, "make -C devops/systest OSM_HOSTNAME=${so_ip} OSM_RO_HOSTNAME=${ro_ip} ${test}") + echo result } lxc_get_file(container_name, "/root/devops/systest/reports/pytest-${test}.xml",'.') }