Update copy of junit test results 43/6543/1
authorMike Marchetti <mmarchetti@sandvine.com>
Fri, 21 Sep 2018 17:56:56 +0000 (13:56 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Fri, 21 Sep 2018 17:56:56 +0000 (13:56 -0400)
Change-Id: I306e84820c3a6dd0b7ca65ce047c6a922a50d091
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 8dd7029..36c7a96 100644 (file)
@@ -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}") {