You can use Generic Webhook Trigger Plugin: https://github.com/jenkinsci/generic-webhook-trigger-plugin
You will need to setup a filter to trigger only for tag events. That is documented here: https://github.com/jenkinsci/generic-webhook-trigger-plugin/blob/master/src/test/resources/org/jenkinsci/plugins/gwt/bdd/gitlab/gitlab-tag_push.feature And here is something to get you started with the Jenkinsfile: https://github.com/jenkinsci/generic-webhook-trigger-plugin/blob/master/sandbox/multibranch.jenkinsfile Den torsdag 29 mars 2018 kl. 14:40:20 UTC+2 skrev Samuel Mutel: > > https://issues.jenkins-ci.org/browse/JENKINS-45838 > > Le jeudi 29 mars 2018 14:13:35 UTC+2, Samuel Mutel a écrit : >> >> Hello, >> >> I would like to know if someone has already setup the multibranch >> pipeline and the gitlab integration to start a job when a tag is pushed? >> >> I setup the integration in GITLAB project, I setup also the multibranch >> pipeline. When a code is pushing to the master branch, it is working fine. >> But if I create a new tag and push it. It is created in the tag tab in >> multibranch pipeline but the job is not started automatically. >> >> Any idea? >> >> Thanks. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5daa27fc-8e8a-4f62-ad46-b077da5305f2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
