Assembly line construction method and system based on parameter configuration

A technology of parameter configuration and construction method, applied in the creation/generation of source code, software maintenance/management, program files, etc., can solve the problems of difficult operation and maintenance personnel, configuration tasks cannot be separated from shell scripts, etc., to reduce the threshold and save money Learning cost and time, the effect of expanding the scope of users

Pending Publication Date: 2020-08-07
科大国创云网科技有限公司
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The technical problem to be solved by the present invention is: how to solve the problem that under the existing CI&CD working mode, the existing configuration tasks are inseparable from shell scripts, and it is difficult for non-professional operation and maintenance personnel to use the assembly line to do CI&CD work smoothly. A visual pipeline construction method based on parameter configuration

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Assembly line construction method and system based on parameter configuration
  • Assembly line construction method and system based on parameter configuration
  • Assembly line construction method and system based on parameter configuration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0091] Based on the background technology and problems in the prior art, this embodiment provides a CI&CD solution based on parameter configuration. The overall architecture of the solution is as follows Figure 5 Shown: A visual and friendly page is provided for users to edit CI&CD pipelines. During the editing process, the user does not need to input any scripting language or commands, and only needs to simply fill in or select the parameters of the selected plug-in. The operation of the pipeline will send the front-end request to the back-end pipeline project. The pipeline scheduling center in the pipeline project will analyze the content in the pipeline, and call the plug-in projects one by one according to the sequence of steps, so as to complete the execution of the pipeline. Finally, the log is generated and saved, and the log will automatically pop up on the page for users to view.

[0092] The core technical points in the solution are explained below:

[0093] 1. T...

Embodiment 3

[0108] This embodiment provides a method for constructing a pipeline based on parameter configuration, and the specific implementation process is as follows:

[0109] step 1:

[0110] Write a plug-in project, usually a plug-in project is just a simple java project, the project can contain one or more classes, but at least one class must inherit a plug-in project parent class, the name of the parent class is MyTask, which has two Two abstract methods need to be implemented, which are the run method and the checkParam method. The run method is used to be called by the pipeline scheduling center and return the step log, and checkParam is used to check whether the parameters passed in by the pipeline scheduling center are correct and return yes or no. In this embodiment, the background plug-in project of the gitlab plug-in is written. The plug-in project relies on the jar package of jgit, and the operation of pulling code from the gitlab warehouse can be realized by calling the AP...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an assembly line construction method and system based on parameter configuration, and belongs to the technical field of computer software, and the method comprises the following steps: S1, compiling a plug-in project; S2, configuring a plug-in project; S3, editing a process; S4, selecting a plug-in; S5, constructing a single step; and S6, constructing all steps. According to the method, a CI&CD assembly line can be edited without learning and compiling a shell script, so that the learning cost and time are saved for a user, the threshold of the user is reduced, and theuser range is expanded; all personnel in a research and development team can participate in continuous construction/deployment work and can be used by non-operation and maintenance personnel, and development and operation and maintenance can be better cooperated; the plug-in project is in zero coupling with other codes of the whole platform, and users can develop the plug-in project by themselvesto complete things they want to do; and contents displayed in the log are filtered and processed, so that the tangled log contents become concise and direct.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a parameter configuration-based pipeline construction method and system. Background technique [0002] CI (Continuous integration, continuous integration) is a software development practice. CI works like figure 1 As shown, the developers submitted new code ( figure 1 CHECK-IN in) to the code management warehouse ( figure 1 After the SOURCEREPOSITORY in SOURCEREPOSITORY), the CI server immediately builds (BUILD) and (unit) tests (TEST). According to the test result (RESULT), it can be determined whether the new code and the original code can be correctly integrated together. [0003] CD (Continuous Delivery) is based on continuous integration, and deploys the integrated code to a real operating environment (like a production environment). The approximate working mode of CI&CD is as follows: figure 2 shown. exist figure 2 In the example in , CD means that after...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/73
CPCG06F8/30G06F8/73
Inventor 冯强中范文斌王亚平吴彤彤刘帆
Owner 科大国创云网科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products