Hello Kris,

I wanted to update you on a question posed by Dirk Heinrichs. He asked
whether the Jenkins URL in the GitLab webhook contains a valid Jenkins API
token.

Here's the relevant information:

- GitLab webhook URL:
http://192.168.0.24:8080/job/EasyFormerPipeline/build?token=43272f4e87b1eff15b230e6b8f8395d5

- Authentication token used: `43272f4e87b1eff15b230e6b8f8395d5`

- Jenkins-Crumb:
`272d4a65b3a276b885c127c4444f871fedd00a73902eb0d5a27391dbc3b553c8`

Despite these efforts, I encountered errors during webhook execution,
specifically: "Hook execution failed: Error while parsing rendered custom
webhook template".

I'm currently seeking advice on how to resolve these issues. If you have
any insights or suggestions, please let me know.

Thank you for your attention to this matter.

Best regards,
Erick


Le jeu. 25 avr. 2024 à 11:54, Kris Stern <krisst...@outlook.com> a écrit :

> Hi Erick,
>
> I can try and reproduce your issue this weekend before getting back to you
> over the next few days.
>
> Best,
> Kris
> ------------------------------
> *From:* jenkinsci-users@googlegroups.com <jenkinsci-users@googlegroups.com>
> on behalf of Erick Mormin <erick.mor...@gmail.com>
> *Sent:* 24 April 2024 21:12
> *To:* Jenkins Users <jenkinsci-users@googlegroups.com>
> *Subject:* Issue with Jenkins and GitLab Integration
>
>
> Dear Jenkins Support,
>
>
>
> I am reaching out to you regarding difficulties I am encountering with
> integrating Jenkins and GitLab for my project. Below are the details of the
> problem I am facing:
>
>
>
> 1. Problem Description:
>
>    While configuring the integration between Jenkins and GitLab, I
> followed the recommended steps to generate an SSH key in Jenkins, add it to
> my GitLab account, configure webhooks, and create credentials in Jenkins.
> However, despite these actions, I am facing errors when attempting to
> trigger builds from GitLab webhooks.
>
>
>
> 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".
>
>    - Additionally, when Jenkins attempts to fetch changes from the GitLab
> repository, I receive a permission denied error with the message
> "Permission denied (publickey,password)".
>
>
>
> 3. Actions Taken:
>
>    - I have verified that the SSH keys generated in Jenkins have been
> correctly added to my GitLab account.
>
>    - I have also verified that the credentials and webhook configurations
> in Jenkins are correct.
>
>
>
> 4. Recommended Actions:
>
>    I am seeking your assistance in resolving this issue. Could you please:
>
>    - Verify if the configuration I have described is correct and if I have
> missed anything important?
>
>    - Provide guidance or recommendations for diagnosing and resolving the
> errors I am encountering?
>
>    - Suggest additional steps I could take to resolve this issue?
>
>
>
> 5. Additional Information:
>
>    - Here are the details of my Jenkins and GitLab configuration:
>
>      - Jenkins Version: 2.440.3
>
>      - GitLab Version: 16.10
>
>      - Jenkins Configuration: please see the document in attachment
>
>      - GitLab Configuration: please see the document in attachment
>
>
>
> Thank you in advance for your help and assistance in resolving this
> problem. Please feel free to contact me if you need further information.
>
>
>
> Best regards,
>
> Erick MORMIN
>
> --
> 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/a9b8bc67-ae1e-4e6c-a374-529f668b6b5cn%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/a9b8bc67-ae1e-4e6c-a374-529f668b6b5cn%40googlegroups.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/TY1P286MB3171D805D8AA418D223D8833A1172%40TY1P286MB3171.JPNP286.PROD.OUTLOOK.COM
> <https://groups.google.com/d/msgid/jenkinsci-users/TY1P286MB3171D805D8AA418D223D8833A1172%40TY1P286MB3171.JPNP286.PROD.OUTLOOK.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/CAPrX6vBxu3ZX8EKYt5eq4V_GOYyARgpFKQqNC8RES8uBR55aBw%40mail.gmail.com.

Reply via email to