Hi,

I'm using GitLab CE 8.5.8 and Jenkins 1.642.2, with the Gitlab Plugin 
1.1.31 (and dependent plugins) installed. I've successfully configured a 
GitLab project to trigger a build on Jenkins, however I have quite a 
specific use case that I can quite seem to get working.

Given a GitLab project (example-project, protected master branch) and two 
associated Jenkins jobs (example-project_REVIEW and example-project_CI), I 
want to trigger the Jenkins jobs based on the following events:

- All change sets pushed to a 'feature' branch should trigger the 
example-project_REVIEW job
- When any 'feature' branch merge requests are accepted (and only when they 
are accepted) should trigger the example-project_CI job

The reason for this is the _CI job will push an atomic version of the 
deployment artefact to Nexus.

I hope that makes sense. I've followed (and experimented with) the config 
options on https://github.com/jenkinsci/gitlab-plugin but can't get it 
quite right. Am I missing something obvious in the job config? Any 
suggestions welcome.

Thanks

Martin

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/f210d099-09cc-4fb6-855a-63b1c82aad55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to