Jenkinsfile updated.
This commit is contained in:
		
							parent
							
								
									4a14c120e8
								
							
						
					
					
						commit
						54802ebcd9
					
				
							
								
								
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -10,7 +10,7 @@ pipeline {
 | 
			
		||||
 | 
			
		||||
        stage('Build') {
 | 
			
		||||
            steps {
 | 
			
		||||
                sh "g++ main.cpp sort.h sort.cpp -o test -lgtest -pthread"
 | 
			
		||||
                sh "g++ main.cpp sort.h sort.cpp -o test -w -lgtest -pthread"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@ -23,7 +23,7 @@ pipeline {
 | 
			
		||||
 | 
			
		||||
    post {
 | 
			
		||||
    always {
 | 
			
		||||
        xunit (tools: [ GoogleTest(pattern: './test_report.xml') ])
 | 
			
		||||
        xunit (tools: [ GoogleTest(pattern: 'test_report.xml') ])
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user