Jenkins+coding+webhook Implementing the Code Merge automatic deployment Merge

Source: Internet
Author: User
Tags http post webhook
1. Background:Using Jenkins as a version iteration, each time an update needs to be released, you need to click Build to click on the corresponding item in Jenkins to publish it, and it takes too long to get out of the way. So look for ways to be lazy. Using Webhook can solve this problem very well.
What is 2.webhook?Webhook allows third-party apps to listen for specific events on the, notifying them via an HTTP POST (timeout of 5 seconds) to third-party apps for the specified Web URL when these events occur. For example, the project has a new content Push, or the Merge Request has an update. WebHook can be used for automatic deployment, automatic testing, automatic packaging, monitoring project changes and so on.

3. Raw MaterialsJenkins
Coding (Coding-code managed project management Webide Enterprise Services)
4. Preparatory workFirst make sure that you have the coding Webhook Plugin plugin installed on your Jenkins. If you do not click on the homepage of the System Management---> Management plug-in search coding Webhook Plugin Check the download.

5. Create a new itemSee my other blog for details Jenkins Continuous integration software version release
6. Configure Automatic Deployment Configuration of 6.1 Jenkins:

Click on the item you created, click Configure, and go to the project configuration page. If you successfully installed the coding Webhook Plugin plugin, you will have the following options in the Build Trigger column, as shown below:

6.2 Coding on the configuration login to your coding account (administrator), click on the project settings you need to deploy, webhook-> new Webhook

The screenshot above shows that the URL in the screenshot below is the link behind the Webhook address on the Webhook token in the 6.1 diagram.

Deployment is complete,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.