X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fci-pipelines%2Fci_helper.groovy;h=32967f56c8a9f9423a63286df9c7534941a66f58;hb=bf47e150aa877a0525cf30fb633f613dae6feb3b;hp=9708b1c8a0ac6a2018188837a9407aebaffbe36f;hpb=4ffe5fe87638d92398252d6f23ab93ac0d1ec6fd;p=osm%2Fdevops.git diff --git a/jenkins/ci-pipelines/ci_helper.groovy b/jenkins/ci-pipelines/ci_helper.groovy index 9708b1c8..32967f56 100644 --- a/jenkins/ci-pipelines/ci_helper.groovy +++ b/jenkins/ci-pipelines/ci_helper.groovy @@ -75,11 +75,13 @@ def systest_run(container_name, test, source_rc = null) { pre_source = "/tmp/" + source_rc.substring(source_rc.lastIndexOf('/')+1) lxc_file_push(container_name,source_rc,pre_source) - lxc_run(container_name, "sh -c '. ${pre_source}; make -C devops/systest OSM_HOSTNAME=${so_ip} OSM_RO_HOSTNAME=${ro_ip} ${test}'") + result = lxc_run(container_name, "sh -c '. ${pre_source}; make -C devops/systest OSM_HOSTNAME=${so_ip} OSM_RO_HOSTNAME=${ro_ip} ${test}'") + echo result } 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",'.') }