From: Mike Marchetti Date: Fri, 21 Sep 2018 19:00:23 +0000 (-0400) Subject: Update junit test results X-Git-Tag: v5.0.0~105 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F6545%2F1;p=osm%2Fdevops.git Update junit test results Change-Id: Idfddb862e035046b42f427f8b1ec86b1641e4c59 Signed-off-by: Mike Marchetti --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 67f3491e..503b3137 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -53,7 +53,8 @@ def uninstall_osm(stackName) { def run_systest(stackName,tagName,testName) { tempdir = sh(returnStdout: true, script: "mktemp -d").trim() sh "docker run --network net${stackName} -v ${tempdir}:/usr/share/osm-devops/systest/reports osm/osmclient:${tagName} make -C /usr/share/osm-devops/systest ${testName}" - junit "${tempdir}/*.xml" + sh "cp ${tempdir}/* ." + junit '*.xml' } node("${params.NODE}") {