Pipeline no longer fails build if testing step fails
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ydeng/bmlsa/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ydeng/bmlsa/pipeline/head This commit looks good
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -9,7 +9,7 @@ pipeline {
 | 
			
		||||
        }
 | 
			
		||||
        stage("unit tests") {
 | 
			
		||||
            steps {
 | 
			
		||||
                sh "python -m pytest --junitxml=test_results.xml"
 | 
			
		||||
                sh returnStatus: true, script: "python -m pytest --junitxml=test_results.xml"
 | 
			
		||||
                xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'test_results.xml', stopProcessingIfError: true)]
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user