Currently i have a freestyle job in Jenkins that triggering on Gitlab merge 
request event. This job runs my end-to-end test.

Now need to know how to send Gitlab the result of the test, In order to 
know whether to merge the branches or not. 

I also planning to convert the freestyle job to a Jenkins file.


On Monday, May 21, 2018 at 6:01:10 PM UTC+3, Brian Benson wrote:
>
> What have you tried?
>
> On Monday, May 21, 2018 at 8:20:40 AM UTC-6, Supertwister wrote:
>>
>> Hello,
>> I've started lately to use Jenkins and i need some help with creating a 
>> pipeline.
>>
>> I want to create the following pipeline:
>> For each merge request from develop to master in Gitlab, Trigger a 
>> Jenkins job that run an end-to-end test, And merge the branches in Gitlab 
>> only if the test succeeded.
>>
>> I have found the following article that gives me an explanation for most 
>> of the things that i need:
>>
>> https://vetlugin.wordpress.com/2017/01/31/guide-jenkins-pipeline-merge-requests/
>>
>> I'm still looking for an answer for one question:
>> How can Jenkins response to Gitlab with the result of the end-to-end test 
>> (Success/Fail), So Gitlab will know whether to merge to branches or not?
>>
>>
>> Please advise,
>> Thanks!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8ac9f896-2e25-4040-80e2-7ec27dd2bccd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to