Added junit result publishing.
This commit is contained in:
parent
33dac7a872
commit
45093faf4e
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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") {
|
||||||
|
Loading…
Reference in New Issue
Block a user