jenkins-gitlab-merge-request-builder-plugin
jenkins-gitlab-merge-request-builder-plugin copied to clipboard
trigger multiple builds with single push
Hi there, we use this plugin in multiple projects and it's really good, thank you!
We have the following setup in a project:
- one Gitlab-Repository with the code
- mutliple Jenkins jobs (2 Merge-Request-Jobs and a Deploy-Job)
- Job 1: builds every merge requests (run unit test, check for merge conflicts e.g.)
- Job 2: builds merge requests with 'deploy' label (in Gitlab) to deploy that merge request to a 'pre-staging' environment, where other devs can quickly take a look at the changes. This Job triggers the Deploy-Job with specific parameters
When creating a Merge-Request with the 'deploy' label it triggers Job 2 and deploys to the pre-staging-server. Job 1 won't be triggered, so we have to remove the label later and retrigger a build to make sure, that the unit tests pass e.g.
Is it somehow possible to run multiple builds for a Merge Request at the same time / with a single push?
were you able to figure this out? having the same issue