Update copy of junit test results
Change-Id: I306e84820c3a6dd0b7ca65ce047c6a922a50d091
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy
index 8dd7029..36c7a96 100644
--- a/jenkins/ci-pipelines/ci_stage_3.groovy
+++ b/jenkins/ci-pipelines/ci_stage_3.groovy
@@ -52,8 +52,7 @@
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}") {