Method and device for creating Jenkins compiling task

A technology for task and configuration information, applied in code compilation, program code conversion, software deployment, etc., can solve problems such as manual maintenance alone, untimely, passive compilation, etc.

Pending Publication Date: 2022-01-28
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method, device, electronic device, and storage medium for creating a Jenkins compilation task in order to overcome the defects that the creation of Jenkins compilation tasks in the prior art relies solely on manual maintenance, and the compilation is relatively passive and untimely.

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for creating Jenkins compiling task
  • Method and device for creating Jenkins compiling task
  • Method and device for creating Jenkins compiling task

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.

[0043] For a large-scale project that includes multiple code repositories, starting from the development phase of the project code, it is necessary to establish a Jenkins compilation task to continuously verify the work results of the development engineers. The creation and update of compilation tasks in Jenkins is very tricky, often involving as many configuration items as there are code repositories, and these configuration items will change frequently over time. For example, for project A, its code is stored in multiple code warehouses. In order to compile, the project manager PM (or developer) must configure the warehouse address of each code warehouse to correctly obtain the downloaded code. Multi-warehouse configuration requires The local address of each sub-warehouse relative to the parent warehouse, plus the external l...

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

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for creating a Jenkins compiling task, electronic equipment and a storage medium. The creating method comprises the steps of determining whether external attributes of each code warehouse are changed or not; under the condition of determining that the external attributes of the at least one code warehouse are changed, determining that the structure of a project code is changed; and updating source code management configuration information according to the external attributes, wherein the updated source code management configuration information is used for creating the compiling task, and a warehouse address is recorded in the source code management configuration information. Therefore, when it is determined that the external attributes of the code warehouse change, the source code management configuration information is automatically updated, so the compiling task created based on the updated source code management configuration information can obtain the project code of a correct version, and the project code is effectively compiled in time.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a method, device, electronic equipment and storage medium for creating a Jenkins compiling task. Background technique [0002] In the daily work of the current IT industry, software compilation and deployment are important components of software development, and software compilation and deployment often require a lot of time to process. Jenkins is an open source continuous integration (CI) tool that provides a friendly operation interface. It is mainly used for continuous and automatic construction / testing of software projects and monitoring the operation of external tasks. However, at present, the creation of Jenkins compilation tasks relies solely on human maintenance, and the compilation is relatively passive and untimely. It is often necessary to locate and update when something goes wrong, which consumes a lot of manpower. Contents of the invention [0003] T...

Claims

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/41G06F8/60
CPCG06F8/44G06F8/60
Inventor 刘明见庄劼韩俊波
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products