- DevOps for Salesforce
- Priyanka Dive Nagraj Gornalli
- 182字
- 2021-07-16 17:38:56
Adding a Jenkins webhook URL in a GitHub project
To add a Jenkins webhook URL, you need to perform the following steps:
- Grab your GitHub webhook URL from Manage Jenkins | Configure System | GitHub Web Hook Section.
Example URL: https://<your-domain-name or IP address>/web-hook/
- Go to GitHub | Choose your project. Go to Settings and select Integrations and Services. Click on Add service and search for Jenkins. As a result, you will see two service: Jenkins (Git plugin) and Jenkins (GitHub plugin). Choose one according to your project. We are going for Jenkins (GitHub plugin):

- Add your Jenkins webhook URL and click on Add service:

- Verify that the hook is working by clicking on Test service. It will send our test payload to the Jenkins server. If everything is working fine, then we will see a green check mark before the Jenkins webhook:

To test your continuous integration pipeline, add some changes in the README file we created. Push changes to GitHub.
- In Jenkins, you can see the "devops-ci-cd" build is automatically started as shown in the following screenshot:

推薦閱讀
- 大數(shù)據(jù)戰(zhàn)爭:人工智能時代不能不說的事
- Java實(shí)用組件集
- 傳感器技術(shù)應(yīng)用
- Python Algorithmic Trading Cookbook
- Mastering Machine Learning Algorithms
- Hadoop Real-World Solutions Cookbook(Second Edition)
- 21天學(xué)通Java
- Photoshop CS3圖像處理融會貫通
- Associations and Correlations
- Ceph:Designing and Implementing Scalable Storage Systems
- 數(shù)據(jù)庫系統(tǒng)原理及應(yīng)用教程(第5版)
- Python:Data Analytics and Visualization
- Dreamweaver CS6精彩網(wǎng)頁制作與網(wǎng)站建設(shè)
- 精通LabVIEW程序設(shè)計
- 強(qiáng)化學(xué)習(xí)