6

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:

GitLab Push Trigger

Is there a way for me to add this trigger to my Jenkins declarative pipeline, if so how?

Preston Martin
  • 3,278
  • 4
  • 17
  • 39

1 Answers1

6

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

Nune Isabekyan
  • 251
  • 2
  • 2