Jenkins Pipeline "Build when a change is pushed to GitLab" I have a Jenkins declarative pipeline that is ran via a webhook from GitLab whenever a change is pushed to my repo. In Jenkins, I have the following trigger option selected:



Is there a way for me to add this trigger to my Jenkins declarative pipeline, if so how?
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