I would like to set a secret text in my WebHook in github I don't know where I can set up it in Jenkins 2.138.3 with the GitHub plugin 1.23.9
Asked
Active
Viewed 5,873 times
5
-
any idea how you resolved this? – Chaitanya Bapat Feb 26 '20 at 20:02
2 Answers
4
Jenkins side:
- Set a new credential: Jenkins -> Manage Jenkins -> Credentials -> Add credential -> Secret Text
2. Configure Github plugin: Jekins -> Manage Jenkins -> Configure System -> Github -> Advance -> Pick the credential created at step 1.
Github side:
- Webhooks -> Manage Webhooks -> Secrets and use the credential created in Jenkins
I hope the instructions work for you
David Ortega
- 75
- 6
-2
Please use the following links:
https://thepracticalsysadmin.com/setting-up-a-github-webhook-in-jenkins/
Kaushik
- 99
- 8