Jenkinsfile updated.
This commit is contained in:
		
							parent
							
								
									3d3607d627
								
							
						
					
					
						commit
						b6207c199a
					
				
							
								
								
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -10,13 +10,13 @@ pipeline {
 | 
			
		||||
 | 
			
		||||
        stage('Build') {
 | 
			
		||||
            steps {
 | 
			
		||||
                g++ main.cpp sort.h sort.cpp -o test -lgtest -pthread
 | 
			
		||||
                sh "g++ main.cpp sort.h sort.cpp -o test -lgtest -pthread"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        stage('Test') {
 | 
			
		||||
            steps {
 | 
			
		||||
                test --gtest_output=xml:test_report.xml
 | 
			
		||||
                sh "test --gtest_output=xml:test_report.xml"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user