From e37a2e2331a55cdba855ebcf685be813f3dd10c0 Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Fri, 21 Sep 2018 15:00:23 -0400 Subject: [PATCH] Update junit test results Change-Id: Idfddb862e035046b42f427f8b1ec86b1641e4c59 Signed-off-by: Mike Marchetti --- jenkins/ci-pipelines/ci_stage_3.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}") { -- 2.25.1