Added junit result publishing.
This commit is contained in:
		
							
								
								
									
										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") {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user