magnayn / Hudson-GIT-plugin

Git plugin for Hudson
http://wiki.hudson-ci.org/display/HUDSON/Git+Plugin
51 stars 26 forks source link

Merge help #12

Open kasper-f opened 9 years ago

kasper-f commented 9 years ago

Hi I need some help to figure out if it is possible to trigger a merge build from source using the git-plugin without configuring merge and additional repositories. I have source and target (repository and branch) details and would like to trigger a build merging this two branches. Is it possible to cue an action to achieve this?

Any suggestion is welcome.

For details: I am working on a solution for gitlab-plugin to get the plugin to trigger a build with a git merge without too munch configuration.

From a webhook we receive the repository and branch information (see code) and need to trigger a build merging this branches. At the moment we need to setup an additional git repository in jenkins configuration and configure a merge using Build parameters (defined here) gitlab-plugin.

It would be really nice if we could just call an action or trigger from the git-plugin but cant figure out how to do this?