I am trying to set up a CI/CD pipeline where once the developer pushes the local to a remote dev repository in GIT LAB the code review process should take place. I was able to link the GITLAB repo with jenkins earlier so that when a code is pushed towards the git repo the code is build in jenkins automatically using the the trigger. But now i am checking whether the same test and build process can be done within the GITLAB interface with the help of any plugins. The initial code review process can be automated this way and later deployed to the required environment.
Does the gitlab have any automatic code review process? For example, When a developer pushes the branch to the remote repository, Do we have any option where we could have an automatic code review process which checks the basic coding standards and later a maintainer can accept the merge request if it satisfies the code quality standards.
1) I have used Jenkins but not sure whether I will be able to test the code and automatically review the code using Jenkins.
2) I have tried using gitlab CI (By Adding contents to '.gitlab-ci.yml' file) but the pipeline fails each time with different package dependencies as I am not sure what the contents need to add to '.gitlab-ci.yml' for code review in case if it is a Drupal or Magento code.
TIA.