Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger multiple builds with single push #196

Open
alfredbez opened this issue Nov 7, 2016 · 1 comment
Open

trigger multiple builds with single push #196

alfredbez opened this issue Nov 7, 2016 · 1 comment

Comments

@alfredbez
Copy link

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?

@mikebaldinoiii
Copy link

were you able to figure this out? having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants