Supercharge Your Innovation With Domain-Expert AI Agents!

Maintenance method of Jenkins software, storage medium, electronic device and system

A technology for maintaining systems and software, applied in software maintenance/management, file system, file/folder operations, etc., can solve problems such as errors, time-consuming and low efficiency

Inactive Publication Date: 2019-01-15
WUHAN DOUYU NETWORK TECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because it is manual processing, this work needs to be carried out regularly by a dedicated person, and it is necessary to manually identify which jobs are discarded, and the corresponding Workspace folders can be deleted, and which ones cannot be deleted, which is time-consuming and inefficient, and there is a risk of error

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
  • Maintenance method of Jenkins software, storage medium, electronic device and system
  • Maintenance method of Jenkins software, storage medium, electronic device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0027] see figure 1 As shown, the embodiment of the present invention provides a maintenance method of Jenkins software, which is used for the management of the Job folder and the Workspace folder in the Jenkins software, and the Job folder and the Workspace folder are in one-to-one correspondence and the name of the Workspace folder corresponds to the name of the Workspace folder. The corresponding Job folder names are all named after the Job name:

[0028] S1. Scan all Job folders and all Workspace folders to form a set of Job folder names and a set of Workspace folder names.

[0029] a. Scan the Jobs directory Jobs_Dir. There are multiple Job folders under the Jobs directory. All Job information is stored in the form of folders under the Job folder. Each Job corresponds to a folder, and the folder name is the Job name.

[0030] Use the ls...

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 maintenance method of Jenkins software, a storage medium, an electronic device and a system, which relate to the technical field of software maintenance. The method comprisesthe steps of obtaining a Job folder name set and a Workspace folder name set; judging whether each Workspace folder name in the Workspace folder collection has a corresponding Job folder name in theJob folder set; extracting Job names from Workspace folder names without corresponding Job folder names to form an invalid Job name set; using the invalid Job names to find the paths of correspondingWorkspace folders, and deleting the Workspace folders corresponding to invalid Job names. Thus, the method can automatically delete the Workspace folder corresponding to invalid Job.

Description

technical field [0001] The invention relates to the technical field of software maintenance, in particular to a Jenkins software maintenance method, storage medium, electronic equipment and system. Background technique [0002] Jenkins software is a software for automatic construction, testing, packaging and installation package distribution. It is currently one of the most popular continuous integration tools and is widely used in today's software development field. In Jenkins, each build / test / package task corresponds to a Job, which is a collection of software configuration description files. Each Job will read the source code configuration from its own configuration file and download the relevant source code to the corresponding Workspace folder when running, that is, each Job corresponds to a Workspace folder. All Job information is stored under the Job folder in the form of folders, and the Job folder is named after the job name; all Job source codes are stored under 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/70G06F16/16
CPCG06F8/70
Inventor 黄露洋陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More