[go: up one dir, main page]

CN115545375A - Continuous integration system and operation method thereof - Google Patents

Continuous integration system and operation method thereof Download PDF

Info

Publication number
CN115545375A
CN115545375A CN202110741704.4A CN202110741704A CN115545375A CN 115545375 A CN115545375 A CN 115545375A CN 202110741704 A CN202110741704 A CN 202110741704A CN 115545375 A CN115545375 A CN 115545375A
Authority
CN
China
Prior art keywords
work order
pipeline
workflow
jenkins
work
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110741704.4A
Other languages
Chinese (zh)
Inventor
陈晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110741704.4A priority Critical patent/CN115545375A/en
Publication of CN115545375A publication Critical patent/CN115545375A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a continuous integration system and an operation method thereof, which are characterized in that product demand information is obtained, the product demand information is converted into a work order of a corresponding work order type based on an OTRS platform and is operated, when the work order operation is monitored to be finished, an OTRS Webservice interface is used for sending an automation request to trigger an automation program, and the automation process is executed, so that an automation deployment assembly line is obtained. In the scheme, the work order is determined by the OTRS platform, and the OTRS Webservice interface is used for triggering the automatic flow, so that the arrangement of the product assembly line is automatically completed, the labor cost is reduced, the work complexity is reduced, and the efficiency of constructing the product assembly line is improved.

Description

一种持续集成系统及其运行方法A continuous integration system and its operation method

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种持续集成系统及其运行方法。The present invention relates to the field of computer technology, in particular to a continuous integration system and an operation method thereof.

背景技术Background technique

目前在产品开发过程中,通常所使用的产品开发和交付的过程为:按照传统技术组织架构,由各技术部门各自搭建工具平台,并通过产品的方式协作完成产品的开发和交付。At present, in the product development process, the usual product development and delivery process is as follows: According to the traditional technical organization structure, each technical department builds its own tool platform, and cooperates to complete product development and delivery through product.

采用上述方式进行产品开发和交付,各技术部门之间需要通过相互协作完成产品的开发和交付,该过程在多个工具平台协作过程中,可能会出现重复工作以及沟通问题,从而增加系统开发和交付过程中的人力成本和工作复杂度,进而降低工作效率。Using the above method for product development and delivery, various technical departments need to cooperate with each other to complete product development and delivery. In the process of collaboration between multiple tool platforms, duplication of work and communication problems may occur, thus increasing system development and The labor cost and work complexity in the delivery process will reduce work efficiency.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种持续集成系统及其运行方法,以解决现有产品开发过程中人力成本高、工作复杂度高和工作效率低的问题。In view of this, the embodiment of the present invention provides a continuous integration system and its operation method to solve the problems of high labor cost, high work complexity and low work efficiency in the existing product development process.

为实现上述目的,本发明实施例提供如下技术方案:In order to achieve the above purpose, embodiments of the present invention provide the following technical solutions:

一方面,本发明实施例公开了一种持续集成系统的运行方法,所述运行方法包括:On the one hand, the embodiment of the present invention discloses an operation method of a continuous integration system, the operation method comprising:

获取产品需求信息,基于OTRS平台将所述产品需求信息转化为对应工单类型的工单,并运行,所述工单类型包括接入类工单和执行类工单,每一个所述工单至少包括一个工作流信息;Obtain product demand information, convert the product demand information into work orders of corresponding work order types based on the OTRS platform, and run them. The work order types include access work orders and execution work orders, and each work order Include at least one workflow information;

当监听到所述工单运行完毕后,利用OTRS Webservice接口发送自动化请求触发自动化程序,并执行自动化流程,得到自动化部署的流水线,所述自动化请求中包含所述工单;After monitoring that the work order is completed, use the OTRS Webservice interface to send an automation request to trigger the automation program, and execute the automation process to obtain an automated deployment pipeline, wherein the automation request includes the work order;

所述自动化流程包括:The automated processes include:

解析所述工单,得到对应的工作流信息,并存储;Analyzing the work order, obtaining corresponding workflow information, and storing it;

将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码;Match each workflow information with the pre-set jenkins pipeline template to get the code needed to build the pipeline;

基于jenkins平台和所述代码构建产品对应的流水线。Build the pipeline corresponding to the product based on the jenkins platform and the code.

可选的,还包括:Optionally, also include:

实时获取构建产品对应的流水线的过程中产生的中间数据;Real-time acquisition of intermediate data generated during the process of building the pipeline corresponding to the product;

基于所述中间数据生成产品测试报告。A product test report is generated based on the intermediate data.

可选的,所述当监听到所述工单运行完毕,包括:Optionally, when it is detected that the work order is completed, it includes:

实时监听每一个所述工单状态发生变更时产生的工单事件,直至所述工单事件指示工单状态为已运行完毕状态,确定所述工单运行完毕。Each work order event generated when the state of the work order changes is monitored in real time until the work order event indicates that the state of the work order is completed, and it is determined that the operation of the work order is completed.

可选的,所述解析所述工单,得到对应的工作流信息,并存储,包括:Optionally, the parsing of the work order to obtain and store corresponding workflow information includes:

确定所述自动化请求中包含的所述工单的工单类型;determining a work order type of said work order contained in said automation request;

若同时存在接入类工单和执行类工单,或者,仅存在接入类工单或执行类工单,基于所述工单的工单类型分别进行解析,将得到工作流顺序以及每一个工作流的节点信息存储于python-jenkins库。If there are access work orders and execution work orders at the same time, or there are only access work orders or execution work orders, the workflow sequence and each The node information of the workflow is stored in the python-jenkins library.

可选的,所述将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码,包括:Optionally, match each workflow information with the pre-set jenkins pipeline template to obtain the code required to build the pipeline, including:

将每一个工作流的节点信息与预先设置的jenkins pipeline模板进行匹配,确认每一个工作流的节点信息对应的jenkins pipeline模板;Match the node information of each workflow with the preset jenkins pipeline template, and confirm the jenkins pipeline template corresponding to the node information of each workflow;

获取所述jenkins pipeline模板对应的代码,基于工作流顺序对所述代码排序,得到构建流水线所需的代码。Obtain the codes corresponding to the jenkins pipeline template, sort the codes based on the workflow order, and obtain the codes required to build the pipeline.

可选的,若得到构建流水线所需的代码仅包括独有流水线代码,还包括:Optionally, if the code required to build the pipeline only includes the unique pipeline code, it also includes:

获取构建流水线所需的通用流水线代码;Get the general pipeline code needed to build the pipeline;

基于jenkins平台、所述独有流水线代码和所述通用流水线代码构建产品对应的流水线。Construct the pipeline corresponding to the product based on the jenkins platform, the unique pipeline code and the general pipeline code.

另一方面,本发明实施例公开了一种持续集成系统,包括:On the other hand, the embodiment of the present invention discloses a continuous integration system, including:

获取模块,用于获取用户的产品需求信息,基于OTRS平台将所述产品需求信息转化为对应工单类型的工单,并运行,当监听到所述工单运行完毕后,利用OTRS Webservice接口向自动化模块发送自动化请求触发自动化程序,所述工单类型包括接入类工单和执行类工单,每一个所述工单至少包括一个工作流信息,所述自动化请求中包含所述工单;The acquisition module is used to obtain the user's product demand information, convert the product demand information into a work order of the corresponding work order type based on the OTRS platform, and run it, and when the operation of the work order is monitored, use the OTRS Webservice interface to The automation module sends an automation request to trigger the automation program, the work order type includes an access work order and an execution work order, and each work order includes at least one workflow information, and the automation request includes the work order;

所述自动化模块,用于利用Devops平台解析所述工单,得到对应的工作流信息,并存储,以及将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码,并基于jenkins平台和所述代码构建产品对应的流水线。The automation module is configured to use the Devops platform to analyze the work order, obtain corresponding workflow information, and store it, and match each workflow information with a pre-set jenkins pipeline template to obtain the code required to build the pipeline , and build the pipeline corresponding to the product based on the jenkins platform and the code.

可选的,所述监听所述工单运行的获取模块,具体用于:Optionally, the acquisition module that monitors the operation of the work order is specifically used for:

实时监听每一个所述工单状态发生变更时产生的工单事件,直至所述工单事件指示工单状态为已运行完毕状态,确定所述工单运行完毕。Each work order event generated when the state of the work order changes is monitored in real time until the work order event indicates that the state of the work order is completed, and it is determined that the operation of the work order is completed.

可选的,所述利用Devops平台解析所述工单,得到工单信息并存储的自动化模块,具体用于:Optionally, the automation module that uses the Devops platform to parse the work order to obtain and store the work order information is specifically used for:

确定所述自动化请求中包含的所述工单的工单类型;若同时存在接入类工单和执行类工单,或者,仅存在接入类工单或执行类工单,基于所述工单的工单类型分别进行解析,将得到工作流顺序以及每一个工作流的节点信息存储于python-jenkins库。Determine the work order type of the work order contained in the automation request; if there are both access work orders and execution work orders, or only access work orders or execution work orders, based on the work order The work order types of the order are analyzed separately, and the obtained workflow sequence and node information of each workflow are stored in the python-jenkins library.

可选的,所述将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码的所述自动化模块,具体用于:Optionally, each workflow information is matched with a pre-set jenkins pipeline template to obtain the automation module of the code required to build the pipeline, specifically for:

将每一个工作流的节点信息与预先设置的jenkins pipeline模板进行匹配,确认每一个工作流的节点信息对应的jenkins pipeline模板;获取所述jenkins pipeline模板对应的代码,基于工作流顺序对所述代码排序,得到构建流水线所需的代码。Match the node information of each workflow with the preset jenkins pipeline template, confirm the jenkins pipeline template corresponding to the node information of each workflow; obtain the code corresponding to the jenkins pipeline template, and compare the code based on the workflow sequence Sort to get the code needed to build the pipeline.

基于上述本发明实施例提供的一种持续集成系统及其运行方法,通过获取产品需求信息,基于OTRS平台将所述产品需求信息转化为相应工单类型的工单,并运行,当监听到所述工单运行完毕后,利用OTRS Webservice接口发送自动化请求触发自动化程序,并执行所述自动化流程,得到自动化部署的流水线,所述自动化请求中包含所述工单;所述自动化流程包括:解析所述工单,得到对应的工作流信息,并存储;将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码;基于jenkins平台和所述代码构建产品对应的流水线。在本方案中,利用OTRS平台确定工单,再利用OTRSWebservice接口触发自动化流程,从而自动化的完成产品流水线的部署,不仅降低了人力成本,同时降低了工作复杂度,提高了构建产品流水线的效率。Based on the continuous integration system and its operating method provided by the above-mentioned embodiments of the present invention, by obtaining product demand information, the product demand information is converted into a work order of the corresponding work order type based on the OTRS platform, and the operation is performed. After the work order is run, use the OTRS Webservice interface to send an automation request to trigger the automation program, and execute the automation process to obtain an automated deployment pipeline. The automation request includes the work order; the automation process includes: parsing Describe the work order, get the corresponding workflow information, and store it; match each workflow information with the pre-set jenkins pipeline template to get the code needed to build the pipeline; build the pipeline corresponding to the product based on the jenkins platform and the code . In this solution, the OTRS platform is used to determine the work order, and then the OTRS Webservice interface is used to trigger the automated process, thereby automatically completing the deployment of the product pipeline, which not only reduces labor costs, but also reduces work complexity and improves the efficiency of building product pipelines.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1为本发明实施例公开的一种持续集成系统的运行架构示意图;FIG. 1 is a schematic diagram of an operating framework of a continuous integration system disclosed in an embodiment of the present invention;

图2为本发明实施例公开的一种持续集成系统的运行方法流程示意图;Fig. 2 is a schematic flow chart of an operating method of a continuous integration system disclosed in an embodiment of the present invention;

图3为本发明实施例公开的另一种持续集成系统的运行方法流程示意图;FIG. 3 is a schematic flowchart of another continuous integration system operating method disclosed in an embodiment of the present invention;

图4为本发明实施例公开的一种持续集成系统的结构示意图。Fig. 4 is a schematic structural diagram of a continuous integration system disclosed by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

由背景技术可知,现有所使用的产品开发和交付方法是由各技术部门各自搭建工具平台,并通过产品的方式协作完成产品的开发和交付。该过程在多个工具平台协作过程中,可能会出现重复工作以及沟通问题,从而增加系统开发和交付过程中的人力成本和工作复杂度,进而降低工作效率。It can be seen from the background art that in the existing product development and delivery method, each technical department builds a tool platform and cooperates to complete the product development and delivery through the product. In the process of collaboration among multiple tool platforms, duplication of work and communication problems may occur, which increases labor costs and work complexity in the system development and delivery process, thereby reducing work efficiency.

因此,本发明实施例公开了一种持续集成系统及其运行方法,利用OTRS平台确定工单,再利用OTRS Webservice接口触发自动化流程,从而自动化的完成产品流水线的部署,不仅降低了人力成本,同时降低了工作复杂度,提高了构建产品流水线的效率。具体通过以下实施例进行详细说明。Therefore, the embodiment of the present invention discloses a continuous integration system and its operation method. The OTRS platform is used to determine the work order, and then the OTRS Webservice interface is used to trigger the automation process, thereby automatically completing the deployment of the product pipeline, which not only reduces labor costs, but also The work complexity is reduced, and the efficiency of building product pipelines is improved. Specifically, it will be described in detail through the following examples.

如图1所示,为本发明实施例公开的一种持续集成系统的运行架构示意图,主要包括:OTRS、oh-my-devops和jenkins。As shown in FIG. 1 , it is a schematic diagram of an operating architecture of a continuous integration system disclosed in an embodiment of the present invention, mainly including: OTRS, oh-my-devops and jenkins.

其中,OTRS为一个安装在服务器上的开源网站应用程序,可以通过浏览器访问。OTRS的主模块是OTRS框架,主要包含应用程序和工单系统的所有核心功能。在本发明实施例中主要使用OTRS的工单模块作为面向客户和服务人员的界面。并利用OTRS的工单模块的自定义流程工单和记录工单状态流转的功能。Among them, OTRS is an open source website application installed on a server and can be accessed through a browser. The main module of OTRS is the OTRS framework, which mainly contains all the core functions of the application and ticket system. In the embodiment of the present invention, the work order module of OTRS is mainly used as an interface for customers and service personnel. And use the custom process work order of the work order module of OTRS and the function of recording work order status flow.

OTRS使用工单将内部与外部沟通信息整合在一起。工单以队列形式组织。工单可以用很多方式进行修改,如回复、转发、退回、转换到另外一个队列、更新属性(状态、优先级等)、锁定和计算工时。也可以对多张工单进行批量修改,即批量操作。OTRS integrates internal and external communication using tickets. Tickets are organized in queues. Tickets can be modified in many ways, such as replying, forwarding, bouncing, switching to another queue, updating attributes (status, priority, etc.), locking and counting hours. It is also possible to modify multiple work orders in batches, that is, batch operations.

通过工单历史记录一张工单的所有变更。All changes to a ticket are recorded through the ticket history.

另外,OTRS的搜索功能支持针对工单的复杂和全文搜索。In addition, the search function of OTRS supports complex and full-text searches for tickets.

在具体实现中,首先,获取用户的产品需求信息,基于OTRS平台将所述产品需求信息转化为相应工单类型的工单,并运行。工单类型包括接入类工单和执行类工单,每一个所述工单至少包括一个工作流信息。In a specific implementation, firstly, the user's product demand information is obtained, and the product demand information is converted into a work order of a corresponding work order type based on the OTRS platform, and executed. Work order types include access work orders and execution work orders, and each work order includes at least one piece of workflow information.

然后,查看系统中的工单流转状态,即查看队列、状态、升级情况等,还可以根据级别查看工单的详细信息(简洁/基本/预览)。当查看到工单流转结束后,也就是说,工单运行完毕后,利用OTRS的Webservice接口发送自动化请求触发自动化程序。Then, check the work order flow status in the system, that is, view the queue, status, upgrade status, etc., and you can also view the detailed information of the work order according to the level (simple/basic/preview). When it is checked that the work order transfer is completed, that is, after the work order has been run, use the Webservice interface of OTRS to send an automation request to trigger the automation program.

该自动化程序基于oh-my-devops和jenkins实现。The automation program is implemented based on oh-my-devops and jenkins.

其中,oh-my-devops平台将OTRS和jenkins进行结合,并将流水线的编译和部署转变为自动化。并将自动化建立流水线过程中产生的各类数据入库存储,保证运维管理的可靠性和实效性。Among them, the oh-my-devops platform combines OTRS and jenkins, and transforms the compilation and deployment of the pipeline into automation. And all kinds of data generated in the process of automatically establishing the pipeline are stored in the database to ensure the reliability and effectiveness of operation and maintenance management.

Jenkins为一个开源软件产品,其可以根据各个系统的自身需求进行个性化配置,具体包含持续定期编译、生成报告、发送至邮件等功能。Jenkins is an open source software product, which can be customized according to the needs of each system, including functions such as continuous and regular compilation, report generation, and sending to emails.

在具体实现中,首先,根据工单类型不同,在oh-my-devops平台中解析不同的工单,得到对应的工作流信息,并进行存储。具体的,该oh-my-devops平台包含接入类模块和执行类模块。In the specific implementation, firstly, according to different types of work orders, different work orders are parsed on the oh-my-devops platform, and the corresponding workflow information is obtained and stored. Specifically, the oh-my-devops platform includes an access module and an execution module.

然后,将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码。Then, match each workflow information with the pre-set Jenkins pipeline template to obtain the code needed to build the pipeline.

最后,基于jenkins平台和所述代码构建产品对应的流水线。Finally, build the pipeline corresponding to the product based on the jenkins platform and the code.

同时,在基于jenkins平台建产品对应的流水线的过程中,还可以基于jenkins平台的测试模块对产品进行测试,并生成产品测试报告。At the same time, in the process of building the pipeline corresponding to the product based on the jenkins platform, the product can also be tested based on the test module of the jenkins platform and a product test report can be generated.

基于上述本发明实施例公开的持续集成系统的运行架构,利用OTRS平台确定工单,再利用OTRS Webservice接口触发自动化流程,从而自动化的完成产品流水线的部署,不仅降低了人力成本,同时降低了工作复杂度,提高了构建产品流水线的效率。Based on the operating framework of the continuous integration system disclosed in the above-mentioned embodiments of the present invention, the OTRS platform is used to determine the work order, and then the OTRS Webservice interface is used to trigger the automation process, thereby automatically completing the deployment of the product pipeline, which not only reduces labor costs, but also reduces work costs. Complexity, improving the efficiency of building product pipelines.

基于上述本发明实施例公开的持续集成系统的运行架构,本发明实施例还公开了一种持续集成系统的运行方法,如图2所示,主要包括如下步骤:Based on the operating framework of the continuous integration system disclosed in the above-mentioned embodiments of the present invention, the embodiment of the present invention also discloses an operating method of the continuous integration system, as shown in FIG. 2 , which mainly includes the following steps:

S201:获取产品需求信息,基于OTRS平台将所述产品需求信息转化为对应工单类型的工单,并运行。S201: Obtain product demand information, convert the product demand information into a work order of a corresponding work order type based on the OTRS platform, and execute the operation.

在S201中,所述工单类型包括接入类工单和执行类工单,每一个所述工单至少包括一个工作流信息。In S201, the work order types include access work orders and execution work orders, and each work order includes at least one piece of workflow information.

接入类工单包含连接或关联整个产品的工作流。Access tickets contain workflows that connect or relate to the entire product.

执行类工单包含具体执行得到某一执行结果的工作流。Execution work orders include workflows that are specifically executed to obtain a certain execution result.

S202:监听所述工单是否运行完毕,若完毕执行S203,若未完毕,继续执行S202。S202: Monitor whether the work order is completed, if it is completed, execute S203, if not, continue to execute S202.

在具体执行S202的过程中,实时监听每一所述工单状态发生变更时产生的工单事件,直至所述工单事件指示工单状态为已运行完毕状态,确定所述工单运行完毕。During the specific execution of S202, monitor each work order event generated when the state of the work order changes in real time, until the work order event indicates that the work order status is a completed state, and determine that the work order is completed.

这里的工单状态的变更相当于上述实施例中涉及到的工单流转状态。The change of the work order status here is equivalent to the work order flow status involved in the above-mentioned embodiments.

S203:利用OTRS Webservice接口发送自动化请求触发执行S204至S206。S203: Using the OTRS Webservice interface to send an automation request to trigger the execution of S204 to S206.

在S203中,所述自动化请求中包含所述工单。In S203, the automation request includes the work order.

在具体实现S203的过程中,利用perl脚本实现利用OTRS Webservice接口发送自动化请求触发执行S204至S206。In the process of implementing S203, a perl script is used to send an automation request using the OTRS Webservice interface to trigger the execution of S204 to S206.

其中,S204至S206为自动化程序,执行该自动化流程,能够得到自动化部署的流水线。Wherein, S204 to S206 are automation programs, and the automatic deployment pipeline can be obtained by executing the automation process.

所述自动化流程包括:The automated processes include:

S204:解析所述工单,得到对应的工作流信息,并存储。S204: Analyze the work order to obtain corresponding workflow information and store it.

在具体实现S204的过程中,基于确定所述自动化请求中包含的所述工单的工单类型。In the process of implementing S204, based on determining the work order type of the work order included in the automation request.

若同时存在接入类工单和执行类工单,则分别对接入类工单和执行类工单进行解析,得到各自对应的工作流,并按照工作流顺序以及和每一工作流的节点信息存储于python-jenkins库。If there are access work orders and execution work orders at the same time, analyze the access work orders and execution work orders respectively to obtain their corresponding workflows, and follow the sequence of workflows and the nodes of each workflow Information is stored in the python-jenkins library.

若仅存在接入类工单,对接入类工单进行解析,将得到的工作流按照工作流顺序以及和每一个工作流的节点信息存储于python-jenkins库。If there are only access work orders, analyze the access work orders, and store the obtained workflows in the python-jenkins library according to the workflow sequence and the node information of each workflow.

若仅存在执行类工单,对执行类工单进行解析,将得到的工作流按照工作流顺序以及和每一个工作流的节点信息存储于python-jenkins库。If there are only execution work orders, analyze the execution work orders, and store the obtained workflows in the python-jenkins library according to the workflow sequence and the node information of each workflow.

S205:将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码。S205: Match each workflow information with the pre-set jenkins pipeline template to obtain the code required to build the pipeline.

在S205中,jenkins pipeline模板用于生成和产品紧密相关的流水线配置,包含应用的编译构建和部署所需的所有参数。In S205, the jenkins pipeline template is used to generate a pipeline configuration closely related to the product, including all parameters required for compiling, building and deploying the application.

在具体实现S205的过程中,首先,将每一个工作流的节点信息与预先设置的jenkins pipeline模板进行匹配,确认每一个工作流的节点信息对应的jenkins pipeline模板。In the process of implementing S205, firstly, the node information of each workflow is matched with the preset jenkins pipeline template, and the jenkins pipeline template corresponding to the node information of each workflow is confirmed.

其次,获取所述jenkins pipeline模板对应的代码,基于工作流顺序对所述代码排序,得到构建流水线所需的代码。Secondly, the code corresponding to the jenkins pipeline template is obtained, and the codes are sorted based on the sequence of the workflow to obtain the code required for building the pipeline.

S206:基于jenkins平台和所述代码构建产品对应的流水线。S206: Build a pipeline corresponding to the product based on the jenkins platform and the code.

需要说明的是,若得到构建流水线所需的代码仅包括独有流水线代码,则需要获取构建流水线所需的通用流水线代码;基于jenkins平台、所述独有流水线代码和所述通用流水线代码构建产品对应的流水线。It should be noted that if the code required to build the pipeline only includes the unique pipeline code, you need to obtain the general pipeline code required to build the pipeline; build products based on the jenkins platform, the unique pipeline code and the general pipeline code corresponding pipeline.

该独有流水线代码指该产品特有的流水线代码,通用流水线代码则指初次接入工单中提供的编译流水线所需要的参数。The unique pipeline code refers to the product-specific pipeline code, and the general pipeline code refers to the parameters required for the compilation pipeline provided in the initial access work order.

如下表1给出了在构建流水线时涉及编译任务的部分参数。表2给出了在构建流水线时涉及发布/回滚任务部分参数。Table 1 below shows some parameters involved in the compilation task when building the pipeline. Table 2 shows some parameters involved in the release/rollback task when building the pipeline.

表1:Table 1:

Figure BDA0003141601510000081
Figure BDA0003141601510000081

Figure BDA0003141601510000091
Figure BDA0003141601510000091

Figure BDA0003141601510000101
Figure BDA0003141601510000101

表2:Table 2:

Figure BDA0003141601510000102
Figure BDA0003141601510000102

Figure BDA0003141601510000111
Figure BDA0003141601510000111

基于上述本发明实施例公开的持续集成系统的运行方法,利用OTRS平台确定工单,再利用OTRS Webservice接口触发自动化流程,从而自动化的完成产品流水线的部署,该过程将持续集成和部署过程整合为一个完整的自动化流程,使得开发和运维团队的协同更为高效,同时对于操作人员的专业知识的要求也有所降低。也就是说,通过本发明实施例公开的持续集成系统的运行方法自动部署流水线的过程,不仅降低了人力成本,同时降低了工作复杂度,提高了构建产品流水线的效率。Based on the operating method of the continuous integration system disclosed in the above-mentioned embodiments of the present invention, the OTRS platform is used to determine the work order, and then the OTRS Webservice interface is used to trigger the automation process, thereby automatically completing the deployment of the product pipeline. This process integrates the continuous integration and deployment process into A complete automated process makes the collaboration between the development and operation and maintenance teams more efficient, and at the same time reduces the requirements for the professional knowledge of operators. That is to say, the process of automatically deploying the pipeline through the operating method of the continuous integration system disclosed in the embodiment of the present invention not only reduces labor costs, but also reduces work complexity and improves the efficiency of building product pipelines.

基于上述本发明实施例公开的一种持续集成系统的运行方法,如图3所示,本发明实施例还公开了另一种持续集成系统的运行方法,主要包括如下步骤:Based on the operating method of a continuous integration system disclosed in the above-mentioned embodiments of the present invention, as shown in FIG. 3 , the embodiment of the present invention also discloses another operating method of the continuous integration system, which mainly includes the following steps:

S301:获取产品需求信息,基于OTRS平台将所述产品需求信息转化为对应工单类型的工单,并运行。S301: Obtain product demand information, convert the product demand information into a work order of a corresponding work order type based on the OTRS platform, and execute the operation.

S302:监听所述工单是否运行完毕,若完毕执行S303,若未完毕,继续执行S302。S302: Monitor whether the work order is completed, if it is completed, execute S303, if not, continue to execute S302.

S303:利用OTRS Webservice接口发送自动化请求触发执行S304至S308。S303: Using the OTRS Webservice interface to send an automation request to trigger the execution of S304 to S308.

S304:解析所述工单,得到对应的工作流信息,并存储;S304: Analyze the work order, obtain corresponding workflow information, and store it;

S305:将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码;S305: Match each workflow information with the preset jenkins pipeline template to obtain the code required to build the pipeline;

S306:基于jenkins平台和所述代码构建产品对应的流水线。S306: Build a pipeline corresponding to the product based on the jenkins platform and the code.

上述S301至S306的执行原理和过程与图2中公开的S201至S206的执行原理和过程相同,这里不再进行赘述。The execution principles and processes of S301 to S306 above are the same as the execution principles and processes of S201 to S206 disclosed in FIG. 2 , and will not be repeated here.

S307:实时获取构建产品对应的流水线的过程中产生的中间数据。S307: Obtain in real time the intermediate data generated during the process of building the pipeline corresponding to the product.

S308:基于所述中间数据生成产品测试报告。S308: Generate a product test report based on the intermediate data.

在具体实现S308的过程中,通过获取到的中间数据可以生成产品测试报告,基于该产品测试报告可以确定产品在开发的每个阶段是否有问题。若有问题,则及时根据该产品测试报告进行更正。In the process of implementing S308, a product test report can be generated through the obtained intermediate data, and based on the product test report, it can be determined whether there is a problem in each stage of the product development. If there is a problem, make corrections in time according to the product test report.

基于上述本发明实施例公开的持续集成系统的运行方法,利用OTRS平台确定工单,再利用OTRS Webservice接口触发自动化流程,从而自动化的完成产品流水线的部署,该过程将持续集成和部署过程整合为一个完整的自动化流程,使得开发和运维团队的协同更为高效,同时对于操作人员的专业知识的要求也有所降低。也就是说,通过本发明实施例公开的持续集成系统的运行方法自动部署流水线的过程,不仅降低了人力成本,同时降低了工作复杂度,提高了构建产品流水线的效率。Based on the operating method of the continuous integration system disclosed in the above-mentioned embodiments of the present invention, the OTRS platform is used to determine the work order, and then the OTRS Webservice interface is used to trigger the automation process, thereby automatically completing the deployment of the product pipeline. This process integrates the continuous integration and deployment process into A complete automated process makes the collaboration between the development and operation and maintenance teams more efficient, and at the same time reduces the requirements for the professional knowledge of operators. That is to say, the process of automatically deploying the pipeline through the operating method of the continuous integration system disclosed in the embodiment of the present invention not only reduces labor costs, but also reduces work complexity and improves the efficiency of building product pipelines.

基于上述本发明实施例公开的持续集成系统的运行方法,本发明实施例还对应公开了一种持续集成系统,如图4所示,主要包括:Based on the operation method of the continuous integration system disclosed in the above-mentioned embodiments of the present invention, the embodiment of the present invention also discloses a corresponding continuous integration system, as shown in FIG. 4 , which mainly includes:

获取模块401,用于获取产品需求信息,基于OTRS平台将所述产品需求信息转化为对应工单类型的工单,并运行,当监听到所述工单运行完毕后,利用OTRS Webservice接口向自动化模块发送自动化请求触发自动化模块402,所述工单类型包括接入类工单和执行类工单,每一个所述工单至少包括一个工作流信息,所述自动化请求中包含所述工单。The acquisition module 401 is used to acquire product demand information, convert the product demand information into a work order of the corresponding work order type based on the OTRS platform, and run it. The module sends an automation request to trigger the automation module 402. The work order type includes an access work order and an execution work order. Each work order includes at least one workflow information, and the automation request includes the work order.

在监听所述工单运行的过程中,所述获取模块401,具体用于:During the process of monitoring the operation of the work order, the acquiring module 401 is specifically used for:

实时监听每一个所述工单状态发生变更时产生的工单事件,直至所述工单事件指示工单状态为已运行完毕状态,确定所述工单运行完毕。Each work order event generated when the state of the work order changes is monitored in real time until the work order event indicates that the state of the work order is completed, and it is determined that the operation of the work order is completed.

自动化模块402,用于利用Devops平台解析所述工单,得到对应的工作流信息,并存储,以及将每一工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码,并基于jenkins平台和所述代码构建产品对应的流水线。The automation module 402 is configured to use the Devops platform to analyze the work order, obtain the corresponding workflow information, and store it, and match each workflow information with the preset jenkins pipeline template to obtain the code required to build the pipeline, And build the pipeline corresponding to the product based on the jenkins platform and the code.

在具体执行利用Devops平台解析所述工单,得到工单信息并存储时,所述自动化模块402,具体用于:When the specific implementation utilizes the Devops platform to parse the work order, obtain the work order information and store it, the automation module 402 is specifically used for:

确定所述自动化请求中包含的所述工单的工单类型;若同时存在接入类工单和执行类工单,或者,仅存在接入类工单或执行类工单,基于所述工单的工单类型分别进行解析,将得到工作流顺序以及和每一个工作流的节点信息存储于python-jenkins库。Determine the work order type of the work order contained in the automation request; if there are both access work orders and execution work orders, or only access work orders or execution work orders, based on the work order The work order types of the order are analyzed separately, and the obtained workflow sequence and node information of each workflow are stored in the python-jenkins library.

在具体执行将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码时,所述自动化模块402,具体用于:When matching each workflow information with the preset jenkins pipeline template to obtain the code needed to build the pipeline, the automation module 402 is specifically used for:

将每一个工作流的节点信息与预先设置的jenkins pipeline模板进行匹配,确认每一工作流的节点信息对应的jenkins pipeline模板;获取所述jenkins pipeline模板对应的代码,基于工作流顺序对所述代码排序,得到构建流水线所需的代码。Match the node information of each workflow with the preset jenkins pipeline template, confirm the jenkins pipeline template corresponding to the node information of each workflow; obtain the code corresponding to the jenkins pipeline template, and compare the code based on the workflow sequence Sort to get the code needed to build the pipeline.

若得到构建流水线所需的代码仅包括独有流水线代码,所述自动化模块402,还用于:If the code required to build the pipeline only includes the unique pipeline code, the automation module 402 is also used for:

获取构建流水线所需的通用流水线代码;基于jenkins平台、所述独有流水线代码和所述通用流水线代码构建产品对应的流水线。Obtain the general pipeline code required to build the pipeline; build the pipeline corresponding to the product based on the jenkins platform, the unique pipeline code and the general pipeline code.

基于上述本发明实施例公开的持续集成系统,利用OTRS平台确定工单,再利用OTRS Webservice接口触发自动化流程,从而自动化的完成产品流水线的部署,该过程将持续集成和部署过程整合为一个完整的自动化流程,使得开发和运维团队的协同更为高效,同时对于操作人员的专业知识的要求也有所降低。也就是说,通过本发明实施例公开的持续集成系统的运行方法自动部署流水线的过程,不仅降低了人力成本,同时降低了工作复杂度,提高了构建产品流水线的效率。Based on the continuous integration system disclosed in the above-mentioned embodiments of the present invention, the OTRS platform is used to determine the work order, and then the OTRS Webservice interface is used to trigger the automation process, thereby automatically completing the deployment of the product pipeline. This process integrates the continuous integration and deployment process into a complete The automated process makes the collaboration between development and operation and maintenance teams more efficient, and at the same time reduces the requirements for the professional knowledge of operators. That is to say, the process of automatically deploying the pipeline through the operating method of the continuous integration system disclosed in the embodiment of the present invention not only reduces labor costs, but also reduces work complexity and improves the efficiency of building product pipelines.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.一种持续集成系统的运行方法,其特征在于,所述运行方法包括:1. A running method of a continuous integration system, characterized in that, the running method comprises: 获取产品需求信息,基于OTRS平台将所述产品需求信息转化为对应工单类型的工单,并运行,所述工单类型包括接入类工单和执行类工单,每一个所述工单至少包括一个工作流信息;Obtain product demand information, convert the product demand information into work orders of corresponding work order types based on the OTRS platform, and run them. The work order types include access work orders and execution work orders, and each work order Include at least one workflow information; 当监听到所述工单运行完毕后,利用OTRS Webservice接口发送自动化请求触发自动化程序,并执行自动化流程,得到自动化部署的流水线,所述自动化请求中包含所述工单;After monitoring that the work order is completed, use the OTRS Webservice interface to send an automation request to trigger the automation program, and execute the automation process to obtain an automated deployment pipeline, wherein the automation request includes the work order; 所述自动化流程包括:The automated processes include: 解析所述工单,得到对应的工作流信息,并存储;Analyzing the work order, obtaining corresponding workflow information, and storing it; 将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码;Match each workflow information with the pre-set jenkins pipeline template to get the code needed to build the pipeline; 基于jenkins平台和所述代码构建产品对应的流水线。Build the pipeline corresponding to the product based on the jenkins platform and the code. 2.根据权利要求1所述的方法,其特征在于,还包括:2. The method according to claim 1, further comprising: 实时获取构建产品对应的流水线的过程中产生的中间数据;Real-time acquisition of intermediate data generated during the process of building the pipeline corresponding to the product; 基于所述中间数据生成产品测试报告。A product test report is generated based on the intermediate data. 3.根据权利要求1所述的方法,其特征在于,所述当监听到所述工单运行完毕,包括:3. The method according to claim 1, wherein when it is detected that the work order is completed, it comprises: 实时监听每一个所述工单状态发生变更时产生的工单事件,直至所述工单事件指示工单状态为已运行完毕状态,确定所述工单运行完毕。Each work order event generated when the state of the work order changes is monitored in real time until the work order event indicates that the state of the work order is completed, and it is determined that the operation of the work order is completed. 4.根据权利要求1所述的方法,其特征在于,所述解析所述工单,得到对应的工作流信息,并存储,包括:4. The method according to claim 1, wherein said parsing said work order to obtain corresponding workflow information and store it comprises: 确定所述自动化请求中包含的所述工单的工单类型;determining a work order type of said work order contained in said automation request; 若同时存在接入类工单和执行类工单,或者,仅存在接入类工单或执行类工单,基于所述工单的工单类型分别进行解析,将得到工作流顺序以及每一个工作流的节点信息存储于python-jenkins库。If there are access work orders and execution work orders at the same time, or there are only access work orders or execution work orders, the workflow sequence and each The node information of the workflow is stored in the python-jenkins library. 5.根据权利要求4所述的方法,其特征在于,所述将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码,包括:5. The method according to claim 4, wherein said matching each workflow information with a preset jenkins pipeline template to obtain the required code for building the pipeline, including: 将每一个工作流的节点信息与预先设置的jenkins pipeline模板进行匹配,确认每一个工作流的节点信息对应的jenkins pipeline模板;Match the node information of each workflow with the preset jenkins pipeline template, and confirm the jenkins pipeline template corresponding to the node information of each workflow; 获取所述jenkins pipeline模板对应的代码,基于工作流顺序对所述代码排序,得到构建流水线所需的代码。Obtain the codes corresponding to the jenkins pipeline template, sort the codes based on the workflow order, and obtain the codes required to build the pipeline. 6.根据权利要求1所述的方法,其特征在于,若得到构建流水线所需的代码仅包括独有流水线代码,还包括:6. The method according to claim 1, wherein if the code required to obtain the construction pipeline only includes unique pipeline code, it also includes: 获取构建流水线所需的通用流水线代码;Get the general pipeline code needed to build the pipeline; 基于jenkins平台、所述独有流水线代码和所述通用流水线代码构建产品对应的流水线。Construct the pipeline corresponding to the product based on the jenkins platform, the unique pipeline code and the general pipeline code. 7.一种持续集成系统,其特征在于,包括:7. A continuous integration system, characterized in that it comprises: 获取模块,用于获取用户的产品需求信息,基于OTRS平台将所述产品需求信息转化为对应工单类型的工单,并运行,当监听到所述工单运行完毕后,利用OTRS Webservice接口向自动化模块发送自动化请求触发自动化程序,所述工单类型包括接入类工单和执行类工单,每一个所述工单至少包括一个工作流信息,所述自动化请求中包含所述工单;The acquisition module is used to obtain the user's product demand information, convert the product demand information into a work order of the corresponding work order type based on the OTRS platform, and run it, and when the operation of the work order is monitored, use the OTRS Webservice interface to The automation module sends an automation request to trigger the automation program, the work order type includes an access work order and an execution work order, and each work order includes at least one workflow information, and the automation request includes the work order; 所述自动化模块,用于利用Devops平台解析所述工单,得到对应的工作流信息,并存储,以及将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码,并基于jenkins平台和所述代码构建产品对应的流水线。The automation module is configured to use the Devops platform to analyze the work order, obtain corresponding workflow information, and store it, and match each workflow information with a pre-set jenkins pipeline template to obtain the code required to build the pipeline , and build the pipeline corresponding to the product based on the jenkins platform and the code. 8.根据权利要求7所述的系统,其特征在于,所述监听所述工单运行的获取模块,具体用于:8. The system according to claim 7, wherein the acquisition module that monitors the operation of the work order is specifically used for: 实时监听每一个所述工单状态发生变更时产生的工单事件,直至所述工单事件指示工单状态为已运行完毕状态,确定所述工单运行完毕。Each work order event generated when the state of the work order changes is monitored in real time until the work order event indicates that the state of the work order is completed, and it is determined that the operation of the work order is completed. 9.根据权利要求7所述的系统,其特征在于,所述利用Devops平台解析所述工单,得到工单信息并存储的自动化模块,具体用于:9. system according to claim 7, is characterized in that, described utilizes Devops platform to analyze described work order, obtains the automation module of work order information and storage, is specifically used for: 确定所述自动化请求中包含的所述工单的工单类型;若同时存在接入类工单和执行类工单,或者,仅存在接入类工单或执行类工单,基于所述工单的工单类型分别进行解析,将得到工作流顺序以及每一个工作流的节点信息存储于python-jenkins库。Determine the work order type of the work order contained in the automation request; if there are both access work orders and execution work orders, or only access work orders or execution work orders, based on the work order The work order types of the order are analyzed separately, and the obtained workflow sequence and node information of each workflow are stored in the python-jenkins library. 10.根据权利要求9所述的系统,其特征在于,所述将每一个工作流信息与预先设置的jenkins pipeline模板进行匹配,得到构建流水线所需的代码的所述自动化模块,具体用于:10. The system according to claim 9, wherein the automation module for matching each workflow information with the preset jenkins pipeline template to obtain the code required for building the pipeline is specifically used for: 将每一个工作流的节点信息与预先设置的jenkins pipeline模板进行匹配,确认每一个工作流的节点信息对应的jenkins pipeline模板;获取所述jenkins pipeline模板对应的代码,基于工作流顺序对所述代码排序,得到构建流水线所需的代码。Match the node information of each workflow with the preset jenkins pipeline template, confirm the jenkins pipeline template corresponding to the node information of each workflow; obtain the code corresponding to the jenkins pipeline template, and compare the code based on the workflow sequence Sort to get the code needed to build the pipeline.
CN202110741704.4A 2021-06-30 2021-06-30 Continuous integration system and operation method thereof Pending CN115545375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110741704.4A CN115545375A (en) 2021-06-30 2021-06-30 Continuous integration system and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110741704.4A CN115545375A (en) 2021-06-30 2021-06-30 Continuous integration system and operation method thereof

Publications (1)

Publication Number Publication Date
CN115545375A true CN115545375A (en) 2022-12-30

Family

ID=84722896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110741704.4A Pending CN115545375A (en) 2021-06-30 2021-06-30 Continuous integration system and operation method thereof

Country Status (1)

Country Link
CN (1) CN115545375A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190129701A1 (en) * 2017-10-27 2019-05-02 Intuit Inc. Methods, systems, and computer program products for automating releases and deployment of a softawre application along the pipeline in continuous release and deployment of software application delivery models
CN111443940A (en) * 2020-05-08 2020-07-24 南京大学 A complete software life cycle management method and platform based on DevOps
CN112036825A (en) * 2020-08-28 2020-12-04 航天科工网络信息发展有限公司 Automatic operation and maintenance management system based on work order
CN112130956A (en) * 2020-09-09 2020-12-25 中盈优创资讯科技有限公司 Jenkins-based automatic CI/CD pipeline method
CN112596854A (en) * 2020-12-15 2021-04-02 中国建设银行股份有限公司 Method and device for continuously integrating running of assembly line

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190129701A1 (en) * 2017-10-27 2019-05-02 Intuit Inc. Methods, systems, and computer program products for automating releases and deployment of a softawre application along the pipeline in continuous release and deployment of software application delivery models
CN111443940A (en) * 2020-05-08 2020-07-24 南京大学 A complete software life cycle management method and platform based on DevOps
CN112036825A (en) * 2020-08-28 2020-12-04 航天科工网络信息发展有限公司 Automatic operation and maintenance management system based on work order
CN112130956A (en) * 2020-09-09 2020-12-25 中盈优创资讯科技有限公司 Jenkins-based automatic CI/CD pipeline method
CN112596854A (en) * 2020-12-15 2021-04-02 中国建设银行股份有限公司 Method and device for continuously integrating running of assembly line

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
王俊;牛亚运;: "基于流水线理念持续集成与持续交付平台的设计与实现", 软件工程, no. 04, 5 April 2020 (2020-04-05) *
王红蕾;: "基于DevOps的轻量级持续交付方案", 计算机系统应用, no. 09, 15 September 2020 (2020-09-15) *
郑健: "开源IT服务管理系统在职业院校中的应用", 电脑知识与技术, vol. 13, no. 28, 31 October 2017 (2017-10-31), pages 110 - 112 *
郭王非;: "基于工作流引擎的工单管理系统设计", 高考, no. 27, 30 September 2018 (2018-09-30) *

Similar Documents

Publication Publication Date Title
Verbeek et al. Diagnosing workflow processes using Woflan
US8271949B2 (en) Self-healing factory processes in a software factory
US8452629B2 (en) Work packet enabled active project schedule maintenance
US7917815B2 (en) Multi-layer context parsing and incident model construction for software support
CN108763091B (en) Method, device and system for regression testing
Baier et al. Bridging abstraction layers in process mining by automated matching of events and activities
Fisher et al. Utilizing Atlassian JIRA for large-scale software development management
US20080208660A1 (en) System and Method for Analyzing and Managing Business Performance
US8694487B2 (en) Project management system
JP5614843B2 (en) Integrated software design and operation management system
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
CN108876306A (en) A kind of online measures and procedures for the examination and approval, device and storage medium
US11113105B1 (en) Computer implemented system and method for generating platform agnostic digital worker
CN111984882A (en) Data processing method, system and equipment
CN110851324A (en) Log-based routing inspection processing method and device, electronic equipment and storage medium
CN113064811A (en) Workflow-based automatic testing method and device and electronic equipment
US8244644B2 (en) Supply chain multi-dimensional serial containment process
CN118552101A (en) Task processing method and system
US8504412B1 (en) Audit automation with survey and test plan
US20130332369A1 (en) Leveraging analytics to propose context sensitive workflows for case management solutions
CN115545375A (en) Continuous integration system and operation method thereof
CN112069031A (en) Abnormal query method, device, equipment and computer readable storage medium
JP2011145720A (en) Chemical substance management system
CN116452141A (en) Task management system
CN117592707A (en) A nuclear power business processing method based on RPA robot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination