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

推薦閱讀
- 電力自動(dòng)化實(shí)用技術(shù)問(wèn)答
- AutoCAD繪圖實(shí)用速查通典
- 平面設(shè)計(jì)初步
- SCRATCH與機(jī)器人
- CSS全程指南
- Hands-On Linux for Architects
- Mastering Machine Learning Algorithms
- 現(xiàn)代傳感技術(shù)
- 信息物理系統(tǒng)(CPS)測(cè)試與評(píng)價(jià)技術(shù)
- Visual FoxPro程序設(shè)計(jì)
- Learning ServiceNow
- Artificial Intelligence By Example
- Windows安全指南
- Puppet 3 Beginner’s Guide
- Deep Learning Essentials