A code continuous integration method and a code continuous delivery method
A continuous integration and continuous delivery technology, applied in the field of software engineering, can solve problems affecting the delivery speed of code and software products, and achieve the effect of improving delivery speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0062] see figure 1 , which is a flow chart of a code continuous integration method provided by the embodiment of this application.
[0063] Such as figure 1 As shown, the code continuous integration method provided in this embodiment includes:
[0064] Step 101: Receive the code submitted by the developer.
[0065] The code continuous integration method provided in this embodiment is applied to the Gerrit tool. Gerrit is a code review tool that is open source, easy to install, and easy to use. In this embodiment, a Git module is integrated in Gerrit, and the Git module can be used to manage source codes. The Gerrit tool with built-in Git module can meet the needs of distributed large-scale development, and can effectively save the cost of Git server construction and maintenance.
[0066] For the Git module, when performing code management, it is usually related to two concepts at the code management level, one is the local code warehouse, and the other is the remote code...
no. 2 example
[0098] see figure 2 , which is a flow chart of another code continuous integration method provided by the embodiment of this application.
[0099] Such as figure 2 As shown, the code continuous integration method provided in this embodiment includes:
[0100] Step 201: Receive the code submitted by the developer.
[0101] In this embodiment, the implementation manner of step 201 is the same as that of step 101 in the foregoing embodiments. For the implementation manner of step 201, reference may be made to the foregoing embodiments, and details are not repeated here.
[0102] Step 202: Input the code into a compiling tool, and the code passes through the compiling tool, the static scanning tool and the unit testing tool successively.
[0103] In this embodiment, the continuous code integration must go through at least three steps. The first step is compilation, which is executed by the compilation tool. The purpose of compilation is to check the logic of the code; the sec...
no. 3 example
[0146] see image 3 , which is a flow chart of a code continuous delivery method provided by the embodiment of this application.
[0147] Such as image 3 As shown, the code continuous delivery method provided in this embodiment includes:
[0148] Step 301: Merge the codes, and generate a product of the code construction after the codes are merged.
[0149] According to the previous description, after the code written by the developer goes through the continuous integration process, the code that can be used for continuous delivery needs to be merged into the remote code warehouse, and then it can be integrated with the code written by other developers, and finally completed Code development tasks.
[0150] In this embodiment, the code referred to in step 301 is specifically the code that can be used for continuous delivery determined according to the foregoing embodiments.
[0151] For example, using the method of the second embodiment, none of the first execution result,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com