mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 09:25:15 +00:00 
			
		
		
		
	Fix CI permissions
This commit is contained in:
		
							
								
								
									
										5
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -351,6 +351,11 @@ pipeline {
 | 
				
			|||||||
      juxtapose event: 'failure'
 | 
					      juxtapose event: 'failure'
 | 
				
			||||||
      sh 'figlet "FAILURE"'
 | 
					      sh 'figlet "FAILURE"'
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    always {
 | 
				
			||||||
 | 
					      // Revert ownership
 | 
				
			||||||
 | 
					      sh 'echo Reverting ownership'
 | 
				
			||||||
 | 
					      sh 'docker run --rm -v ${CWD}:/project ${DOCKER_CI_TOOLS} chown -R $(id -u):$(id -g) /project'
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user