Hi Gabriele,
yes, you are right,thanks. The issue was the URL used (I need to RTFM 
carefully)...  as it seems you have experience with this: by using pipeline 
so far I get in Jenkins only a note like "Started ​by ​GitLab ​push ​by.." 
without any link to gitlab merg request.. by using freestyle job, the links 
are overall there. did you manage to get this?

Best Regards,
Pablo

On Monday, October 21, 2019 at 1:48:03 PM UTC+2, Gabriele Bonetti wrote:
>
> Hi,
>
> Maybe it's a "mister obvious" answer but have you set up the build trigger 
> on the receiving pipeline? In the pipeline configuration you should have an 
> option "Build when a change is pushed to gitlab" that you can enable and 
> select the set of the events that would trigger the pipeline.
> Also from here you can confirm that the webhook you are using is correct.
>
>
>
> On Tuesday, October 15, 2019 at 10:47:12 AM UTC+2, Pa Y wrote:
>>
>> Hello,
>> has somebody managed successfully to use declarative pipeline and gitlab?
>>
>> I followed the instructions listed here: 
>> https://docs.gitlab.com/ee/integration/jenkins.html and this works for 
>> freestyle jobs. we use this already without problems.
>>
>> Now, I try to move to pipelines to have more options in general.
>>
>> So far, we get gitlab hook sent succcessfully but for this we need to 
>> disable in Jenkins : Prevent Cross Site Request Forgery exploits , what 
>> I don't really want...
>>
>> And anyway after hook was sent, Jenkins job can't be triggered 
>>
>> can maybe somebody share a running example?
>>
>> Thanks for any help in advance!
>>
>> Pablo
>>
>>
>>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/708e7ee8-1651-40fb-b0c8-6f7a6368bef5%40googlegroups.com.

Reply via email to