From 2bd7b0c52d1773c9b96798875771954778ca2675 Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Fri, 21 Sep 2018 13:56:56 -0400 Subject: [PATCH] Update copy of junit test results Change-Id: I306e84820c3a6dd0b7ca65ce047c6a922a50d091 Signed-off-by: Mike Marchetti --- jenkins/ci-pipelines/ci_stage_3.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 8dd70295..36c7a96a 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -52,8 +52,7 @@ 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}" - cp "${tempdir}/*.xml ." - junit '*.xml' + junit "${tempdir}/*.xml" } node("${params.NODE}") { -- 2.25.1