Multibranch pipeline - Gitlab CE - Hook

271 views
Skip to first unread message

Samuel Mutel

unread,
Nov 9, 2017, 5:14:44 AM11/9/17
to Jenkins Users
Hello,

I would like to link Jenkins with multibranch pipeline project and GITLAB CE in order to automate:
  - Create / Delete branches automatically in Jenkins when it's done in GIT
  - Launch a build each time a commit or pull request is performed

What is the best way to do that?

Thanks.

Joaquin Henriquez

unread,
Nov 9, 2017, 5:35:52 AM11/9/17
to jenkins...@googlegroups.com

  - Launch a build each time a commit or pull request is performed

Got to the ProjectàSettingsàIntegration and select push&& merge and add the URL and token that you have from Jenkins when you created the Pipeline.

 

Make sure with a tcptraceroute that you can reach the URL from GitlabCE

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9ee79334-5ef9-4b1d-a0d2-7b665026b49c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here.

Stephen Connolly

unread,
Nov 9, 2017, 6:50:09 AM11/9/17
to jenkins...@googlegroups.com
I believe the plan is to merge https://github.com/Argelbargel/gitlab-branch-source-plugin into the gitlab plugin.

If you want to help Argelbargel adapt that code for SCMTrait / behaviours, that is probably the best plan

--
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 jenkinsci-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages