From 45093faf4e920006d3572472f2d2ceee7eb3bf69 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Sun, 17 Apr 2022 01:37:34 -0500 Subject: [PATCH] Added junit result publishing. --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4272ad8..f90483c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ -pipeline{ +pipeline { agent any - stages{ + stages { stage("install") { steps { nodejs('NodeJS (17.4.0)') { @@ -20,6 +20,7 @@ pipeline{ nodejs('NodeJS (17.4.0)') { sh "npm run test" } + junit 'junit/*.xml' } } stage("archive product") {