CN107608710A - Software project structure task collocation method and device based on Jenkins instruments - Google Patents

Software project structure task collocation method and device based on Jenkins instruments Download PDF

Info

Publication number
CN107608710A
CN107608710A CN201710773700.8A CN201710773700A CN107608710A CN 107608710 A CN107608710 A CN 107608710A CN 201710773700 A CN201710773700 A CN 201710773700A CN 107608710 A CN107608710 A CN 107608710A
Authority
CN
China
Prior art keywords
task
jenkins
target
software
units
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.)
Granted
Application number
CN201710773700.8A
Other languages
Chinese (zh)
Other versions
CN107608710B (en
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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710773700.8A priority Critical patent/CN107608710B/en
Publication of CN107608710A publication Critical patent/CN107608710A/en
Priority to PCT/CN2018/102918 priority patent/WO2019042311A1/en
Application granted granted Critical
Publication of CN107608710B publication Critical patent/CN107608710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides the structure task collocation method of the software project based on Jenkins instruments and device, this method writes the structure task configuration file of software project according to developer, the system resource of operation structure required by task can be automatically configured according to the structure task configuration file (i.e., system environments), and the system resource is mounted on Jenkins main frames automatically.And the dependence in structure task configuration file, software and Jenkins plug-in units that structure task is relied on are automatically configured, finally, the task definition in structure task configuration file automatically creates Jenkins structure tasks.User need to only safeguard structure task configuration file, and other processes parse the configuration and establishment that structure task configuration file carries out structure task automatically by system automatically, are operated without user on graphic interface, simple to operate, efficiency high;Moreover, user only needs to safeguard structure task configuration file, maintenance cost is low.

Description

Software project structure task collocation method and device based on Jenkins instruments
Technical field
The present invention relates to field of computer technology, more particularly to a kind of software project structure based on Jenkins instruments to appoint Business collocation method and device.
Background technology
Continuous integrating (Continuous integration, CI) be exactly in the software project development stage, continually will more Fresh code is integrated into main-line program, specifically, after developer submits the code of renewal point, is built (that is, compile at once Packing), the first round test, according to test result determine renewal point code and trunk code can correctly integrate, from And help developer quickly to find mistake, enable product iteratively faster, while ensure the high quality of product.Jenkins is One of conventional the build tool.
Current Jenkins structure task schemes, create a structure requirement of engineering following steps:
1) structure engineering (on condition that existing Jenkins master) is created in Jenkins master;
2) the Jenkins plug-in units that structure task relies on are installed;
3) virtual machine, container or the bare machine of the designated mirror of application structure required by task;
4) the necessary software of structure task is installed on virtual machine, container or bare machine;
5) virtual machine, container or bare machine are mounted on Jenkins master;
6) structure task is created, construction step is configured, the main node for including configuration structure task, writes structure script, Add construction step;
If 7) include multiple structure tasks in a soft project, a software project again include multiple engineerings, it is necessary to Repeat above step 1)-step 6).
The existing Jenkins structures each step of task scheme is required for developer manually in the graphical of Jenkins Configured on interface, it is cumbersome, efficiency is low;Moreover, software project quantity is more, maintenance difficulties are bigger.
Jenkins is backed up or migration scheme has the problem of same, it is necessary to which developer exists with Jenkins structure tasks Manual configuration needs that what is backed up on Jenkins graphic interface.
The content of the invention
In view of this, it is an object of the invention to provide a kind of software project structure task based on Jenkins instruments to match somebody with somebody Method and device is put, when building task, backup and migration to solve existing Jenkins instrument creations, it is necessary to scheme in Jenkins The technical problem of manual configuration is carried out on shape interface, its technical scheme is as follows:
To include in a first aspect, this application provides a kind of soft project collocation method based on Jenkins instruments:Work as monitoring To the code storage of target software project code change when, obtain corresponding to the target software project target structure task and match somebody with somebody Put file;The target structure task configuration file is parsed to obtain the goal systems resource of the structure required by task, rely on and close System and task definition, the goal systems resource include:Machine type that the structure task is relied on, machine specifications and institute according to Rely operating system, the machine type includes virtual machine, container, bare machine or physical machine;The dependence is described for illustrating The software and Jenkins plug-in units that structure task is relied on;The task definition is used for the construction step for defining the structure task And the triggered time;The system resource that configuration matches with the goal systems resource;According to the dependence, in current system Target software and target Jenkins plug-in units that the structure task is relied on are configured in environment;Generated according to the task definition Structure task.
The soft project collocation method based on Jenkins instruments that first aspect provides, writes soft according to developer The structure task configuration file of part project, the system resource (that is, system environments) of operation structure required by task is automatically configured, and certainly It is dynamic that the system resource is mounted on Jenkins main frames.And the dependence in structure task configuration file, automatically The software and Jenkins plug-in units that configuration structure task is relied on, finally, automatically create Jenkins structure tasks.Whole process is equal Configuration and establishment that structure task configuration file is automatically performed structure task are parsed automatically by system, without user on graphical boundary Operated on face, simple to operate, efficiency high.
It is described to configure the system to match with the goal systems resource in a kind of possible implementation of first aspect Resource, including:Search and whether there is the goal systems resource in the current system environment;If the current system environment In the goal systems resource be present, then perform according to the dependence, the structure configured in current system environment and is appointed The step of business relied on software and Jenkins plug-in units;If the goal systems is not present in the current system environment to provide Source, then the goal systems resource is created, then perform according to the dependence, the structure is configured in current system environment The step of software and Jenkins plug-in units that the task of building is relied on.
The soft project collocation method based on Jenkins instruments that this implementation provides, it can appoint automatically according to structure The goal systems resource specified in business configuration file, searches or creates the system resource to match with the goal systems resource.
It is described according to the dependence in the alternatively possible implementation of first aspect, in current system environment The software and Jenkins plug-in units that the middle configuration structure task is relied on, including:Search and whether be provided with current operation system The target software;If not installing the target software in the current operation system, task is built according to the target The download address of the target software included in configuration file obtains the target software, and installs the target software;Such as The target software is installed in current operation system described in fruit, then continues to search for whether being provided with the Jenkins instruments The target Jenkins plug-in units;If not installing the target Jenkins plug-in units in the Jenkins instruments, according to The download address of the target Jenkins plug-in units included in target structure task configuration file obtains the target Jenkins plug-in units, And the target Jenkins plug-in units are installed;If the target Jenkins plug-in units are installed, really in the Jenkins instruments The target software and the target Jenkins plug-in units are installed in the fixed current system environment.
The soft project collocation method based on Jenkins instruments that this implementation provides, can match somebody with somebody according to structure task The target software and target Jenkins plug-in units that fixed structure task of putting document is relied on, automatic installation targets software and mesh Jenkins is marked, i.e., dependence is solved according to structure task configuration file automatically.
It is described that structure task is generated according to the task definition in another possible implementation of first aspect, Including:Created according to the task definition or update the structure task;The goal systems resource is mounted to Jenkins master On machine, to run the structure task.
The soft project collocation method based on Jenkins instruments that this implementation provides, it can appoint automatically according to structure Task definition in business configuration file automatically creates or updated structure task.
In another possible implementation of first aspect, in addition to:Monitor the operation shape of the Jenkins instruments State, and, monitor the running status of the current operation system;When the running status of the current operation system has exception When, produce warning information;When the running status of the Jenkins instruments is that the goal systems resource goes offline, again by institute Goal systems resource is stated to be mounted on Jenkins main frames.
The soft project collocation method based on Jenkins instruments that this implementation provides, Jenkins instruments are monitored in real time Running status, and the running status of current operation system, and after abnormal state is monitored, automatically generate warning information, To provide user's timely processing exception.And when the goal systems resource of the current structure task of operation goes offline, again by the target System resource is mounted on Jenkins main frames.
In another possible implementation of first aspect, in addition to:It is described that structure Task Switching, which will have been created, Initial construction task configuration file corresponding to structure task is created, the initial construction task configuration file includes described created Task definition corresponding to task is built, and, system resource and software resource in current system environment.
Second aspect, present invention also provides a kind of soft project configuration device based on Jenkins instruments, including:The One acquiring unit, for when monitoring the code change of code storage of target software project, obtaining the target software item Target corresponding to mesh builds task configuration file;Resolution unit, institute is obtained for parsing the target structure task configuration file Goal systems resource, dependence and the task definition of structure required by task are stated, the goal systems resource includes:The structure Machine type, machine specifications and the relied on operating system that task is relied on, the machine type include virtual machine, container, naked Machine or physical machine;The dependence is used to illustrate software and Jenkins plug-in units that the structure task is relied on;The task Define the construction step for defining the structure task and triggered time;First dispensing unit, for configuring and the target The system resource that system resource matches;Second dispensing unit, for according to the dependence, matching somebody with somebody in current system environment Put target software and target Jenkins plug-in units that the structure task is relied on;Task generation unit, for according to the task Definition generation structure task.
In a kind of possible implementation of second aspect, first dispensing unit includes:First searches subelement, It whether there is the goal systems resource in current system environment for searching;When the mesh being present in the current system environment During mark system resource, performed by second dispensing unit according to the dependence, in current system environment described in configuration The software and Jenkins plug-in units that structure task is relied on;Subelement is created, for when institute is not present in the current system environment Goal systems resource is stated, then creates the goal systems resource.
In the alternatively possible implementation of second aspect, second dispensing unit includes:Second searches son list Member, for searching the target software that the structure task whether is provided with current operation system and is relied on;First obtains son list Member, for when not installing the target software in the current operation system, task configuration file to be built according to the target In the download address of the target software that includes obtain the target software, and the target software is installed;3rd searches son Unit, it is in the Jenkins instruments for when being provided with the target software in the current operation system, continuing to search for It is no that the target Jenkins plug-in units are installed;Second obtains subelement, for described when not installed in the Jenkins instruments During target Jenkins plug-in units, the download of the target Jenkins plug-in units included in task configuration file is built according to the target Location obtains the target Jenkins plug-in units, and installs the target Jenkins plug-in units;First determination subelement, for when described When the target Jenkins plug-in units are installed in Jenkins instruments, determine that the target is installed in the current system environment Software and target Jenkins plug-in units.
In another possible implementation of second aspect, the task generation unit, including:Task generation is single Member, for being created according to the task definition or updating the structure task;Carry subelement, for the goal systems to be provided Source is mounted on Jenkins main frames, to run the structure task.
In another possible implementation of second aspect, in addition to:Monitoring unit, it is described for monitoring The running status of Jenkins instruments, and, monitor the running status of the current operation system;Alarm unit, for when described When the running status of current operation system has abnormal, warning information is produced;Again carry unit, for as the Jenkins When the running status of instrument is that the goal systems resource goes offline, the goal systems resource is mounted to Jenkins master again On machine.
In another possible implementation of second aspect, in addition to:Configuration file generation unit, for that will create Construction builds Task Switching and has created initial construction task configuration file corresponding to structure task, the initial construction task to be described Configuration file has created task definition corresponding to task described in including, and, system resource and software in current system environment Resource.
The third aspect, the application also provide a kind of computer equipment, and the computer equipment includes processor and memory, Have program stored therein instruction in the memory, and the processor realizes first party by performing the store instruction in the memory Method described in the possible implementation of any one of face.
Fourth aspect, present invention also provides a kind of computer-readable recording medium, the computer-readable recording medium In be stored with instruction, when run on a computer so that computer perform above-mentioned first aspect any one is possible Method described in implementation.
5th aspect, present invention also provides a kind of computer program product for including instruction, when it is transported on computers During row so that computer performs the method described in any one possible implementation of above-mentioned first aspect.
The structure task collocation method of the software project based on Jenkins instruments that the embodiment of the present application provides, by exploit person Member writes the structure task configuration file of software project, then, operation structure is automatically configured according to the structure task configuration file The system resource (that is, system environments) of required by task, and the system resource is mounted on Jenkins main frames automatically.And root According to the dependence in structure task configuration file, software and Jenkins plug-in units that structure task is relied on are automatically configured, most Afterwards, the task definition in structure task configuration file automatically creates Jenkins structure tasks.User need to only safeguard that structure is appointed Business configuration file, other processes parse configuration and the wound that structure task configuration file carries out structure task automatically by system automatically Build, operated without user on graphic interface, simple to operate, efficiency high;Moreover, user only needs to safeguard structure task Configuration file, maintenance cost are low.
Brief description of the drawings
Fig. 1 is a kind of framework schematic diagram of Jenkins systems of the embodiment of the present application;
Fig. 2 is a kind of flow chart of the software project structure task collocation method based on Jenkins of the embodiment of the present application;
Fig. 3 is a kind of block diagram of the software project structure task configuration device based on Jenkins of the embodiment of the present application;
Fig. 4 is the block diagram of software project structure task configuration device of the embodiment of the present application another kind based on Jenkins;
Fig. 5 is the block diagram of another soft project configuration device based on Jenkins instruments of the embodiment of the present application;
Fig. 6 is a kind of block diagram of computer equipment of the embodiment of the present application.
Embodiment
Traditional Jenkins structure each steps of task scheme are required for developer manually in the graphical of Jenkins Configured on interface, it is cumbersome, efficiency is low.The structure task of the software project based on Jenkins instruments that the application provides Collocation method, it is that software project writes corresponding structure task configuration file by developer, then, Jenkins instruments can The system resource that the structure task relied on voluntarily is configured according to the structure task configuration file;Text is configured according to the structure task Part voluntarily installs the operating system software and Jenkins plug-in units that structure task is relied on, finally, according to structure task configuration file In task definition automatically create structure task.The establishment process of structure task is all automatically performed, and user need not be in figure Change and carry out any operation, simple to operate, efficiency high on interface.Moreover, user only needs to safeguard structure task configuration file, safeguard Cost is low.
Fig. 1 is referred to, shows a kind of framework schematic diagram of Jenkins systems of the embodiment of the present application.As shown in figure 1, should System includes:Code storage, management tool, monitoring alarm service, resource management service, dependence management service, engineering duty pipe Reason service, engineering import service and Jenkins clusters;
Jenkins clusters include multiple Jenkins master and multiple Jenkins slave.Jenkins master are used In managing each Jenkins slave, each Jenkins slave are used for the establishment for performing structure task and operation work.
Wherein, monitoring alarm service, resource management service, dependence management service, engineering duty management service, engineering import The software service title that service is for convenience and defined.Service can not also be defined in the other embodiment of the application Title.
Code storage is used for the software item destination code for storing developer's submission, and structure is appointed corresponding to software project Business configuration file.The core of the application is the structure task configuration file of software project, and structure task configuration file defines structure Build system resource, dependence and the task definition of engineering dependence.
The machine type that the system resource that engineering relies on includes relying on is built, for example, virtual machine, container, bare machine, physics Machine;Mirror image title or Container Name, for example, centos7.1, suse 11sp3 or customized mirror image etc..For example, The specification of machine can be:High IO, computation-intensive, 4U8G (that is, it is 8G that CPU, which has 4 kernels, internal memory) etc..Mirror herein Seem to refer to operating system mirror image.
Dependence, refer to operating system software that structure task relied on and Jenkins plug-in units, it is necessary to define respectively soft The title of part and version number, the title of Jenkins plug-in units and version number.
Task definition is the core of structure task, the step of defining structure task, triggered time etc..
Code change situation in the main responsible monitor code warehouse of monitoring alarm service, when the code of code storage has change During change, it is injected into task configuration file is built corresponding to the software project to change in Jenkins, creates or renewal is built Task.
Monitoring alarm service also monitors the operation shape of the running status of structure task and Jenkins current system in real time State, once find that the running status of structure task, the Disk State of current system, CPU state, I/O state will produce alarm, If it find that the Jenkins slave nodes of operation structure task go offline, the resource management service of management tool is notified to hang again Carry Jenkins slave nodes.
Resource management service is mainly responsible for creating the machine that user runs structure required by task.
Rely on the dependence that management service is mainly responsible in structure task configuration file, installation structure task institute according to Bad software and Jenkins plug-in units.
Engineering duty management service is mainly responsible for the machine needed for task run being mounted to Jenkins master nodes On, and the engineering built in task configuration file is injected into Jenkins, generate Jenkins tasks.
It is structure task configuration file that engineering, which imports service mainly by existing Jenkins Task Switchings in system, work Journey, which imports service, can identify the operating system software installed in current system and Jenkins plug-in units, and by Jenkins Structure task step is converted into the task definition in structure task configuration file.This is served by following scene:Utilize Traditional Jenkins instrument creations structure task, then, after the task of structure to be imported to the improvement that the application provides In Jenkins.
Fig. 2 is referred to, shows a kind of software project structure task configuration based on Jenkins instruments of the embodiment of the present application The flow chart of method, the Jenkins system architectures shown in the present embodiment combination Fig. 1 describe the structure task of software project in detail certainly Dynamicization establishment process.
S110, monitoring alarm service monitor code storage in structure task configuration file corresponding to target software project whether Change;If it is, perform S120;If it is not, then terminate current process.
Target software project refers to any one software project.The software code and structure of software project are included in code storage Task configuration file is built, when structure task configuration file changes, just triggering performs the present processes flow.
The developer of software project oneself writes structure task configuration file according to the demand of software project, in this document Specify the system resource relied on, dependence and the task definition for building task.Then, structure task configuration file storage is arrived In code storage.
When user is incorporated into new code or structure task configuration file in code storage, monitoring alarm service can be supervised Measure this and be incorporated into event.Wherein, monitoring alarm service can be detected in code storage according to prefixed time interval (for example, 30s) Code whether change.
S120, management tool obtain target structure task configuration file corresponding to target software project.
After monitoring alarm service monitoring to code storage changes, software code is downloaded in notice management and structure task is matched somebody with somebody File is put, and judges the part to change.
In a kind of implementation of the application, the whole that management tool downloads the target software project from server is soft Part code and structure task configuration file, and the software code with being locally stored and structure task configuration file are compared respectively Compared with finally giving the part changed.
In another implementation of the application, management tool can ask the portion of change by interface to server Point, and then can be locally downloading by the part to change.
For example, structure task configuration file changes including following two situations:Corresponding to newly-increased target software project Structure task configuration file, or structure task configuration file corresponding to renewal target software project.
S130, management tool build task configuration file according to target newest in code storage, and parsing is obtained relying on and closed System, goal systems resource and task definition.Goal systems resource is sent to resource management service by management tool, by dependence Dependence management service is sent to, task definition is sent to engineering duty management service.
S140, resource management service, which is checked in current system, whether there is goal systems resource, if it does not exist, then performing S150;If it is present perform S160.
In one embodiment of the application, resource management service is first looked in current system environment with the presence or absence of specified Goal systems resource, if there is specified specification, the system resource of designated mirror, also whether further to check these resources It is enough (to judge the specified specification in system, the system resource of designated mirror whether with building the mesh specified in task configuration file Mark system resource matches, for example, the capacity of designated disk is 100G, then judges whether available resource is not less than in system 100G), it is if not enough, it is determined that in the absence of goal systems resource.If specification, the system resource of designated mirror is specified to reach With, it is determined that goal systems resource in current system environment be present.
S150, resource management service create the goal systems resource.
For example, automatically creating specified specification, the virtual machine of designated mirror, and the virtual machine of establishment is mounted to Jenkins On main frame.
The system resource specified in structure task configuration file includes:Required machine type (for example, virtual machine, container, Bare machine, physical machine), the operating system that is relied on, machine specifications etc..
It should be noted that the process that two steps of S140 and S150 are realized is configured and matched with goal systems resource System resource process.
It is exactly the Jenkins slave nodes in Jenkins clusters to create the goal systems resource completed, in other words, this Goal systems resource in text is exactly Jenkins slave nodes.
S160, management service is relied on according to dependence, checks in current operation system whether be mounted with structure task institute The target software of dependence;If installed, S180 is performed;If do not installed, S170 is performed;
Current system environment includes operating system and Jenkins instruments, wherein, detect and whether configured in current system environment There are target software and the process of target Jenkins plug-in units to include:Whether target software is installed in detection current operation system, with And whether target Jenkins plug-in units are installed in detection Jenkins instruments.
S170, rely on management service and obtained according to the download address of the target software included in target structure task configuration file The target software is taken, and the target software is installed.
Jenkins systematic differences scene is different, and corresponding download address is also different;For example, Jenkins systems are arranged on certain In individual LAN, then the software that Jenkins is relied on is corresponded into official's software storage from the software and downloaded in the LAN, and And the download address is that the path of the target software is deposited in the LAN.
For example, the system where Jenkins systems can be directly connected to official's software storage of software, such a application scenarios Under, the download address of target software is exactly the link of official's software storage corresponding to the target software.
S180, rely in the current Jenkins instruments of management service inspection whether target Jenkins plug-in units are installed;If Do not install, then perform S190;If installed, S200 is performed.
This step is whether to be provided with target Jenkins plug-in units in detection Jenkins instruments.
S190, with relying on download of the management service according to the Jenkins plug-in units included in target structure task configuration file Location obtains target Jenkins plug-in units, and installs target Jenkins plug-in units.
The process that S160~S190 is realized is according to the dependence, and structure task is configured in current system environment The target software and the process of target Jenkins plug-in units relied on.
Goal systems resource is mounted on Jenkins master by S200, engineering duty management service.
Goal systems resource is exactly the Jenkins slave nodes in Fig. 1 in fact, and goal systems resource is mounted to It is exactly the communication connection established between Jenkins slave nodes and Jenkins master nodes on Jenkins main frames.
In one embodiment of the application, just can immediately should after Jenkins slave nodes are created Jenkins slave nodes are mounted on Jenkins master;In another embodiment of the application, can create or Update structure task and then the Jenkins slave nodes for running the structure task are mounted on Jenkins master.
S210, the task definition that engineering management task is built according to target in task configuration file create structure task.
Task definition is injected into Jenkins by engineering management task, generates structure task, the process will not interrupt existing Business, i.e., need not turn off Jenkins.
The process that S200 and S210 are realized is to generate structure task process according to task definition.
Alternatively, the soft project collocation method based on Jenkins instruments that the present embodiment provides can also include following Step:
S220, monitoring alarm service monitoring Jenkins running status, and, monitor the operation shape of current operation system State;
The running status of current operation system includes Disk State, CPU state, I/O state etc..Jenkins running status Refer to the running status for running the Jenkins slave nodes of structure task.
Monitoring alarm service services the interface service provided by engineering management and monitors structure task and Jenkins in real time State.
S230, when the running status of the current operation system has abnormal, produce warning information.
Once the running status of discovery current operation system, Disk State, CPU state, I/O state have for monitoring alarm service Exception will produce warning information, and show the warning information to user on graphic interface;For example, disk size is less than pre- If value, CPU usage are abnormal higher than some setting value etc. higher than some preset value, IO occupancies.
S240, when the Jenkins slave nodes for running the structure task go offline, resource management service again should Jenkins slave nodes are mounted on Jenkins master.
After if monitoring alarm service monitoring goes offline to the Jenkins slave nodes of operation structure task, resource is notified Management service carry node again.
In addition, for the structure task created in traditional Jenkins instruments, the method that the application provides may be used also With according to the structure Task Switching that has created into corresponding initial construction task configuration file.Specifically, can be according to The structure task of establishment obtains corresponding task definition.And all softwares installed in current system environment are obtained, and, All Jenkins plug-in units installed in Jenkins instruments.User can compile on the basis of the initial construction task configuration file Write and created structure task configuration file final corresponding to structure task, so as to alleviate the negative of software developer Load.
The soft project collocation method based on Jenkins instruments that the present embodiment provides, software item is write by developer Purpose builds task configuration file, then, is according to what the structure task configuration file automatically configured operation structure required by task Resource of uniting (that is, system environments), and the system resource is mounted on Jenkins main frames automatically.And matched somebody with somebody according to structure task The dependence in file is put, software and Jenkins plug-in units that structure task is relied on is automatically configured, finally, automatically creates Jenkins builds task.Whole process parses structure task configuration file by system and is automatically performed matching somebody with somebody for structure task automatically Put and create, operated without user on graphic interface, simple to operate, efficiency high;Moreover, user only need to be according to oneself Requirement definition partial profiles related to oneself project is safeguarded, without being concerned about other extra things, reduce user and use With learning cost and maintenance cost.
Furthermore, it is necessary to explanation, the backup of structure task is exactly to back up structure task configuration file, it is only necessary to which backup has more The content of new portion, i.e. incremental backup.Then, it is exactly according to structure task configuration text according to the process of backup reconstruction structure task Part creates the process of structure task.
Structure task immigration is exactly that will build task immigration to another Jenkins slave node, and transition process is just It is the process that structure task is re-created according to structure task configuration file.
Thus it is clear that build the backup of task and transition process be exactly the task that builds establishment process it is identical, here is omitted.
The backup of structure task and transition process again without user on graphic interface it is manually operated, realize from Dynamicization backs up and migration.Moreover, backup and transition process need not turn off business, online backup and migration are realized.Structure is appointed After business moves to new operation node, new operation node can be mounted on Jenkins master automatically, efficiency high.
Corresponding to the above-mentioned soft project collocation method embodiment based on Jenkins instruments, present invention also provides base In the soft project configuration device embodiment of Jenkins instruments.
Fig. 3 is referred to, shows a kind of frame of the soft project configuration device based on Jenkins instruments of the embodiment of the present application Figure, the device is applied to be provided with the system of Jenkins instruments, as shown in figure 3, the device can include:First obtains list Member 310, resolution unit 320, the first dispensing unit 330, the second dispensing unit 340 and task generation unit 350.
First acquisition unit 310, for when monitoring the code change of code storage of target software project, obtaining mesh Mark target structure task configuration file corresponding to software project.
The developer of software project oneself writes structure task configuration file according to the demand of software project, in this document Specify the system resource relied on, dependence and the task definition for building task.Then, structure task configuration file storage is arrived In code storage.The device can detect whether the code in code storage changes according to prefixed time interval.
Resolution unit 320, the goal systems money of structure required by task is obtained for parsing target structure task configuration file Source, dependence and task definition.
The goal systems resource includes:Machine type that the structure task is relied on, machine specifications and rely on behaviour Make system, the machine type includes virtual machine, container, bare machine or physical machine.
The dependence is used to illustrate software and Jenkins plug-in units that the structure task is relied on.
The task definition is used for construction step and the triggered time for defining the structure task.
First dispensing unit 330, for configuring the system resource to match with goal systems resource.
In one embodiment of the application, first dispensing unit includes first and searches subelement and create subelement.
The first lookup subelement, whether there is goal systems resource for searching in current system environment;If current system Goal systems resource be present in system environment, then corresponding step is continued executing with by the second dispensing unit.
The establishment subelement, if for goal systems resource to be not present in current system environment, create goal systems money Source.
Second dispensing unit 340, for according to dependence, configuring what structure task was relied in current system environment Target software and target Jenkins plug-in units.
In one embodiment of the application, the second dispensing unit include second search subelement, first obtain subelement, 3rd searches subelement, the second acquisition subelement and the first determination subelement;
The second lookup subelement, for searching in current operation system whether be provided with target software.
The first acquisition subelement, for during non-installation targets software, being appointed in current operation system according to target structure The download address of the target software included in business configuration file obtains target software, and installation targets software.
3rd searches subelement, during for being provided with target software in current operation system, continues to search for Jenkins Whether target Jenkins plug-in units are installed in instrument.
This second obtains subelement, in current operation system during non-installation targets Jenkins plug-in units, according to target The download address of the target Jenkins plug-in units included in structure task configuration file obtains target Jenkins plug-in units, and installs mesh Mark Jenkins plug-in units.
First determination subelement, during for being provided with target Jenkins plug-in units in current operation system, it is determined that currently Target software and target Jenkins plug-in units are installed in system environments.
Task generation unit 350, for generating structure task according to task definition.
In one embodiment of the application, task generation unit includes task generation subelement and carry subelement;
The task generates subelement, for being created according to task definition or updating the structure task.
The carry subelement, for goal systems resource to be mounted into Jenkins main frames, appointed with running the structure Business.
Goal systems resource is exactly the Jenkins slave nodes in Fig. 1 in fact, and goal systems resource is mounted to It is exactly the communication connection established between Jenkins slave nodes and Jenkins master nodes on Jenkins main frames, so that Jenkins slave nodes run structure task.
The soft project configuration device based on Jenkins instruments that the present embodiment provides, software item is write by developer Purpose builds task configuration file, and Jenkins instruments can automatically configure operation structure according to the structure task configuration file and appoint System resource (that is, system environments) needed for business, and the system resource is mounted on Jenkins main frames automatically.And according to Dependence in structure task configuration file, software and Jenkins plug-in units that structure task is relied on are automatically configured, finally, Automatically create Jenkins structure tasks.Whole process parses structure task configuration file by system and is automatically performed structure automatically The configuration and establishment of task, operated without user on graphic interface, simple to operate, efficiency high;Moreover, user only needs According to the requirement definition of oneself partial profiles related to oneself project is safeguarded, without being concerned about other extra things, reduce User uses and learning cost and maintenance cost.
Fig. 4 is referred to, shows soft project configuration device of the embodiment of the present application another kind based on Jenkins instruments Block diagram, the device on the basis of embodiment illustrated in fig. 3, in addition to:Monitoring unit 410, alarm unit 420 and carry list again Member 430.
Monitoring unit 410, for monitoring the running status of Jenkins instruments, and, monitor the operation of current operation system State.
Alarm unit 420, for when the running status of the current operation system has abnormal, producing warning information.
Again carry unit 430, for when the running status of the Jenkins instruments is that goal systems resource goes offline, Again goal systems resource is mounted on Jenkins main frames.
The soft project configuration device based on Jenkins instruments that the present embodiment provides, can monitor Jenkins works in real time The running status of tool and operating system, when the running status of operating system occurs abnormal, warning information can be produced, and in figure Change and show the warning information to user on interface, so that user has found and handles exception in time.When the operation shape of Jenkins instruments When state is that the Jenkins slave nodes of the current structure task of operation go offline, the Jenkins slave nodes are mounted to again On Jenkins master, to continue to run with current structure task.
Fig. 5 is referred to, shows another soft project configuration device based on Jenkins instruments of the embodiment of the present application Block diagram, the device also include on the basis of embodiment illustrated in fig. 3:Configuration file generation unit 510.
Configuration file generation unit 510, it is corresponding initial construction task configuration for structure Task Switching will to have been created File.
The initial construction task configuration file has created task definition corresponding to task described in including, and, current system System resource and software resource in system environment.
The configuration file generation unit can obtain corresponding task definition according to the structure task created;And All softwares installed in current system environment are obtained, and, all Jenkins plug-in units installed in Jenkins instruments.User It can be write on the basis of the initial construction task configuration file and created structure final corresponding to structure task times Business configuration file, so as to alleviate the burden of software developer.
Corresponding to the above-mentioned soft project collocation method embodiment based on Jenkins instruments, present invention also provides one Kind computer equipment.
Refer to Fig. 6, show a kind of block diagram of computer equipment of the embodiment of the present application, the equipment can be server or Person's terminal, the equipment are provided with Jenkins tool software, as shown in fig. 6, the equipment includes processor 610 and storage Device 620;
Have program stored therein instruction in the memory 620, and the processor 610 is by performing the storage in memory 620 Following functions step is realized in instruction:
When monitoring the code change of code storage of target software project, obtain corresponding to the target software project Target builds task configuration file;
The target structure task configuration file is parsed to obtain the goal systems resource of the structure required by task, rely on and close System and task definition, the goal systems resource include:Machine type that the structure task is relied on, machine specifications and institute according to Rely operating system, the machine type includes virtual machine, container, bare machine or physical machine;The dependence is described for illustrating The software and Jenkins plug-in units that structure task is relied on;The task definition is used for the construction step for defining the structure task And the triggered time;
The system resource that configuration matches with the goal systems resource;
According to the dependence, target software and mesh that the structure task is relied on are configured in current system environment Mark Jenkins plug-in units;
Structure task is generated according to the task definition.
In a kind of possible implementation of the application, the configuration provides with the system that the goal systems resource matches Source, including:
Search and whether there is the goal systems resource in the current system environment;
If the goal systems resource in the current system environment be present, perform according to the dependence, The step of software and Jenkins plug-in units that the structure task is relied on are configured in current system environment;
If the goal systems resource is not present in the current system environment, the goal systems resource is created, Then perform according to the dependence, configured in current system environment software that the structure task relied on and The step of Jenkins plug-in units.
It is described according to the dependence in the alternatively possible implementation of the application, in current system environment Software and Jenkins plug-in units that the structure task is relied on are configured, including:
Search in current operation system and whether the target software is installed;
If not installing the target software in the current operation system, task configuration text is built according to the target The download address of the target software included in part obtains the target software, and installs the target software;
If being provided with the target software in the current operation system, continue to search in the Jenkins instruments Whether the target Jenkins plug-in units are installed;
If not installing the target Jenkins plug-in units in the Jenkins instruments, task is built according to the target The download address of the target Jenkins plug-in units included in configuration file obtains the target Jenkins plug-in units, and installs the mesh Mark Jenkins plug-in units;
If the target Jenkins plug-in units are installed in the Jenkins instruments, it is determined that the current system environment In the target software and the target Jenkins plug-in units are installed.
It is described that structure task is generated according to the task definition in the application in another possible implementation, including:
Created according to the task definition or update the structure task;
The goal systems resource is mounted on Jenkins main frames, to run the structure task.
In the application in another possible implementation, in addition to:
The running status of the Jenkins instruments is monitored, and, monitor the running status of the current operation system;
When the running status of the current operation system has abnormal, warning information is produced;
When the running status of the Jenkins instruments is that the goal systems resource goes offline, again by the target system System resource is mounted on Jenkins main frames.
In the alternatively possible implementation of the application, in addition to:
Structure Task Switching will have been created and created initial construction task configuration file corresponding to structure task, institute to be described State initial construction task configuration file and create task definition corresponding to task including described, and, in current system environment System resource and software resource.
The computer equipment that the present embodiment provides, the structure task configuration for the software project write according to software developer File, automatically configures the system resource (that is, system environments) of operation structure required by task, and is automatically mounted to the system resource On Jenkins main frames.And the dependence in structure task configuration file, automatically configure what structure task was relied on Software and Jenkins plug-in units, finally, the task definition in structure task configuration file automatically create Jenkins structures and appointed Business.User need to only safeguard structure task configuration file, and it is automatic that other processes parse structure task configuration file by system automatically The configuration and establishment of structure task are carried out, is operated without user on graphic interface, simple to operate, efficiency high;Moreover, User only needs to safeguard structure task configuration file, and maintenance cost is low.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its any combination real It is existing.When implemented in software, can realize in the form of a computer program product whole or in part.The computer program Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or Partly produce according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer-readable recording medium In, or the transmission from a computer-readable recording medium to another computer-readable recording medium, for example, the computer Instruction can from a web-site, computer, server or data center by wired (for example, coaxial cable, optical fiber, number Word user line (DSL)) or wireless (for example, infrared, wireless, microwave etc.) mode to another web-site, computer, server Or data center is transmitted.The computer-readable recording medium can be any usable medium that computer can access or Person is the data storage devices such as server, the data center integrated comprising one or more usable mediums.The usable medium can Be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or, semiconductor medium is (for example, solid-state Hard disk Solid State Disk (SSD)) etc..
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined See the part explanation of embodiment of the method.

Claims (12)

  1. A kind of 1. soft project collocation method based on Jenkins instruments, it is characterised in that including:
    When monitoring the code change of code storage of target software project, target corresponding to the target software project is obtained Structure task configuration file;
    Parse target structure task configuration file obtain the goal systems resource of the structure required by task, dependence and Task definition, the goal systems resource include:Machine type that the structure task is relied on, machine specifications and rely on behaviour Make system, the machine type includes virtual machine, container, bare machine or physical machine;The dependence is used to illustrate the structure The software and Jenkins plug-in units that task is relied on;The task definition is used for the construction step for defining the structure task and touched Send out the time;
    The system resource that configuration matches with the goal systems resource;
    According to the dependence, target software and target that the structure task is relied on are configured in current system environment Jenkins plug-in units;
    Structure task is generated according to the task definition.
  2. 2. according to the method for claim 1, it is characterised in that the configuration with what the goal systems resource matched is System resource, including:
    Search and whether there is the goal systems resource in the current system environment;
    If the goal systems resource in the current system environment be present, perform according to the dependence, current The step of software and Jenkins plug-in units that the structure task is relied on are configured in system environments;
    If the goal systems resource is not present in the current system environment, the goal systems resource is created, then Perform according to the dependence, software that the structure task relied on is configured in current system environment and Jenkins is inserted The step of part.
  3. 3. according to the method for claim 1, it is characterised in that it is described according to the dependence, in current system environment The software and Jenkins plug-in units that the middle configuration structure task is relied on, including:
    Search in current operation system and whether the target software is installed;
    If not installing the target software in the current operation system, built according to the target in task configuration file Comprising the download address of the target software obtain the target software, and the target software is installed;
    If being provided with the target software in the current operation system, continue to search in the Jenkins instruments whether The target Jenkins plug-in units are installed;
    If not installing the target Jenkins plug-in units in the Jenkins instruments, task configuration is built according to the target The download address of the target Jenkins plug-in units included in file obtains the target Jenkins plug-in units, and installs the target Jenkins plug-in units;
    If the target Jenkins plug-in units are installed in the Jenkins instruments, it is determined that pacify in the current system environment Equipped with the target software and the target Jenkins plug-in units.
  4. 4. according to the method described in claim any one of 1-3, it is characterised in that described generated according to the task definition builds Task, including:
    Created according to the task definition or update the structure task;
    The goal systems resource is mounted on Jenkins main frames, to run the structure task.
  5. 5. according to the method for claim 1, it is characterised in that also include:
    The running status of the Jenkins instruments is monitored, and, monitor the running status of the current operation system;
    When the running status of the current operation system has abnormal, warning information is produced;
    When the running status of the Jenkins instruments is that the goal systems resource goes offline, the goal systems is provided again Source is mounted on Jenkins main frames.
  6. 6. according to the method for claim 1, it is characterised in that also include:
    Structure Task Switching will be created initial construction task configuration file corresponding to structure task has been created for described in, it is described first Beginning structure task configuration file has created task definition corresponding to task described in including, and, the system in current system environment Resource and software resource.
  7. A kind of 7. soft project configuration device based on Jenkins instruments, it is characterised in that including:
    First acquisition unit, for when monitoring the code change of code storage of target software project, obtaining the target Target corresponding to software project builds task configuration file;
    Resolution unit, the goal systems money of the structure required by task is obtained for parsing the target structure task configuration file Source, dependence and task definition, the goal systems resource include:Machine type, the machine that the structure task is relied on Specification and operating system is relied on, the machine type includes virtual machine, container, bare machine or physical machine;The dependence is used In software and Jenkins plug-in units that the explanation structure task is relied on;The task definition is used to define the structure task Construction step and the triggered time;
    First dispensing unit, for configuring the system resource to match with the goal systems resource;
    Second dispensing unit, for according to the dependence, the structure task being configured in current system environment and is relied on Target software and target Jenkins plug-in units;
    Task generation unit, for generating structure task according to the task definition.
  8. 8. device according to claim 7, it is characterised in that first dispensing unit includes:
    First searches subelement, whether there is the goal systems resource in current system environment for searching;When described current When the goal systems resource in system environments be present, performed according to the dependence, worked as by second dispensing unit Software and Jenkins plug-in units that the structure task is relied on are configured in preceding system environments;
    Subelement is created, for when the goal systems resource is not present in the current system environment, then creating the target System resource.
  9. 9. device according to claim 7, it is characterised in that second dispensing unit includes:
    Second searches subelement, and for searching, that the target that the structure task relied on whether is provided with current operation system is soft Part;
    First obtains subelement, for when not installing the target software in the current operation system, according to the target The download address of the target software included in structure task configuration file obtains the target software, and installs the target Software;
    3rd searches subelement, described for when being provided with the target software in the current operation system, continuing to search for Whether the target Jenkins plug-in units are installed in Jenkins instruments;
    Second obtains subelement, for when not installing the target Jenkins plug-in units in the Jenkins instruments, according to institute The download address acquisition target Jenkins for stating the target Jenkins plug-in units included in target structure task configuration file is inserted Part, and the target Jenkins plug-in units are installed;
    First determination subelement, for when being provided with the target Jenkins plug-in units in the Jenkins instruments, determining institute State and the target software and target Jenkins plug-in units are installed in current system environment.
  10. 10. according to the device described in claim any one of 7-9, it is characterised in that the task generation unit, including:
    Task generates subelement, for being created according to the task definition or updating the structure task;
    Carry subelement, for the goal systems resource to be mounted into Jenkins main frames, to run the structure task.
  11. 11. device according to claim 7, it is characterised in that also include:
    Monitoring unit, for monitoring the running status of the Jenkins instruments, and, monitor the fortune of the current operation system Row state;
    Alarm unit, for when the running status of the current operation system has abnormal, producing warning information;
    Again carry unit, for when the running status of the Jenkins instruments is that the goal systems resource goes offline, again The goal systems resource is mounted on Jenkins main frames.
  12. 12. device according to claim 7, it is characterised in that also include:
    Configuration file generation unit, initial structure corresponding to structure task is created to be described for structure Task Switching will to have been created Task configuration file is built, the initial construction task configuration file has created task definition corresponding to task including described, and, System resource and software resource in current system environment.
CN201710773700.8A 2017-08-31 2017-08-31 Software project construction task configuration method and device based on Jenkins tool Active CN107608710B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710773700.8A CN107608710B (en) 2017-08-31 2017-08-31 Software project construction task configuration method and device based on Jenkins tool
PCT/CN2018/102918 WO2019042311A1 (en) 2017-08-31 2018-08-29 Software project setup task configuration method and device using jenkins

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710773700.8A CN107608710B (en) 2017-08-31 2017-08-31 Software project construction task configuration method and device based on Jenkins tool

Publications (2)

Publication Number Publication Date
CN107608710A true CN107608710A (en) 2018-01-19
CN107608710B CN107608710B (en) 2021-08-31

Family

ID=61056757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710773700.8A Active CN107608710B (en) 2017-08-31 2017-08-31 Software project construction task configuration method and device based on Jenkins tool

Country Status (2)

Country Link
CN (1) CN107608710B (en)
WO (1) WO2019042311A1 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108647010A (en) * 2018-04-27 2018-10-12 武汉斗鱼网络科技有限公司 A kind of method, terminal device and the storage medium of projects initialization
CN108958843A (en) * 2018-07-12 2018-12-07 成都数字天空科技有限公司 Plug-in unit construction method, system, equipment and medium based on lightweight script
WO2019042311A1 (en) * 2017-08-31 2019-03-07 华为技术有限公司 Software project setup task configuration method and device using jenkins
CN109871258A (en) * 2019-01-17 2019-06-11 珠海金山网络游戏科技有限公司 The method and device of modification host configuration based on distributed container
CN110096304A (en) * 2019-03-16 2019-08-06 平安城市建设科技(深圳)有限公司 Task construction method, device, equipment and storage medium based on Jenkins
CN110286880A (en) * 2019-06-17 2019-09-27 中国科学院软件研究所 A kind of complete continuous integrating method of data capture towards GitHub Yu Travis CI
CN110515625A (en) * 2019-08-02 2019-11-29 苏州浪潮智能科技有限公司 Task construction method, device, equipment and computer readable storage medium
CN110888652A (en) * 2019-10-24 2020-03-17 福建天泉教育科技有限公司 Multi-version construction method based on jenkins plug-in and terminal
CN110895460A (en) * 2018-09-13 2020-03-20 深圳市优必选科技有限公司 Jenkins-based robot system integration method and device and terminal equipment
CN110955415A (en) * 2019-12-03 2020-04-03 杭州当贝网络科技有限公司 Method for adapting projection multi-platform service
CN111144839A (en) * 2019-12-17 2020-05-12 深圳市优必选科技股份有限公司 Project construction method, continuous integration system and terminal equipment
CN111414226A (en) * 2019-01-07 2020-07-14 北京智融网络科技有限公司 Method and system for establishing task sandbox
CN112148462A (en) * 2020-10-20 2020-12-29 上海新炬网络信息技术股份有限公司 Jenkins-based CICD process processing method
CN114650213A (en) * 2020-12-18 2022-06-21 航天信息股份有限公司 Method, device and storage medium for configuring Jenkins server cluster

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274041A (en) * 2020-02-24 2020-06-12 北京达佳互联信息技术有限公司 Graphics processor mounting method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020040469A1 (en) * 2000-06-03 2002-04-04 International Business Machines Corporation System and method for the configuration of software products
CN103207802A (en) * 2012-01-12 2013-07-17 上海盛霄云计算技术有限公司 Software operating system and method
CN105786691A (en) * 2014-12-25 2016-07-20 重庆重邮信科通信技术有限公司 Automatic integration testing device, method and system of mobile terminal
CN106095408A (en) * 2016-05-31 2016-11-09 浙江网新恒天软件有限公司 A kind of system and method for data monitoring and Code automatic build and deployment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7549148B2 (en) * 2003-12-16 2009-06-16 Microsoft Corporation Self-describing software image update components
CN101515232A (en) * 2008-02-21 2009-08-26 卓望数码技术(深圳)有限公司 Software continuous integration system and method
CN105739966A (en) * 2016-01-19 2016-07-06 浪潮软件集团有限公司 Continuous integration method and device
CN106815052A (en) * 2017-01-10 2017-06-09 南威软件股份有限公司 A kind of method of the rapid deployment system for being adapted to multi-environment configuration
CN107608710B (en) * 2017-08-31 2021-08-31 华为技术有限公司 Software project construction task configuration method and device based on Jenkins tool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020040469A1 (en) * 2000-06-03 2002-04-04 International Business Machines Corporation System and method for the configuration of software products
CN103207802A (en) * 2012-01-12 2013-07-17 上海盛霄云计算技术有限公司 Software operating system and method
CN105786691A (en) * 2014-12-25 2016-07-20 重庆重邮信科通信技术有限公司 Automatic integration testing device, method and system of mobile terminal
CN106095408A (en) * 2016-05-31 2016-11-09 浙江网新恒天软件有限公司 A kind of system and method for data monitoring and Code automatic build and deployment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CYRILLE: ""jenkinsci/system-config-dsl-plugin", 《HTTPS://GITHUB.COM/JENKINSCI/SYSTEM-CONFIG-DSL-PLUGIN》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019042311A1 (en) * 2017-08-31 2019-03-07 华为技术有限公司 Software project setup task configuration method and device using jenkins
CN108647010A (en) * 2018-04-27 2018-10-12 武汉斗鱼网络科技有限公司 A kind of method, terminal device and the storage medium of projects initialization
CN108958843A (en) * 2018-07-12 2018-12-07 成都数字天空科技有限公司 Plug-in unit construction method, system, equipment and medium based on lightweight script
CN110895460A (en) * 2018-09-13 2020-03-20 深圳市优必选科技有限公司 Jenkins-based robot system integration method and device and terminal equipment
CN111414226A (en) * 2019-01-07 2020-07-14 北京智融网络科技有限公司 Method and system for establishing task sandbox
CN109871258A (en) * 2019-01-17 2019-06-11 珠海金山网络游戏科技有限公司 The method and device of modification host configuration based on distributed container
CN110096304A (en) * 2019-03-16 2019-08-06 平安城市建设科技(深圳)有限公司 Task construction method, device, equipment and storage medium based on Jenkins
CN110286880A (en) * 2019-06-17 2019-09-27 中国科学院软件研究所 A kind of complete continuous integrating method of data capture towards GitHub Yu Travis CI
CN110286880B (en) * 2019-06-17 2020-12-01 中国科学院软件研究所 GitHub and Travis CI oriented complete continuous integrated data collection method
CN110515625A (en) * 2019-08-02 2019-11-29 苏州浪潮智能科技有限公司 Task construction method, device, equipment and computer readable storage medium
CN110888652A (en) * 2019-10-24 2020-03-17 福建天泉教育科技有限公司 Multi-version construction method based on jenkins plug-in and terminal
CN110888652B (en) * 2019-10-24 2023-07-07 福建天泉教育科技有限公司 Multi-version construction method and terminal based on jenkins plug-in
CN110955415A (en) * 2019-12-03 2020-04-03 杭州当贝网络科技有限公司 Method for adapting projection multi-platform service
CN110955415B (en) * 2019-12-03 2024-03-08 杭州当贝网络科技有限公司 Method for projecting multi-platform service adaptation
CN111144839A (en) * 2019-12-17 2020-05-12 深圳市优必选科技股份有限公司 Project construction method, continuous integration system and terminal equipment
CN111144839B (en) * 2019-12-17 2024-02-02 深圳市优必选科技股份有限公司 Project construction method, continuous integration system and terminal equipment
CN112148462A (en) * 2020-10-20 2020-12-29 上海新炬网络信息技术股份有限公司 Jenkins-based CICD process processing method
CN112148462B (en) * 2020-10-20 2023-03-28 上海新炬网络信息技术股份有限公司 Jenkins-based CICD process processing method
CN114650213A (en) * 2020-12-18 2022-06-21 航天信息股份有限公司 Method, device and storage medium for configuring Jenkins server cluster

Also Published As

Publication number Publication date
WO2019042311A1 (en) 2019-03-07
CN107608710B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN107608710A (en) Software project structure task collocation method and device based on Jenkins instruments
US7661088B2 (en) Systems and methods to efficiently and automatically effect population of custom controls onto a visual designer toolbox
US10860406B2 (en) Information processing device and monitoring method
US9246777B2 (en) Computer program and monitoring apparatus
US20210081189A1 (en) Determining Customized Software Recommendations for Network Devices
EP3462315A2 (en) Systems and methods for service mapping
US20120066667A1 (en) Simulation environment for distributed programs
US20130086066A1 (en) Automated discovery and generation of hierarchies for building automation and control network objects
US20200084275A1 (en) Computer servers for datacenter management
JP2019192158A (en) Apparatus and method for supporting in creating flow using visual programming tool
US8438573B2 (en) Dependency on a resource type
CN113778486B (en) Method, device, medium and equipment for containerization processing of code pipeline
WO2015057188A1 (en) Package dependency maps for distributed computing
US8370800B2 (en) Determining application distribution based on application state tracking information
CN109165261A (en) Method of data synchronization, device, server and computer storage medium
CN112162761A (en) Method, system and equipment for automatically deploying project to public cloud containerization platform
CN111666079B (en) Method, apparatus, system, device and computer readable medium for software upgrade
US20080010315A1 (en) Platform management of high-availability computer systems
CN111552494B (en) Method, device, system and medium for managing container group
JP2009169863A (en) Computer system for managing configuration item, and method and computer program therefor
CN108052335A (en) Data managing method, device, computing device and storage medium
Kos et al. nodewatcher: A substrate for growing your own community network
US11593221B2 (en) Methods and systems for determining backup schedules
CN112286441A (en) Method, apparatus and computer medium for providing a visual representation
US11159358B2 (en) Sentry for information technology system blueprints

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220209

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right