Setting up the gitlab hook plugin

we have created a continuous integration workflow with Gitlab (v7.9.2) and Jenkins (v1.596.2). We've defined Jenkins' task to create every push, which is done for every repository in Gitlab using a Gitlab hook:

 http://xx.xx.xx.xx:8080/gitlab/build_now

      

It is good practice to allow one task to create all tasks, so we want to use the Gitlab-Web-hook plugin to define the witch template job creates a new job for each unknown repository that runs the webhook, as described in the Gitlab-Web-hook plugin description at See Templates for Unknown Repositories.

The plugin can be configured to automatically create projects when the hook is activated by a GitLab repository unknown to Jenkins.

Now we are having a hard time finding the right configuration or even starting to integrate this plugin into the workflow. We spend a day looking for default tutorials on this topic and couldn't find one.

We hope the community can help us with this or throw us off with helpful tips, tricks, or tutorials. This is the last piece of the puzzle for us.

thank

+3


source to share





All Articles