Jenkinsfile-based user-defined compiling and deploying method and system
A deployment system and custom technology, applied in software deployment, code compilation, program code conversion, etc., can solve problems such as shortening compilation time, too large images, and only manual intervention, so as to solve capture and display, and reduce image size. , the effect of improving deployment efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] According to a jenkinsfile-based custom compilation and deployment method provided by the present invention, such as figure 1 shown, including:
[0054] Step M1: Introduce the jenkinsfile dependency package into the project to complete the configuration of the basic modules and business modules;
[0055] Step M2: Based on the jenkinsfile dependency package, identify the modified source code in the project through the code identification module;
[0056] Step M3: The modified source code is compiled according to the preset coding strategy in the compilation strategy module, and the corresponding image is stored in the mirror warehouse;
[0057] Step M4: Select a deployment strategy based on requirements, and deploy the images in the image warehouse to various environments according to the selected deployment strategy, and complete the output of source code services.
[0058] Specifically, the step M2 includes: associating the preset module types in the jenkinsfile with...
Embodiment 2
[0092] Embodiment 2 is a modification of embodiment 1
[0093] The traditional jenkins tool can solve automatic compilation, but it cannot flexibly specify the compiled module, but using jenkinsfile can flexibly define the compilation module, only compile the basic module that does not need to generate a mirror image, and compile the business module into a mirror image. At the same time, It can solve the need to repeatedly compile the full amount of code when modifying the code, thereby greatly reducing the timeliness of image compilation. At the same time, Jenkinsfile can be connected to various cloud-native APIs in json format, and can capture various states during the compilation and deployment process, targeting compilation failures. In scenarios different from deployment failures, automatic recompilation and deployment rollback operations are performed, thus forming unattended compilation and deployment.
[0094] The custom compilation and deployment method based on jenki...
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