| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -110,18 +110,20 @@ def pcStage(String stageName, Closure body) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return docker.build("openpilot-base:build-${env.GIT_COMMIT}", "-f Dockerfile.openpilot_base .") | 
					 | 
					 | 
					 | 
					      return docker.build("openpilot-base:build-${env.GIT_COMMIT}", "-f Dockerfile.openpilot_base .") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    openpilot_base.inside(dockerArgs) { | 
					 | 
					 | 
					 | 
					    lock(resource: "", label: 'pc', inversePrecedence: true, quantity: 1) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      timeout(time: 20, unit: 'MINUTES') { | 
					 | 
					 | 
					 | 
					      openpilot_base.inside(dockerArgs) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        try { | 
					 | 
					 | 
					 | 
					        timeout(time: 20, unit: 'MINUTES') { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          retryWithDelay (3, 15) { | 
					 | 
					 | 
					 | 
					          try { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            sh "git config --global --add safe.directory '*'" | 
					 | 
					 | 
					 | 
					            retryWithDelay (3, 15) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            sh "git submodule update --init --recursive" | 
					 | 
					 | 
					 | 
					              sh "git config --global --add safe.directory '*'" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            sh "git lfs pull" | 
					 | 
					 | 
					 | 
					              sh "git submodule update --init --recursive" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          } | 
					 | 
					 | 
					 | 
					              sh "git lfs pull" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          body() | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } finally { | 
					 | 
					 | 
					 | 
					            body() | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            sh "rm -rf ${env.WORKSPACE}/* || true" | 
					 | 
					 | 
					 | 
					          } finally { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            sh "rm -rf .* || true" | 
					 | 
					 | 
					 | 
					              sh "rm -rf ${env.WORKSPACE}/* || true" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              sh "rm -rf .* || true" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          } | 
					 | 
					 | 
					 | 
					          } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      } | 
					 | 
					 | 
					 | 
					      } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |