From: Mike Marchetti Date: Fri, 21 Sep 2018 17:56:56 +0000 (-0400) Subject: Update copy of junit test results X-Git-Tag: v5.0.0~107 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=2bd7b0c52d1773c9b96798875771954778ca2675;p=osm%2Fdevops.git Update copy of junit test results Change-Id: I306e84820c3a6dd0b7ca65ce047c6a922a50d091 Signed-off-by: Mike Marchetti --- 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}") {