- 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:

推薦閱讀
- 并行數據挖掘及性能優化:關聯規則與數據相關性分析
- Dreamweaver 8中文版商業案例精粹
- 機器人智能運動規劃技術
- 計算機網絡應用基礎
- 樂高創意機器人教程(中級 下冊 10~16歲) (青少年iCAN+創新創意實踐指導叢書)
- Visual Basic從初學到精通
- 計算機網絡技術實訓
- PostgreSQL Administration Essentials
- 新手學電腦快速入門
- Building a BeagleBone Black Super Cluster
- 大數據技術基礎:基于Hadoop與Spark
- 從零開始學PHP
- 生物3D打印:從醫療輔具制造到細胞打印
- MATLAB-Simulink系統仿真超級學習手冊
- 傳感器與自動檢測