Added junit result publishing.

This commit is contained in:
Harrison Deng 2022-04-17 01:37:34 -05:00
parent 33dac7a872
commit 45093faf4e

5
Jenkinsfile vendored
View File

@ -1,6 +1,6 @@
pipeline{ pipeline {
agent any agent any
stages{ stages {
stage("install") { stage("install") {
steps { steps {
nodejs('NodeJS (17.4.0)') { nodejs('NodeJS (17.4.0)') {
@ -20,6 +20,7 @@ pipeline{
nodejs('NodeJS (17.4.0)') { nodejs('NodeJS (17.4.0)') {
sh "npm run test" sh "npm run test"
} }
junit 'junit/*.xml'
} }
} }
stage("archive product") { stage("archive product") {