Hello Dirk, Thank you for your follow-up. Here's a summary of the actions I've taken since our last discussion:
1. I added an authentication token to the GitLab webhook URL, as you suggested, using the following token: `43272f4e87b1eff15b230e6b8f8395d5`. 2. I also updated the webhook URL in GitLab to include this token, as follows: ` http://192.168.0.24:8080/job/EasyFormerPipeline/build?token=43272f4e87b1eff15b230e6b8f8395d5` . 3. Unfortunately, during push event tests, I encountered a 403 error with the message "No valid crumb was included in the request". 4. I attempted to resolve this issue by adding a Jenkins-Crumb in the HTTP request header, but this did not solve the problem, and I continued to receive errors. 5. I also encountered an error when executing the webhook, with the message "Hook execution failed: Error while parsing rendered custom webhook template". I'm now at a standstill and unsure of the next step to take. Do you have any suggestions on how to resolve these issues? If you need more information or screenshots to better understand the situation, please let me know. Thank you in advance for your assistance. Best regards, Erick Le jeu. 25 avr. 2024 à 12:02, 'Dirk Heinrichs' via Jenkins Users < jenkinsci-users@googlegroups.com> a écrit : > Am Mittwoch, dem 24.04.2024 um 06:12 -0700 schrieb Erick Mormin: > > 2. Errors Encountered: > > - When I try to trigger a build from a push on GitLab, I receive an > HTTP 403 error with the message "No valid crumb was included in the > request". > > > Does your Jenkins URL in the GitLab webhook conatin a valid Jenkins API > token, like "http://your.jenkins/git/notifyCommit?token=<apt token>..."? > > HTH... > > Dirk > > -- > > *Dirk Heinrichs* > Senior Systems Engineer, Delivery Pipeline > OpenText ™ Discovery | Recommind > *Phone*: +49 2226 15966 18 > *Email*: dhein...@opentext.com > *Website*: www.recommind.de > Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach > Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, > Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail sind nicht gestattet. > > -- > 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/4e4697f51d952585abd338d5be9549683ba0d00a.camel%40opentext.com > <https://groups.google.com/d/msgid/jenkinsci-users/4e4697f51d952585abd338d5be9549683ba0d00a.camel%40opentext.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPrX6vBG4Cb1YzqxJyLR%3DdZxMVsWfqvmm1_7MNim%2BKE82ec_zQ%40mail.gmail.com.