Jenkins Pipeline "Build when a change is pushed to GitLab"
Looks like you are using the Gitlab plugin for jenkins?
if so this link should be of help https://github.com/jenkinsci/gitlab-plugin#declarative-pipeline-jobs