title: How to achieve gated check-in for GitLab Repository?
body: <p>My requirement is whenever developer try to do check-in existing GitLab repository then before doing check-in in repository,build should trigger (Jenkins build) and Junit test case should run on new check-in and if passes then it should go forward and will allow developer to do check-in in main repository.</p>
  
  <p>I am not sure but is pre-hook commit can achieve this requirement?</p>