CN117193794A - Management method, equipment and medium for software research and development project - Google Patents
Management method, equipment and medium for software research and development project Download PDFInfo
- Publication number
- CN117193794A CN117193794A CN202310922046.8A CN202310922046A CN117193794A CN 117193794 A CN117193794 A CN 117193794A CN 202310922046 A CN202310922046 A CN 202310922046A CN 117193794 A CN117193794 A CN 117193794A
- Authority
- CN
- China
- Prior art keywords
- task item
- code
- development
- status
- task
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 53
- 238000011161 development Methods 0.000 claims abstract description 78
- 230000010354 integration Effects 0.000 claims abstract description 57
- 238000000034 method Methods 0.000 claims abstract description 40
- 238000012545 processing Methods 0.000 claims abstract description 21
- 230000004044 response Effects 0.000 claims abstract description 6
- 238000012360 testing method Methods 0.000 claims description 36
- 238000004519 manufacturing process Methods 0.000 claims description 16
- 238000004458 analytical method Methods 0.000 claims description 14
- 230000003068 static effect Effects 0.000 claims description 14
- 230000006870 function Effects 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 8
- 230000001960 triggered effect Effects 0.000 claims description 6
- 238000012827 research and development Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 22
- 238000010586 diagram Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种软件研发项目的管理方法、设备及介质,属于软件研发项目管理技术领域,用于解决现有的任务项更新方法容易出现更新不及时不准确的技术问题。方法包括:响应于任务项对应的开发代码提交到代码仓库,触发流水线进行所述开发代码的持续集成;检查所述任务项对应的任务项状态;在所述任务项状态不为处理中时,更新所述任务项状态与任务项更新内容;在所述开发代码的持续集成完成之后,触发流水线进行所述开发代码的持续部署;检查所述任务项对应的任务项状态;在所述任务项状态不为已完成时,更新所述任务项状态与任务项更新内容。本申请通过上述方案实现了任务项的及时、准确的更新。
The invention discloses a management method, equipment and medium for software research and development projects, which belongs to the technical field of software research and development project management and is used to solve the technical problem that existing task item updating methods are prone to untimely and inaccurate updates. The method includes: in response to the development code corresponding to the task item being submitted to the code warehouse, triggering the pipeline to perform continuous integration of the development code; checking the task item status corresponding to the task item; when the task item status is not processing, Update the task item status and task item update content; after the continuous integration of the development code is completed, trigger the pipeline to perform continuous deployment of the development code; check the task item status corresponding to the task item; in the task item When the status is not completed, update the task item status and task item update content. This application achieves timely and accurate updates of task items through the above solution.
Description
技术领域Technical field
本申请涉及软件研发项目管理技术领域,尤其涉及一种软件研发项目的管理方法、设备及介质。This application relates to the technical field of software R&D project management, and in particular to a management method, equipment and medium for software R&D projects.
背景技术Background technique
在软件研发项目中,项目经理根据收集到的需求,制定任务项,开发人员需根据任务项内容进行开发,开发完成后通过开发运维平台进行管理,比如,源代码管理、制品管理、持续集成、自动化测试、持续部署等。In software R&D projects, the project manager formulates task items based on the collected requirements. Developers need to develop according to the contents of the task items. After the development is completed, it is managed through the development and operation platform, such as source code management, product management, and continuous integration. , automated testing, continuous deployment, etc.
在开发运维平台进行开发工作的同时,开发人员还需要进入软件研发项目管理功能模块进行任务项更新,这样就需要在不同功能模块上分别进行操作,增加了开发人员的工作量,且开发人员手动更新任务项,很容易导致实际开发进度与软件研发项目管理功能模块中的任务进度不一致,出现任务项更新不及时不准确的问题,从而影响项目进度跟踪和调整。While developing the operation and maintenance platform for development work, developers also need to enter the software R&D project management function module to update task items. This requires separate operations on different functional modules, which increases the workload of developers and increases the workload of developers. Manually updating task items can easily lead to inconsistencies between the actual development progress and the task progress in the software R&D project management function module, causing the problem of untimely and inaccurate task item updates, thus affecting project progress tracking and adjustment.
发明内容Contents of the invention
本申请实施例提供了一种软件研发项目的管理方法、设备及介质,用于解决如下技术问题:现有的任务项更新方法容易出现更新不及时不准确的问题。Embodiments of the present application provide a management method, equipment and media for software research and development projects, which are used to solve the following technical problems: existing task item updating methods are prone to untimely and inaccurate updates.
本申请实施例采用下述技术方案:The embodiments of this application adopt the following technical solutions:
第一方面,本申请实施例提供了一种软件研发项目的管理方法,所述方法包括:响应于任务项对应的开发代码提交到代码仓库,触发流水线进行所述开发代码的持续集成;检查所述任务项对应的任务项状态;在所述任务项状态不为处理中时,更新所述任务项状态与任务项更新内容;在所述开发代码的持续集成完成之后,触发流水线进行所述开发代码的持续部署;检查所述任务项对应的任务项状态;在所述任务项状态不为已完成时,更新所述任务项状态与任务项更新内容。In the first aspect, embodiments of the present application provide a management method for software research and development projects. The method includes: in response to submitting the development code corresponding to the task item to the code warehouse, triggering the pipeline to perform continuous integration of the development code; checking all The task item status corresponding to the task item; when the task item status is not processing, update the task item status and task item update content; after the continuous integration of the development code is completed, trigger the pipeline to perform the development Continuous deployment of code; check the task item status corresponding to the task item; when the task item status is not completed, update the task item status and task item update content.
在本申请说明书的一个或多个实施例中,在任务项对应的开发代码提交到代码仓库之前,所述方法还包括:在软件研发项目管理功能模块配置最小工作项,所述最小工作项被配置为任务项,所述任务项用于对开发需求进行拆解得到;配置所述任务项对应的任务项状态,所述任务项状态至少包括:待处理、处理中以及已完成。In one or more embodiments of the present application, before the development code corresponding to the task item is submitted to the code warehouse, the method further includes: configuring a minimum work item in the software research and development project management function module, and the minimum work item is Configured as a task item, the task item is used to disassemble the development requirements; configure the task item status corresponding to the task item, and the task item status at least includes: pending, processing, and completed.
在本申请说明书的一个或多个实施例中,针对所述持续集成,所述流水线的触发方式为自动触发;针对所述持续部署,所述流水线的触发方式为自动触发或手动触发。In one or more embodiments of the present application, for the continuous integration, the triggering mode of the pipeline is automatic triggering; for the continuous deployment, the triggering mode of the pipeline is automatic triggering or manual triggering.
在本申请说明书的一个或多个实施例中,所述持续集成的阶段,包括:代码编译,对所述开发代码进行编译;自动化测试,利用自动化测试工具对所述开发代码进行单元测试;静态代码分析,利用静态代码分析工具对所述开发代码进行静态分析;制品上传,将编译好的代码文件上传到制品仓库;制作镜像,制作docker镜像并将其上传到镜像仓库;镜像部署,在用于测试的K8S环境部署所述docker镜像。In one or more embodiments of this application, the continuous integration stage includes: code compilation, which compiles the development code; automated testing, which uses automated testing tools to perform unit testing on the development code; static Code analysis, using static code analysis tools to statically analyze the development code; product upload, uploading the compiled code files to the product warehouse; image making, making docker images and uploading them to the image warehouse; image deployment, in use Deploy the docker image in the test K8S environment.
在本申请说明书的一个或多个实施例中,所述代码编译、制作镜像与镜像部署的阶段顺序不可更改。In one or more embodiments of the present application, the order of the stages of code compilation, image creation, and image deployment cannot be changed.
在本申请说明书的一个或多个实施例中,所述持续部署的阶段,包括:代码编译,对所述开发代码进行编译;自动化测试,利用自动化测试工具对所述开发代码进行单元测试;静态代码分析,利用静态代码分析工具对所述开发代码进行静态分析;制品上传,将编译好的代码文件上传到制品仓库;制作镜像,制作docker镜像并将其上传到镜像仓库;镜像部署,在用于生产的K8S环境部署所述docker镜像;自动化监控,使用自动化监控工具对部署的所述开发代码进行监控,以检测所述代码中存在的问题;自动化回滚,利用自动化交付工具对所述开发代码进行回滚。In one or more embodiments of this application, the continuous deployment stage includes: code compilation, which compiles the development code; automated testing, which uses automated testing tools to perform unit testing on the development code; static Code analysis, using static code analysis tools to statically analyze the development code; product upload, uploading the compiled code files to the product warehouse; image making, making docker images and uploading them to the image warehouse; image deployment, in use Deploying the docker image in the production K8S environment; automated monitoring, using automated monitoring tools to monitor the deployed development code to detect problems in the code; automated rollback, using automated delivery tools to monitor the development The code is rolled back.
在本申请说明书的一个或多个实施例中,所述代码编译、制作镜像与镜像部署的阶段顺序不可更改。In one or more embodiments of the present application, the order of the stages of code compilation, image creation, and image deployment cannot be changed.
在本申请说明书的一个或多个实施例中,在所述任务项状态不为处理中时,所述任务项更新内容,至少包括:更新人、更新时间、评论、剩余预估时间以及记录;其中,所述评论通过所述开发代码提交到代码仓库时的提交信息添加,所述剩余预估时间通过所述持续集成的计划完成时间与集成已用时间之间的时间差确定,所述记录通过所述任务项中需要修改的内容添加;在所述任务项状态不为已完成时,所述任务项更新内容还包括实际用时,所述实际用时通过所述任务项开始创建与持续部署完成的时间差确定。In one or more embodiments of the present application, when the task item status is not being processed, the task item update content at least includes: updater, update time, comments, remaining estimated time, and record; Wherein, the comments are added through the submission information when the development code is submitted to the code warehouse, the remaining estimated time is determined by the time difference between the planned completion time of the continuous integration and the integration elapsed time, and the record is through The content that needs to be modified is added to the task item; when the status of the task item is not completed, the updated content of the task item also includes the actual time used, and the actual time used is the time it takes to start creating and continue deploying the task item. The time difference is determined.
第二方面,本申请实施例还提供了一种软件研发项目的管理设备,所述设备包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有能够被所述至少一个处理器执行的指令,以使所述至少一个处理器能够执行如上述的一种软件研发项目的管理方法。In a second aspect, embodiments of the present application also provide a management device for software research and development projects. The device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores There are instructions that can be executed by the at least one processor, so that the at least one processor can execute the above-mentioned management method of a software research and development project.
第三方面,本申请实施例还提供了一种非易失性计算机存储介质,其上存储有计算机可执行指令,所述计算机可执行指令被设置为执行如上述的一种软件研发项目的管理方法。In a third aspect, embodiments of the present application also provide a non-volatile computer storage medium on which computer-executable instructions are stored, and the computer-executable instructions are configured to perform the management of a software research and development project as described above. method.
本申请实施例提供的一种软件研发项目的管理方法、设备及介质,具有以下有益效果:The embodiments of this application provide a management method, equipment and medium for software research and development projects, which have the following beneficial effects:
1)、能够自动更新已制定的任务项,可以有效的避免手动更新任务项不及时和不准确的问题,保证任务进度更新的及时和准确。1). It can automatically update the established task items, which can effectively avoid the problem of untimely and inaccurate manual update of task items and ensure the timely and accurate update of task progress.
2)通过将持续集成和持续部署功能模块与软件研发项目管理功能模块/系统联动,在进行持续集成和持续部署操作时,自动更新任务项,减少项目开发人员在开发运维平台,因为切换软件研发项目管理功能模块手动更新任务项而产生的工作量,进而减少开发人员的工作量降低开发成本。2) By linking the continuous integration and continuous deployment function modules with the software R&D project management function module/system, task items are automatically updated during continuous integration and continuous deployment operations, reducing the need for project developers to switch software on the development and operation platform. The R&D project management function module reduces the workload caused by manually updating task items, thereby reducing the workload of developers and reducing development costs.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to explain the embodiments of the present application or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments recorded in this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts. In the attached picture:
图1为本申请实施例提供的一种软件研发项目的管理方法流程图;Figure 1 is a flow chart of a management method for a software research and development project provided by an embodiment of the present application;
图2为本申请实施例提供的一种应用场景下,持续集成与软件研发项目管理系统联动流程图;Figure 2 is a flow chart of the linkage between continuous integration and software research and development project management systems in an application scenario provided by the embodiment of the present application;
图3为本申请实施例提供的一种应用场景下,持续部署与软件研发项目管理系统联动流程图;Figure 3 is a flow chart of the linkage between continuous deployment and the software research and development project management system in an application scenario provided by the embodiment of the present application;
图4为本申请实施例提供的一种软件研发项目的管理设备的结构示意图。Figure 4 is a schematic structural diagram of a management device for software research and development projects provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本说明书实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those in the technical field to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of this application.
本申请实施例提供了一种软件研发项目的管理方法、设备及介质,基于开发运维平台进行软件开发工作,相较于传统软件开发工作具有自动化、可视化、协作等特性,在开发运维平台可以实现持续集成和持续部署,保证软件的质量和稳定性。软件研发项目管理功能模块,可以跟踪项目进度提升项目进度透明度、快速响应项目变化并及时调整项目计划。因此,本申请实施例通过将开发运维平台的持续集成和持续部署功能模块与软件研发项目管理功能模块进行联动,进而减少开发人员工作量和避免任务项更新不及时、不准确的问题。The embodiments of this application provide a management method, equipment and media for software research and development projects, and perform software development work based on a development and operation and maintenance platform. Compared with traditional software development work, it has features such as automation, visualization, and collaboration. On the development and operation and maintenance platform, Continuous integration and continuous deployment can be achieved to ensure the quality and stability of software. The software R&D project management function module can track project progress, improve project progress transparency, quickly respond to project changes, and adjust project plans in a timely manner. Therefore, the embodiments of this application link the continuous integration and continuous deployment functional modules of the development and operation platform with the software R&D project management functional modules, thereby reducing the workload of developers and avoiding the problem of untimely and inaccurate task item updates.
下面通过附图对本申请实施例中的方法进行详细说明。The methods in the embodiments of the present application will be described in detail below through the accompanying drawings.
图1为本申请实施例提供的一种软件研发项目的管理方法流程图,如图1所示,本申请实施例中的项目管理方法至少包括以下执行步骤:Figure 1 is a flow chart of a management method for software research and development projects provided by an embodiment of the present application. As shown in Figure 1, the project management method in the embodiment of the present application at least includes the following execution steps:
步骤101、响应于任务项对应的开发代码提交到代码仓库,触发流水线进行所述开发代码的持续集成。Step 101: In response to the development code corresponding to the task item being submitted to the code warehouse, the pipeline is triggered to perform continuous integration of the development code.
本申请实施例提供的软件研发项目管理方法,主要是实现持续集成与持续部署和任务项的联动,因此,在本申请的一个示例中,首先要进行任务项的配置,具体地,研发管理人员可以根据项目要求对研发内容进行分割,配置最小工作项,此处的最小工作项通过任务项表征,同时,配置完任务项之后,还需要对任务项的任务项状态进行配置,将任务项状态配置为待处理、处理中以及已完成。The software R&D project management method provided by the embodiment of this application is mainly to realize the linkage between continuous integration, continuous deployment and task items. Therefore, in an example of this application, the task items must be configured first. Specifically, the R&D managers R&D content can be divided according to project requirements, and the minimum work item can be configured. The minimum work item here is represented by a task item. At the same time, after configuring the task item, the task item status of the task item also needs to be configured. The task item status Configured as Pending, Processing, and Completed.
在完成配置工作之后,软件研发项目的研发人员就可以根据前述任务项进行开发工作,开发完成之后,会将开发代码上传到代码仓库,上传之后,流水线就是自动触发开发代码的持续集成测试。After completing the configuration work, the developers of the software development project can carry out development work according to the aforementioned tasks. After the development is completed, the development code will be uploaded to the code warehouse. After uploading, the pipeline will automatically trigger continuous integration testing of the development code.
在本申请实施例的一种或多种可能实现方式中,前述持续集成包括以下阶段:代码编译,对所述开发代码进行编译;自动化测试,利用自动化测试工具对所述开发代码进行单元测试;静态代码分析,利用静态代码分析工具对所述开发代码进行静态分析;制品上传,将编译好的代码文件上传到制品仓库;制作镜像,制作docker镜像并将其上传到镜像仓库;镜像部署,在用于测试的K8S环境部署所述docker镜像。需要说明的是,前述这些阶段都是可以根据实际项目要求进行删除或增加的,但代码编译、制作镜像与镜像部署这三个阶段的顺序是不可更改的。In one or more possible implementations of the embodiments of this application, the aforementioned continuous integration includes the following stages: code compilation, which compiles the development code; automated testing, which uses automated testing tools to perform unit testing on the development code; Static code analysis, using static code analysis tools to perform static analysis on the development code; product upload, uploading the compiled code files to the product warehouse; making mirrors, making docker images and uploading them to the mirror warehouse; mirror deployment, in Deploy the docker image in the K8S environment for testing. It should be noted that the aforementioned stages can be deleted or added according to actual project requirements, but the order of the three stages of code compilation, image production, and image deployment cannot be changed.
步骤102、检查所述任务项对应的任务项状态。Step 102: Check the status of the task item corresponding to the task item.
在触发持续集成后,需要检测任务项对应的任务项状态,具体地,检测任务项的状态是否为处理中。After triggering continuous integration, it is necessary to detect the status of the task item corresponding to the task item. Specifically, check whether the status of the task item is processing.
步骤103、在所述任务项状态不为处理中时,更新所述任务项状态与任务项更新内容。Step 103: When the task item status is not processing, update the task item status and task item update content.
如果前述任务项的状态不为处理中,则需要将任务项的状态更新为处理中,同时还需要更新任务项更新内容,在本申请的一个示例中,前述任务项更新内容至少包括:更新人、更新时间、评论、剩余预估时间以及记录;其中,评论通过开发代码提交到代码仓库时的提交信息添加,剩余预估时间通过持续集成的计划完成时间与集成已用时间之间的时间差确定,记录通过任务项中需要修改的内容添加。If the status of the aforementioned task item is not being processed, the status of the task item needs to be updated to being processed, and the update content of the task item also needs to be updated. In an example of this application, the update content of the aforementioned task item at least includes: Updater , update time, comments, remaining estimated time and records; among them, comments are added through the submission information when the development code is submitted to the code warehouse, and the remaining estimated time is determined by the time difference between the planned completion time of continuous integration and the integration elapsed time , records are added through the content that needs to be modified in the task item.
进一步地,如果前述任务项状态为处理中,则只需要更新前述任务项更新内容即可,而不需要再对任务项状态进行更新。Further, if the status of the aforementioned task item is in processing, then only the update content of the aforementioned task item needs to be updated, and there is no need to update the status of the task item.
步骤104、在所述开发代码的持续集成完成之后,触发流水线进行所述开发代码的持续部署。Step 104: After the continuous integration of the development code is completed, trigger the pipeline to perform continuous deployment of the development code.
持续集成与持续部署是软件研发项目中必不可少的测试过程,因此,在持续集成测试完成之后,自动触发或手动触发流水线进行开发代码的持续部署。Continuous integration and continuous deployment are essential testing processes in software development projects. Therefore, after the continuous integration testing is completed, the pipeline is automatically triggered or manually triggered for continuous deployment of the development code.
在本申请实施例的一种或多种可能实现方式中,前述持续部署包括以下阶段:代码编译,对所述开发代码进行编译;自动化测试,利用自动化测试工具对所述开发代码进行单元测试;静态代码分析,利用静态代码分析工具对所述开发代码进行静态分析;制品上传,将编译好的代码文件上传到制品仓库;制作镜像,制作docker镜像并将其上传到镜像仓库;镜像部署,在用于生产的K8S环境部署所述docker镜像;自动化监控,使用自动化监控工具对部署的所述开发代码进行监控,以检测所述代码中存在的问题;自动化回滚,利用自动化交付工具对所述开发代码进行回滚。In one or more possible implementations of the embodiments of this application, the aforementioned continuous deployment includes the following stages: code compilation, which compiles the development code; automated testing, which uses automated testing tools to perform unit testing on the development code; Static code analysis, using static code analysis tools to perform static analysis on the development code; product upload, uploading the compiled code files to the product warehouse; making mirrors, making docker images and uploading them to the mirror warehouse; mirror deployment, in Deploying the docker image in the K8S environment for production; automated monitoring, using automated monitoring tools to monitor the deployed development code to detect problems in the code; automated rollback, using automated delivery tools to monitor the Development code is rolled back.
同样地,前述持续部署的阶段可以根据软件研发项目的实际需求进行删除或增加,但这些阶段中代码编译、制作镜像与镜像部署这三个阶段的顺序不可更改,同时这三个阶段也不可删除。Similarly, the aforementioned continuous deployment stages can be deleted or added according to the actual needs of the software development project, but the order of the three stages of code compilation, image production, and image deployment cannot be changed, and these three stages cannot be deleted. .
步骤105、检查所述任务项对应的任务项状态。Step 105: Check the status of the task item corresponding to the task item.
在触发流水线进行持续部署之后,需要检查任务项对应的任务项状态是否为已完成。After triggering the pipeline for continuous deployment, you need to check whether the status of the task item corresponding to the task item is completed.
步骤106、在所述任务项状态不为已完成时,更新所述任务项状态与任务项更新内容。Step 106: When the task item status is not completed, update the task item status and task item update content.
在检查到前述任务项状态不为已完成时,需要将任务项状态更新为已完成,同时还需要更新任务项更新内容,在本申请的一个示例中,此处的任务项更新内容与前述持续集成阶段的任务项更新内容相同,且还包括一项实际用时,该实际用时通过任务项开始创建与持续部署完成之间的时间差确定。When it is checked that the status of the aforementioned task item is not completed, the status of the task item needs to be updated to completed, and the update content of the task item also needs to be updated. In an example of this application, the update content of the task item here is consistent with the above. Task items in the integration phase are updated with the same content and also include an actual elapsed time determined by the time difference between when the task item was created and when the continuous deployment was completed.
为了对本申请实施例中的项目管理方法进行更为详细的解释,本申请实施例还进行了如下补充描述。In order to explain the project management method in the embodiment of the present application in more detail, the embodiment of the present application also provides the following supplementary description.
1)、软件研发项目管理配置1), Software R&D project management configuration
将软件研发项目的最小工作项配置为任务项,同时配置任务项状态以及状态流转。Configure the minimum work item of the software development project as a task item, and configure the task item status and status flow.
2)、持续集成实现说明2), continuous integration implementation instructions
持续集成流程关注的是代码的集成、构建和测试,它的目的是尽早发现和解决问题,确保代码质量,让代码更容易集成到主干分支中。持续集成的重点在于代码的自动化构建、自动化测试和自动化质量检查,目的是确保代码的质量和可靠性。例如,在持续集成流程中,开发人员会频繁地提交代码到代码仓库,自动化构建和测试工具会自动构建和测试代码,并及时向开发人员反馈测试结果和代码质量。The continuous integration process focuses on the integration, construction and testing of code. Its purpose is to detect and solve problems as early as possible, ensure code quality, and make it easier to integrate the code into the main branch. The focus of continuous integration is on the automated construction, automated testing and automated quality inspection of code, with the purpose of ensuring the quality and reliability of the code. For example, in the continuous integration process, developers will frequently submit code to the code repository, and automated build and testing tools will automatically build and test the code, and provide timely feedback on test results and code quality to developers.
在本申请的一个示例中,持续集成过程是基于流水线实现,流水线的触发方式为自动触发,当代码仓库有代码提交时,流水线会被自动触发完成持续集成的过程,持续集成阶段如下表所示。In an example of this application, the continuous integration process is implemented based on the pipeline. The triggering method of the pipeline is automatic triggering. When code is submitted in the code warehouse, the pipeline will be automatically triggered to complete the continuous integration process. The continuous integration stages are shown in the following table. .
在本申请的一个示例中,上表中显示的持续集成的各个阶段可以根据实际开发工作的需要进行删减和排序,其中代码编译、制作镜像、镜像部署这三个阶段的顺序是不可以更改的,且这三个阶段也不能被删除,整体顺序为:代码编译→制作镜像→镜像部署。In an example of this application, the various stages of continuous integration shown in the above table can be deleted and sorted according to the needs of actual development work. The order of the three stages of code compilation, mirror production, and mirror deployment cannot be changed. , and these three stages cannot be deleted. The overall sequence is: code compilation → image production → image deployment.
3)、持续部署实现说明3), continuous deployment implementation instructions
持续部署流程关注的是代码的部署、交付和运维,它的目的是快速、可靠地将代码部署到生产环境中,确保交付的可靠性和一致性。持续部署的重点在于自动化部署、自动化监控和自动化回滚,目的是确保代码能够快速、可靠地部署到生产环境中。例如,在持续部署流程中,自动化部署工具会自动将构建好的代码部署到测试、预发布和生产环境中,自动化监控工具会监控部署的代码,自动化回滚工具会在出现问题时自动回滚部署的代码。The continuous deployment process focuses on the deployment, delivery and operation and maintenance of code. Its purpose is to quickly and reliably deploy code to the production environment to ensure the reliability and consistency of delivery. The focus of continuous deployment is automated deployment, automated monitoring, and automated rollback to ensure that code can be deployed to the production environment quickly and reliably. For example, in the continuous deployment process, automated deployment tools will automatically deploy the built code to test, pre-release and production environments, automated monitoring tools will monitor the deployed code, and automated rollback tools will automatically roll back when problems occur Deployed code.
在本申请的一个示例中,持续部署是基于持续集成的流程进行的,可手动触发和自动触发流水线部署过程,持续部署完整阶段如下表所示。In an example of this application, continuous deployment is based on the process of continuous integration, and the pipeline deployment process can be triggered manually or automatically. The complete stages of continuous deployment are shown in the following table.
在本申请的一个示例中,上表显示的持续部署的各个阶段可以根据实际开发工作的需要进行删减和排序,其中代码编译、制作镜像、镜像部署这三个阶段的顺序是不可以更改的,且这三个阶段也不能被删除,整体顺序为:代码编译→制作镜像→镜像部署。In an example of this application, the various stages of continuous deployment shown in the above table can be deleted and sorted according to the needs of actual development work. The order of the three stages of code compilation, image production, and image deployment cannot be changed. , and these three stages cannot be deleted. The overall sequence is: code compilation → image production → image deployment.
4)、持续集成与任务项联动说明4) Description of continuous integration and task item linkage
图2为本申请实施例提供的一种应用场景下,持续集成与软件研发项目管理系统联动流程图,此处的软件研发项目管理系统的联动也即与任务项的联动,由图2可以看出,持续集成与任务项联动的详细过程如下:Figure 2 is a flow chart of the linkage between continuous integration and the software R&D project management system in an application scenario provided by the embodiment of the present application. The linkage of the software R&D project management system here is also the linkage with the task items. It can be seen from Figure 2 The detailed process of continuous integration and task item linkage is as follows:
①创建任务项,项目经理收集到需求后,在软件研发项目管理功能模块拆解需求,创建任务项;①Create task items. After the project manager collects the requirements, he disassembles the requirements in the software development project management function module and creates task items;
②开发任务,开发人员根据创建好的任务项,基于开发运维平台在本地进行实际开发;② Development tasks, developers carry out actual development locally based on the created task items based on the development and operation platform;
③提交代码,使用Git进行代码提交,将代码提交到代码仓库;③Submit the code, use Git to submit the code, and submit the code to the code warehouse;
④集成测试,每一次提交代码都会触发流水线自动执行,流水线执行完成后,会将代码部署到集成测试环境,用于测试;④ Integration testing, every code submission will trigger the automatic execution of the pipeline. After the execution of the pipeline is completed, the code will be deployed to the integration test environment for testing;
⑤检查任务项状态,提交代码触发流水线进行代码集成,表明任务项已经开始进行实际开发,需要检查一下当前任务项的状态是否为“处理中”;⑤ Check the status of the task item, and submit the code to trigger the pipeline for code integration, indicating that the actual development of the task item has begun. You need to check whether the status of the current task item is "Processing";
⑥修改任务项状态,进行代码持续集成时,任务项的状态如果未处于“处理中”状态,需要将任务项状态更新为“处理中”,如果任务项状态已经处于“处理中”状态,则任务项状态不需要更新,只更新任务项其他内容即可。⑥ Modify the status of the task item. When performing continuous code integration, if the status of the task item is not in the "Processing" state, you need to update the task item status to "In Processing". If the task item status is already in the "Processing" state, then The status of the task item does not need to be updated, only other contents of the task item can be updated.
具体地,在更新任务项状态为“处理中”状态时,需要更新的任务项内容如下表所示:Specifically, when updating the status of a task item to "Processing", the content of the task item that needs to be updated is as shown in the following table:
同时,任务项状态已处于“处理中”状态时,任务项的更新内容如下表所示:At the same time, when the status of the task item is already in the "Processing" state, the updated content of the task item is as shown in the following table:
5)、持续部署与任务项联动说明5) Instructions on linkage between continuous deployment and task items
图3为本申请实施例提供的一种应用场景下,持续部署与软件研发项目管理系统联动流程图,此处的软件研发项目管理系统的联动也即与任务项的联动,由图3可以看出,持续部署与任务项联动的详细过程如下:Figure 3 is a flow chart of the linkage between continuous deployment and the software R&D project management system in an application scenario provided by the embodiment of the present application. The linkage of the software R&D project management system here is also the linkage with the task items. It can be seen from Figure 3 The detailed process of linkage between continuous deployment and task items is as follows:
①集成测试,在任务项的开发内容完成持续集成测试后,表明可以进行生产环境的持续部署了;① Integration testing. After the continuous integration testing of the development content of the task item is completed, it indicates that the continuous deployment of the production environment can be carried out;
②部署,持续部署流程是基于持续集成的流程,部署过程在持续集成的基础上进行的。将基于任务项内容的开发代码部署到生产环境后,表明任务项已经完成。②Deployment, the continuous deployment process is based on the continuous integration process, and the deployment process is carried out on the basis of continuous integration. After the development code based on the content of the task item is deployed to the production environment, it indicates that the task item has been completed.
③检查任务项状态,部署代码时,需要检查一下当前任务项的状态是否为“已完成”状态;③ Check the status of the task item. When deploying code, you need to check whether the status of the current task item is "Completed";
④修改任务项状态,代码完成部署后,任务项的状态如果未处于“已完成”状态,需要将任务项状态更新为“已完成”,如果任务项状态已经处于“已完成”状态,则任务项状态不需要更新,只更新任务项其他内容即可。④ Modify the status of the task item. After the code is deployed, if the status of the task item is not in the "Completed" status, you need to update the status of the task item to "Completed". If the status of the task item is already in the "Completed" status, the task The item status does not need to be updated, only other content of the task item can be updated.
具体地,在更新任务项状态为“已完成”状态时,需要更新的任务项内容如下表所示:Specifically, when updating the status of a task item to "Completed", the content of the task item that needs to be updated is as shown in the following table:
同时,任务项状态已处于“已完成”状态时,任务项更新内容如下表所示:At the same time, when the task item status is already in the "Completed" state, the task item update content is as shown in the following table:
至此,完成开发运维平台的持续集成和持续部署功能模块与软件研发项目管理功能模块进行的联动,由此可以保证任务项状态的及时与准确更新。At this point, the linkage between the continuous integration and continuous deployment functional modules of the development and operation platform and the software R&D project management functional module has been completed, thus ensuring timely and accurate updates of the status of task items.
基于同样的发明构思,本申请实施例还提供了一种软件研发项目的管理设备,其结构如图4所示。Based on the same inventive concept, embodiments of the present application also provide a management device for software research and development projects, the structure of which is shown in Figure 4.
图4为本申请实施例提供的一种软件研发项目的管理设备的结构示意图。如图4所示,本申请实施例中的软件研发项目的管理设备400具体包括:至少一个处理器401;以及,与至少一个处理器401通信连接(通过总线402连接)的存储器403;其中,存储器403存储有能够被至少一个处理器401执行的指令,以使至少一个处理器401能够执行如上述实施例所描述的一种软件研发项目的管理方法。Figure 4 is a schematic structural diagram of a management device for software research and development projects provided by an embodiment of the present application. As shown in Figure 4, the management device 400 of the software research and development project in the embodiment of the present application specifically includes: at least one processor 401; and a memory 403 communicatively connected (connected through a bus 402) to the at least one processor 401; wherein, The memory 403 stores instructions that can be executed by at least one processor 401, so that the at least one processor 401 can execute a software research and development project management method as described in the above embodiment.
在本申请实施例的一种或多种可能实现方式中,前述处理器用于执行,响应于任务项对应的开发代码提交到代码仓库,触发流水线进行所述开发代码的持续集成;检查所述任务项对应的任务项状态;在所述任务项状态不为处理中时,更新所述任务项状态与任务项更新内容;在所述开发代码的持续集成完成之后,触发流水线进行所述开发代码的持续部署;检查所述任务项对应的任务项状态;在所述任务项状态不为已完成时,更新所述任务项状态与任务项更新内容。In one or more possible implementations of the embodiments of this application, the aforementioned processor is used to execute, in response to the development code corresponding to the task item being submitted to the code warehouse, trigger the pipeline to perform continuous integration of the development code; check the task The task item status corresponding to the item; when the task item status is not processing, update the task item status and task item update content; after the continuous integration of the development code is completed, trigger the pipeline to perform the development code Continuous deployment; check the task item status corresponding to the task item; when the task item status is not completed, update the task item status and task item update content.
除此之外,本申请实施例还提供了一种非易失性计算机存储介质,其上存储有计算机可执行指令,所述计算机可执行指令被设置为执行如上述的一种软件研发项目的管理方法。In addition, embodiments of the present application also provide a non-volatile computer storage medium on which computer-executable instructions are stored, and the computer-executable instructions are configured to execute a software research and development project as described above. management methods.
在本申请实施例的一种或多种可能实现方式中,前述计算机可执行指令被设置为,响应于任务项对应的开发代码提交到代码仓库,触发流水线进行所述开发代码的持续集成;检查所述任务项对应的任务项状态;在所述任务项状态不为处理中时,更新所述任务项状态与任务项更新内容;在所述开发代码的持续集成完成之后,触发流水线进行所述开发代码的持续部署;检查所述任务项对应的任务项状态;在所述任务项状态不为已完成时,更新所述任务项状态与任务项更新内容。In one or more possible implementations of the embodiments of this application, the aforementioned computer-executable instructions are configured to trigger the pipeline to perform continuous integration of the development code in response to the submission of the development code corresponding to the task item to the code warehouse; check The task item status corresponding to the task item; when the task item status is not processing, update the task item status and task item update content; after the continuous integration of the development code is completed, trigger the pipeline to perform the Continuous deployment of development code; check the task item status corresponding to the task item; when the task item status is not completed, update the task item status and task item update content.
本领域内的技术人员应明白,本说明书实施例可提供为方法、系统、或计算机程序产品。因此,本说明书实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that embodiments of the present description may be provided as methods, systems, or computer program products. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The specification is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in one process or multiple processes of the flowchart and/or one block or multiple blocks of the block diagram.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements, but also includes Other elements are not expressly listed or are inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes the stated element.
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。This specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present description may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through communications networks. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、设备、非易失性计算机存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner. The same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on its differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the descriptions are relatively simple. For relevant details, please refer to the partial description of the method embodiments.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desired results. Additionally, the processes depicted in the figures do not necessarily require the specific order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain implementations.
以上所述仅为本说明书的一个或多个实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书的一个或多个实施例可以有各种更改和变化。凡在本说明书的一个或多个实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书的权利要求范围之内。The above description is only one or more embodiments of this specification, and is not intended to limit this specification. Various modifications and variations may occur to one or more embodiments of this specification to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of this specification shall be included in the scope of the claims of this specification.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310922046.8A CN117193794A (en) | 2023-07-25 | 2023-07-25 | Management method, equipment and medium for software research and development project |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310922046.8A CN117193794A (en) | 2023-07-25 | 2023-07-25 | Management method, equipment and medium for software research and development project |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117193794A true CN117193794A (en) | 2023-12-08 |
Family
ID=89000574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310922046.8A Pending CN117193794A (en) | 2023-07-25 | 2023-07-25 | Management method, equipment and medium for software research and development project |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117193794A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113703730A (en) * | 2021-08-30 | 2021-11-26 | 平安普惠企业管理有限公司 | Continuous integration method and device, computer equipment and storage medium |
CN116820427A (en) * | 2023-06-29 | 2023-09-29 | 浪潮通用软件有限公司 | Software research and development project management method, device and medium |
-
2023
- 2023-07-25 CN CN202310922046.8A patent/CN117193794A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113703730A (en) * | 2021-08-30 | 2021-11-26 | 平安普惠企业管理有限公司 | Continuous integration method and device, computer equipment and storage medium |
CN116820427A (en) * | 2023-06-29 | 2023-09-29 | 浪潮通用软件有限公司 | Software research and development project management method, device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110245088B (en) | Jenkins-based automatic defect verification system and verification method | |
US11243516B2 (en) | Edge devices and associated networks utilising microservices | |
US20210232498A1 (en) | Method for testing edge computing, device, and readable storage medium | |
CN108776643B (en) | Target code merging control method and system based on version control process | |
US20180253296A1 (en) | Software kit release management | |
CN108427641A (en) | A kind of multi-task scheduling automated testing method and system based on Docker containers | |
JP2010231782A (en) | Method and system for function automation | |
CN111897566A (en) | Software development continuous integration method, device, equipment and medium | |
WO2017000429A1 (en) | Software automation test method and device | |
CN105138386A (en) | Logic design verification continuous integration platform based on Jenkins and vManager | |
US12158740B2 (en) | Information processing device, information processing method, recording medium, and method of manufacturing product | |
CN115904933A (en) | Code warehouse management method and device, electronic equipment and storage medium | |
CN117008958A (en) | GitOps-based OTA cloud continuous delivery method, system, equipment and storage medium | |
CN111611157B (en) | GMS continuous integration builds automated testing methods and systems | |
CN117111907A (en) | a software development system | |
CN117632146A (en) | Side cloud collaborative deployment reconstruction method based on micro-service agile deployment | |
EP3734379A1 (en) | Method and system for generating control programs in a cloud computing environment | |
CN114338363A (en) | Continuous integration method, device, equipment and storage medium | |
CN110764785B (en) | Power industry cloud platform tool chain and cloud platform operation and maintenance method based on open source components | |
Bhardwaj et al. | Pipeline-Generated Continuous Integration and Deployment Method For Agile Software Development | |
CN117193794A (en) | Management method, equipment and medium for software research and development project | |
CN117891459A (en) | A DevSecOps solution for IaaS layer software supporting multiple architectures | |
CN116820427A (en) | Software research and development project management method, device and medium | |
CN116431627A (en) | Electronic equipment database table generation method, system, equipment and medium | |
CN117370146A (en) | Automatic test method, device, equipment and storage medium |
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 | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 250101 Inspur science and Technology Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province Applicant after: Shandong Inspur aigou cloud Chain Information Technology Co.,Ltd. Applicant after: Shandong Inspur Smart Supply Chain Technology Co.,Ltd. Applicant after: Inspur Digital Cloud Chain (Yunnan) Supply Chain Technology Co.,Ltd. Applicant after: Shandong Inspur Emergency Technology Co.,Ltd. Address before: 250101 Inspur science and Technology Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province Applicant before: Shandong Inspur aigou cloud Chain Information Technology Co.,Ltd. Country or region before: China Applicant before: Shandong Inspur Smart Supply Chain Technology Co.,Ltd. Applicant before: Inspur Digital Cloud Chain (Yunnan) Supply Chain Technology Co.,Ltd. Applicant before: Shandong Inspur Emergency Service Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20231208 |
|
RJ01 | Rejection of invention patent application after publication |