[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106933736A - A kind of method and system of project continuous integrating - Google Patents

A kind of method and system of project continuous integrating Download PDF

Info

Publication number
CN106933736A
CN106933736A CN201511029328.7A CN201511029328A CN106933736A CN 106933736 A CN106933736 A CN 106933736A CN 201511029328 A CN201511029328 A CN 201511029328A CN 106933736 A CN106933736 A CN 106933736A
Authority
CN
China
Prior art keywords
continuous integrating
event
server
submission
tested
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
CN201511029328.7A
Other languages
Chinese (zh)
Other versions
CN106933736B (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.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology 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 China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201511029328.7A priority Critical patent/CN106933736B/en
Publication of CN106933736A publication Critical patent/CN106933736A/en
Application granted granted Critical
Publication of CN106933736B publication Critical patent/CN106933736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a kind of method and system of project continuous integrating, the method can include:The submission event in flow of event will be submitted to merge arrangement, generate event queue to be tested;Submission event in the event queue to be tested is carried out into the concurrent testing based on streamline;The the first submission event that will be successfully tested is incorporated into code storage;The 3rd submission event being associated by the second submission event of test crash and with the described second submission event is deleted from the task queue to be tested.Project continuous integrating progress can be accelerated, development efficiency is improved, and when project is carried out, by the scale of dynamic adjustment test resource, lift the utilization rate of test resource.

Description

A kind of method and system of project continuous integrating
Technical field
The present invention relates to the integrated technical field of project, more particularly to a kind of method and system of project continuous integrating.
Background technology
Continuous integrating is a kind of practice of software.During continuous integrating, Team Member is continually integrated Achievement, it is integrated every time to pass through the automatic inspection for building, to find integrated mistake as early as possible.At present, produce Continuous integrating flow is as shown in figure 1, can include:Developer submits code to code review server to; Then, code review server notifies that corresponding syndic is evaluated;Then, code review server is touched Hair continuous integrating server carries out integrated construction work, and has continuous integrating server to assign survey to test environment Trial is engaged in, and receives the test feedback of test environment;Finally, code review server is received by continuous integrating Evaluation and build result that server is returned, and judged whether for code to be incorporated into code according to returning result Warehouse.
In to the continuous integrating practice process shown in Fig. 1, as software size and complexity are increasing, The cost of continuous integrating is also increased, and the cost refers to continuous integrating task quantity and single continuous integrating Task time.Under large scope software co-development situation, a code is submitted to and generally requires to wait more long The feedback result of continuous integrating server can be just obtained after time.For example, this code is submitted to depends on last time The submission of end is not tested.Assuming that each integration servers needs 1 hour, then cause order due to relying on The task queue of change can only at most be processed 24 integration servers, serious Limit exploitation progress for one day.
Meanwhile, with the increase and the increase in Test coverage face of project complexity, test assignment quantity also with Increase.Therefore, when the task quantity of continuous integrating increases with the increase of business, continuous integrating is put down Platform needs to perform more tasks, it is therefore desirable to put into more computing resources (continuous integrating server and survey Test ring border), to ensure to be fed back from test result in time.But traditional continuous integrating device cannot Accomplish that efficient adaptive extends;Also, gradually improved, it is necessary to performing for task also subtracts therewith with project It is few, test environment just again it is vacant out, can cause test resource utilization rate not high again.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention expect to provide a kind of method of project continuous integrating and System, can accelerate project continuous integrating progress, improve development efficiency, and when project is gradually carried out, By the scale of dynamic adjustment test resource, the utilization rate of test resource is lifted.
The technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the invention provides a kind of method of project continuous integrating, methods described includes:
The submission event in flow of event will be submitted to merge arrangement, generate event queue to be tested;
Submission event in the event queue to be tested is carried out into the concurrent testing based on streamline;
The the first submission event that will be successfully tested is incorporated into code storage;
The 3rd submission thing being associated by the second submission event of test crash and with the described second submission event Part is deleted from the task queue to be tested.
In such scheme, methods described also includes:
Load condition is collected, and new continuous integrating component is applied for from high in the clouds according to the increase state of load;
The new continuous integrating component is added in project continuous integrating environment.
It is described that new continuous integrating component is applied for from high in the clouds according to load in such scheme, and will be described New continuous integrating component is added in project continuous integrating environment, is specifically included:
The continuous integrating component of redaction is obtained from mirror image server, and is added to the project continuous integrating ring Border;
Detect the continuous integrating component of the redaction within the default time period whether normal work:
When working properly, the continuous integrating component of legacy version in the project continuous integrating environment is replaced;
When non-normal working, the continuous integrating component of the redaction is deleted.
In such scheme, methods described also includes:
Reduction state according to load deletes the continuous integrating component in the project continuous integrating environment.
In such scheme, the submission event by the event queue to be tested is carried out based on streamline Concurrent testing, specifically include:
The submission event in the event queue to be tested is transmitted to parallel according to default load balancing In the streamline of test.
Second aspect, the embodiment of the invention provides a kind of system of project continuous integrating, and the system includes: Code review server, continuous integrating server and code storage;The system also includes:With the code The task scheduling server that evaluation server and the continuous integrating server are connected;
The task scheduling server is used for:
Submission event in the submission flow of event of the code review server transport is merged into arrangement, it is raw Into event queue to be tested;
And, the submission event in the event queue to be tested is transmitted to multiple continuous integrating servers, To realize the concurrent testing based on streamline;
And, the survey of the submission event in the event queue to be tested is received from the continuous integrating server Test result;
And, the first submission event that will be successfully tested is incorporated into code storage;
And, the 3rd be associated by the second submission event of test crash and with the described second submission event Submission event is deleted from the task queue to be tested.
In such scheme, the system also includes:With the task scheduling server, the continuous integrating The Node Controller that server and test environment are connected;
The Node Controller is used for:
The load condition of the task scheduling server is collected, and is applied from high in the clouds according to the increase state of load New continuous integrating component;
And, the new continuous integrating component is added to the continuous integrating server and the test wrapper Border.
In such scheme, the system also includes:The mirror image server being connected with the Node Controller; Correspondingly, the Node Controller specifically for:
The continuous integrating component of redaction is obtained from mirror image server, and is added to the continuous integrating server With the test environment;
And, detect the continuous integrating component of the redaction within the default time period whether normal work:
And, when the continuous integrating component normal work of the redaction, replace the continuous integrating service The continuous integrating component of legacy version in device and the test environment;
And, when the continuous integrating component non-normal working of the redaction, delete holding for the redaction Continuous integrated package.
In such scheme, the Node Controller is additionally operable to:
Reduction state according to load deletes the lasting collection in the continuous integrating server and the test environment Into component.
In such scheme, the task scheduling server, specifically for:According to default load balancing plan Slightly the submission event in the event queue to be tested is transmitted to continuous integrating server each described.
A kind of method and system of project continuous integrating is the embodiment of the invention provides, is entered by submission event Row merge arrangement after tested with continuous-flow type parallel test method, and by the submission event of test crash with And submit to the submission event that event is associated to be deleted from the task queue to be tested with test crash;And root Load condition according to project continuous integrating increases and decreases the component in continuous integrating environment, can accelerate project Continuous integrating progress, improves development efficiency, and when project is gradually improved, by adjusting test resource Scale, lifts the utilization rate of test resource.
Brief description of the drawings
Fig. 1 is a kind of continuous integration system structural representation of prior art;
Fig. 2 is a kind of project continuous integration system structural representation provided in an embodiment of the present invention;
Fig. 3 implements flow chart for one kind provided in an embodiment of the present invention;
Fig. 4 is another project continuous integration system structural representation provided in an embodiment of the present invention;
Fig. 5 is another project continuous integration system structural representation provided in an embodiment of the present invention;
Fig. 6 is a kind of method flow schematic diagram of project continuous integrating provided in an embodiment of the present invention;
Fig. 7 is that a kind of method of project continuous integrating provided in an embodiment of the present invention implements schematic flow sheet;
Continuous integrating component is added to project continuous integrating environment by Fig. 8 for one kind provided in an embodiment of the present invention Schematic flow sheet.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by.
Embodiment one
On the basis of the existing continuous integration system shown in Fig. 1, referring to Fig. 2, it illustrates of the invention real A kind of project continuous integration system 20 of example offer is applied, the system 20 is except including the code shown in Fig. 1 Beyond evaluation server 201, continuous integrating server 202, test environment 203 and code storage 204, also Including:Task scheduling server 210 is, it is necessary to explanation, task scheduling server 210 and the code Evaluation server 201 and the continuous integrating server 202 are connected;The task scheduling server 210 Can be used for:
Submission event in the submission flow of event that code review server 201 is transmitted merges arrangement, raw Into event queue to be tested;
And, the submission event in the event queue to be tested is transmitted to multiple continuous integrating servers 202;To cause that submission event is issued into corresponding test environment 203 by each continuous integrating server 202 It is middle to realize the concurrent testing based on streamline;
And, the survey of the submission event in the event queue to be tested is received from continuous integrating server 202 Test result;
And, the first submission event that will be successfully tested is incorporated into code storage 204;
And, the 3rd be associated by the second submission event of test crash and with the described second submission event Submission event is deleted from the task queue to be tested.
It should be noted that during implementing, referring to Fig. 3, concrete implementation flow includes:
S301:Task scheduling server 210 can be respectively Q1 and Q2 with two queues of initial creation;
S302:Task scheduling server 210 receives the submission flow of event that code review server 201 sends, Wherein, submit to flow of event in submission event be A, B, C, D, and according to submit to event generation sequentially Join the team Q1, i.e. Q1=<A, B, C, D>;
S303:Submission event in Q1 is carried out arrangement merging by task scheduling server 210, after merging Submission event join the team Q2, i.e. Q2=<HEAD+A, HEAD+A+B, HEAD+A+B+C, HEAD+A+B+C+D>;
S304:The corresponding test assignment of submission event in the generation of task scheduling server 210 team Q2, and will All test assignments are transmitted to multiple continuous integrating servers 202;To cause to pass through each continuous integrating server 202 submission event is issued in corresponding test environment 203 concurrent testing for realizing being based on streamline;
S305:The test result that 210 monitor in real time continuous integrating server of task scheduling server 202 is returned:
S306:The the first submission event that will be successfully tested is incorporated into code storage 204, for example, head of the queue HEAD+A tasks smoothly terminate, then go out the head of the queue task of group Q1 and Q2, respectively A and HEAD+A;
S307:The 3rd be associated by the second submission event of test crash and with the described second submission event Submission event is deleted from the task queue to be tested, such as, when there is test assignment to fail, task scheduling Server 210 deletes failed tasks corresponding submission event in Q1 and Q2, and in Q1 and Q2, The submission event that deletion is associated with failed tasks, for example, when HEAD+A does not also complete test, continuing The submission event HEAD+A+B that integrating server 202 is returned in Q2 have failed in advance, and in Q1 Submission event C relies on submission event B, then necessarily B introduces aacode defect, therefore task scheduling takes Business device 210 deletes B from Q1 and depends on its C, and stops from Q2 and delete from HEAD+A+B Start all tasks to tail of the queue.Two queues after deletion are respectively Q1=<A>, Q2=<HEAD+A>.
S308:Task scheduling server 210 continues to the submission event of the transmission of code review server 201 D and E, and going to step S302 will submit to event D and E to join the team Q1.
By above-mentioned process, it is possible to understand that ground, task scheduling server 210 can not only be submission event Test is realized after merging by way of concurrent testing, and can timely by the submission event of test crash And depend on the association of the submission event of test crash to submit to event to be deleted and stopped test in the lump, from And the test triggered according to the submission event that the dependence between submission event reduces test crash is when being delayed Between, project continuous integrating progress is accelerated, greatly improve the efficiency of project continuous integrating.
Exemplarily, because task scheduling server 210 is responsible for taking case distribution to be tested to continuous integrating Business device 202, therefore, task scheduling server 210 can know the task status of all events to be tested, Continuous integrating server 201 is only a stateless service for event to be tested, so, specifically Ground, task scheduling server 210 is used for the event queue to be tested according to default load balancing In submission event transmit to continuous integrating server 202 each described.
Exemplarily, referring to Fig. 4, continuous integration system provided in an embodiment of the present invention 20 can also include Node Controller 220;It should be noted that Node Controller 220 and task scheduling server 210, continuing Integrating server 202 and test environment 203 are connected, the Node Controller 220, described for collecting The load condition of task scheduling server 210, and continued from high in the clouds application is new according to the increase state of load Integrated package;
And, the new continuous integrating component is added to continuous integrating server 202 and test environment 203.
Exemplarily, when project is gradually improved, during the load condition reduction of task scheduling server 210, Node Controller 220 can be also used for deleting continuous integrating server 202 according to the reduction state of load and survey Continuous integrating component in test ring border 203.
It should be noted that Node Controller 220 is responsible for obtaining system from task scheduling server 210 Load saturation situation, and by the way that from cloud platform, dynamically application resource adds the project continuous integrating environment, so that Reach the ability expanded with load.Herein, the resource of application is then new continuous integrating component, bag Include new continuous integrating server and test environment.From the foregoing, it will be observed that Node Controller 220 passes through adjustresources Scale, the utilization rate of test resource can be lifted.
Exemplarily, in order to ensure to be occurred without during project continuous integrating the phenomenon of service disruption, ginseng See Fig. 5, continuous integration system provided in an embodiment of the present invention 20 can also include mirror image server 230, It should be noted that mirror image server 230 is connected with Node Controller 220, and correspondingly, node control Device 220 specifically for:
The continuous integrating component of redaction is obtained from mirror image server 230, and is added to continuous integrating server 202 and 203 test environments;
And, detect the continuous integrating component of the redaction within the default time period whether normal work:
And, when the continuous integrating component normal work of the redaction, replace continuous integrating server 202 With the continuous integrating component of legacy version in test environment 203;
And, when the continuous integrating component non-normal working of the redaction, delete holding for the redaction Continuous integrated package.
Then, Node Controller 220 provides for a kind of rolling upgrade and error rollback mechanism, it is possible to understand that Ground, error rollback mechanism is the inverse operation of rolling upgrade.It should be noted that Node Controller 220 also can Making the code of mirror image from for detection in code storage 204, and trigger task scheduling server 210 is carried out The making of mirror image.Further, since all of continuous integrating component is all located among container and virtual machine, therefore It is all atomic operation that rolling upgrade and error rollback are carried out to a continuous integrating component.
A kind of project continuous integration system 20 is present embodiments provided, after submission event merges arrangement Tested by continuous-flow type parallel test method, and the submission event of test crash is lost with and with test The associated submission event of submission event is lost to be deleted from the task queue to be tested;And by node control Device increases and decreases the component in continuous integrating environment according to the load condition of project continuous integrating, so as to accelerate Project continuous integrating progress, improves development efficiency, and when project is gradually improved, by adjusting test money The scale in source, lifts the utilization rate of test resource.
Embodiment two
Based on the project continuous integration system described in previous embodiment, referring to Fig. 6, it illustrates of the invention real The method for applying a kind of project continuous integrating of example offer, the method can be by the project described in embodiment one Continuous integration system realizes that the method can include:
S601:The submission event in flow of event will be submitted to merge arrangement, generate event queue to be tested;
S602:Submission event in the event queue to be tested is carried out into the concurrent testing based on streamline;
S603:The the first submission event that will be successfully tested is incorporated into code storage;
S604:The 3rd be associated by the second submission event of test crash and with the described second submission event Submission event is deleted from the task queue to be tested.
It should be noted that during implementing, technical scheme shown in Fig. 6 can with as shown in fig. 7, Can include:
S701:Two queues of initial creation, are respectively Q1 and Q2;
S702:Receive and submit flow of event to, wherein, the submission event in flow of event is submitted to for A, B, C, D, And the generation order according to the event of submission to is joined the team Q1, i.e. Q1=<A, B, C, D>;
S703:Submission event in Q1 is carried out into arrangement merging, the submission event after merging is joined the team Q2, That is Q2=<HEAD+A, HEAD+A+B, HEAD+A+B+C, HEAD+A+B+C+D>;
S704:The corresponding test assignment of submission event in generation team Q2, and all test assignments are based on The concurrent testing of streamline;
S705:The test result that monitor in real time is returned:
S706:The the first submission event that will be successfully tested is incorporated into code storage, for example, head of the queue HEAD+A Task smoothly terminates, then go out the head of the queue task of group Q1 and Q2, respectively A and HEAD+A;
S707:The 3rd be associated by the second submission event of test crash and with the described second submission event Submission event is deleted from the task queue to be tested, such as, when there is test assignment to fail, task scheduling Server 210 deletes failed tasks corresponding submission event in Q1 and Q2, and in Q1 and Q2, The submission event that deletion is associated with failed tasks, for example, when HEAD+A does not also complete test, continuing The submission event HEAD+A+B that integrating server 202 is returned in Q2 have failed in advance, and in Q1 Submission event C relies on submission event B, then necessarily B introduces aacode defect, therefore task scheduling takes Business device 210 deletes B from Q1 and depends on its C, and stops from Q2 and delete from HEAD+A+B Start all tasks to tail of the queue.Two queues after deletion are respectively Q1=<A>, Q2=<HEAD+A>.
S708:Submission event D and E are continued to, and going to step S702 will submit to event D and E to enter Team Q1.
It is to be appreciated that by concurrent testing after above-mentioned process can not only merge submission event Mode realizes test, and timely by the submission event of test crash and can depend on test crash The association of submission event submits to event to be deleted and stopped test in the lump, so as to according between submission event Dependence reduces the test delay time at stop that the submission event of test crash is triggered, and accelerates project and persistently collects Into progress, the efficiency of project continuous integrating is greatly improved.
Exemplarily, methods described also includes:
Load condition is collected, and new continuous integrating component is applied for from high in the clouds according to the increase state of load;
And, the new continuous integrating component is added in project continuous integrating environment.
Further, in order to ensure to be occurred without during project continuous integrating the phenomenon of service disruption, ginseng See Fig. 8, it is described that new continuous integrating component is applied for from high in the clouds according to load, and by the new lasting collection It is added in project continuous integrating environment into component, is specifically included:
S801:The continuous integrating component of redaction is obtained from mirror image server, and is added to the project and continued The integration environment;
S802:Detect the continuous integrating component of the redaction within the default time period whether normal work:
S803:When working properly, the continuous integrating group of legacy version in the project continuous integrating environment is replaced Part;
S804:When non-normal working, the continuous integrating component of the redaction is deleted.
Exemplarily, methods described also includes:
Reduction state according to load deletes the continuous integrating component in the project continuous integrating environment.
Exemplarily, the submission event by the event queue to be tested carry out based on streamline and Row test, specifically includes:
The submission event in the event queue to be tested is transmitted to parallel according to default load balancing In the streamline of test.
A kind of project continuous integrating method is present embodiments provided, is led to after submission event merges arrangement Continuous-flow type parallel test method is crossed to be tested, and by the submission event of test crash with and and test crash The associated submission event of submission event is deleted from the task queue to be tested;And persistently collected according to project Into load condition the component in continuous integrating environment is increased and decreased, so as to accelerate project continuous integrating progress, Development efficiency is improved, and when project is gradually improved, by adjusting the scale of test resource, lifting test The utilization rate of resource.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or combine software and The form of the embodiment of hardware aspect.And, the present invention can be used and wherein include calculating at one or more Computer-usable storage medium (the including but not limited to magnetic disk storage and optical storage of machine usable program code Device etc.) on implement computer program product form.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program product Flow chart and/or block diagram describe.It should be understood that flow chart and/or side can be realized by computer program instructions The knot of flow in each flow and/or square frame and flow chart and/or block diagram and/or square frame in block diagram Close.Can provide these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor or The processor of other programmable data processing devices is producing a machine so that by computer or other can The instruction of the computing device of programming data processing equipment is produced for realizing in one flow of flow chart or multiple The device of the function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices In the computer-readable memory for working in a specific way so that storage is in the computer-readable memory Instruction is produced includes the manufacture of command device, and the command device is realized in one flow of flow chart or multiple streams The function of being specified in one square frame of journey and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and series of operation steps performed on computer or other programmable devices to produce computer implemented treatment, So as to the instruction performed on computer or other programmable devices is provided for realizing in one flow of flow chart Or specified in multiple one square frame of flow and/or block diagram or multiple square frames function the step of.
The above, only presently preferred embodiments of the present invention is not intended to limit protection model of the invention Enclose.

Claims (10)

1. a kind of method of project continuous integrating, it is characterised in that methods described includes:
The submission event in flow of event will be submitted to merge arrangement, generate event queue to be tested;
Submission event in the event queue to be tested is carried out into the concurrent testing based on streamline;
The the first submission event that will be successfully tested is incorporated into code storage;
The 3rd submission thing being associated by the second submission event of test crash and with the described second submission event Part is deleted from the task queue to be tested.
2. method according to claim 1, it is characterised in that methods described also includes:
Load condition is collected, and new continuous integrating component is applied for from high in the clouds according to the increase state of load;
The new continuous integrating component is added in project continuous integrating environment.
3. method according to claim 2, it is characterised in that described new from high in the clouds application according to load Continuous integrating component, and the new continuous integrating component is added in project continuous integrating environment, Specifically include:
The continuous integrating component of redaction is obtained from mirror image server, and is added to the project continuous integrating ring Border;
Detect the continuous integrating component of the redaction within the default time period whether normal work:
When working properly, the continuous integrating component of legacy version in the project continuous integrating environment is replaced;
When non-normal working, the continuous integrating component of the redaction is deleted.
4. method according to claim 2, it is characterised in that methods described also includes:
Reduction state according to load deletes the continuous integrating component in the project continuous integrating environment.
5. method according to claim 1, it is characterised in that described by the event queue to be tested In submission event carry out the concurrent testing based on streamline, specifically include:
The submission event in the event queue to be tested is transmitted to parallel according to default load balancing In the streamline of test.
6. a kind of system of project continuous integrating, the system includes:Code review server, continuous integrating Server and code storage, it is characterised in that the system also includes:With the code review server with And the task scheduling server that the continuous integrating server is connected;
The task scheduling server is used for:
Submission event in the submission flow of event of the code review server transport is merged into arrangement, it is raw Into event queue to be tested;
And, the submission event in the event queue to be tested is transmitted to multiple continuous integrating servers, To realize the concurrent testing based on streamline;
And, the survey of the submission event in the event queue to be tested is received from the continuous integrating server Test result;
And, the first submission event that will be successfully tested is incorporated into code storage;
And, the 3rd be associated by the second submission event of test crash and with the described second submission event Submission event is deleted from the task queue to be tested.
7. system according to claim 6, it is characterised in that the system also includes:With described The Node Controller that business dispatch server, the continuous integrating server and test environment are connected;
The Node Controller is used for:
The load condition of the task scheduling server is collected, and is applied from high in the clouds according to the increase state of load New continuous integrating component;
And, the new continuous integrating component is added to the continuous integrating server and the test wrapper Border.
8. system according to claim 7, it is characterised in that the system also includes:With the section The mirror image server that base site controller is connected;Correspondingly, the Node Controller specifically for:
The continuous integrating component of redaction is obtained from mirror image server, and is added to the continuous integrating server With the test environment;
And, detect the continuous integrating component of the redaction within the default time period whether normal work:
And, when the continuous integrating component normal work of the redaction, replace the continuous integrating service The continuous integrating component of legacy version in device and the test environment;
And, when the continuous integrating component non-normal working of the redaction, delete holding for the redaction Continuous integrated package.
9. system according to claim 7, it is characterised in that the Node Controller is additionally operable to:
Reduction state according to load deletes the lasting collection in the continuous integrating server and the test environment Into component.
10. system according to claim 6, it is characterised in that the task scheduling server, tool Body is used for:According to default load balancing by the submission event in the event queue to be tested transmit to Each described continuous integrating server.
CN201511029328.7A 2015-12-31 2015-12-31 Method and system for continuously integrating projects Active CN106933736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511029328.7A CN106933736B (en) 2015-12-31 2015-12-31 Method and system for continuously integrating projects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511029328.7A CN106933736B (en) 2015-12-31 2015-12-31 Method and system for continuously integrating projects

Publications (2)

Publication Number Publication Date
CN106933736A true CN106933736A (en) 2017-07-07
CN106933736B CN106933736B (en) 2020-04-21

Family

ID=59441072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511029328.7A Active CN106933736B (en) 2015-12-31 2015-12-31 Method and system for continuously integrating projects

Country Status (1)

Country Link
CN (1) CN106933736B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228190A (en) * 2018-01-25 2018-06-29 杭州时趣信息技术有限公司 Continuous integrating and delivery method, system, equipment and computer readable storage medium
CN109408106A (en) * 2018-09-27 2019-03-01 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Agile software development continuous integration method and system
CN109460350A (en) * 2018-09-26 2019-03-12 北京雷石天地电子技术有限公司 A kind of method and device of the official website the KTV continuous integrating based on remote warehouse
CN110633208A (en) * 2019-08-22 2019-12-31 浙江大搜车软件技术有限公司 Incremental code coverage rate testing method and system
CN110907197A (en) * 2019-12-11 2020-03-24 北京京东乾石科技有限公司 Vehicle testing method, device and system
CN112732565A (en) * 2020-12-31 2021-04-30 星环信息科技(上海)股份有限公司 Software continuous integration evaluation method, computer equipment and medium
CN113946514A (en) * 2021-10-18 2022-01-18 芯原微电子(上海)股份有限公司 Code pre-integration method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1071992A1 (en) * 1998-04-15 2001-01-31 ADC Telecommunications, Inc Visual data integration system and method
CN102880546A (en) * 2012-09-03 2013-01-16 上海方正数字出版技术有限公司 Software integration testing method and system based on extensible markup language (XML) database
CN104077140A (en) * 2014-07-04 2014-10-01 用友软件股份有限公司 Automatic compiling method and compiling device for continuous integration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1071992A1 (en) * 1998-04-15 2001-01-31 ADC Telecommunications, Inc Visual data integration system and method
CN102880546A (en) * 2012-09-03 2013-01-16 上海方正数字出版技术有限公司 Software integration testing method and system based on extensible markup language (XML) database
CN104077140A (en) * 2014-07-04 2014-10-01 用友软件股份有限公司 Automatic compiling method and compiling device for continuous integration

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228190A (en) * 2018-01-25 2018-06-29 杭州时趣信息技术有限公司 Continuous integrating and delivery method, system, equipment and computer readable storage medium
CN108228190B (en) * 2018-01-25 2021-08-24 杭州时趣信息技术有限公司 Persistent integration and delivery methods, systems, devices, and computer-readable storage media
CN109460350A (en) * 2018-09-26 2019-03-12 北京雷石天地电子技术有限公司 A kind of method and device of the official website the KTV continuous integrating based on remote warehouse
CN109408106A (en) * 2018-09-27 2019-03-01 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Agile software development continuous integration method and system
CN110633208A (en) * 2019-08-22 2019-12-31 浙江大搜车软件技术有限公司 Incremental code coverage rate testing method and system
CN110907197A (en) * 2019-12-11 2020-03-24 北京京东乾石科技有限公司 Vehicle testing method, device and system
CN112732565A (en) * 2020-12-31 2021-04-30 星环信息科技(上海)股份有限公司 Software continuous integration evaluation method, computer equipment and medium
CN112732565B (en) * 2020-12-31 2023-07-18 星环信息科技(上海)股份有限公司 Evaluation method for continuous integration of software, computer equipment and medium
CN113946514A (en) * 2021-10-18 2022-01-18 芯原微电子(上海)股份有限公司 Code pre-integration method, device and system
CN113946514B (en) * 2021-10-18 2024-08-23 芯原微电子(上海)股份有限公司 Code pre-integration method, device and system

Also Published As

Publication number Publication date
CN106933736B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN106933736A (en) A kind of method and system of project continuous integrating
CN110516325A (en) A kind of CAE automation simulation analysis method and system
CN104298550B (en) A kind of dynamic dispatching method towards Hadoop
CN104243617B (en) Towards the method for scheduling task and system of mixed load in a kind of isomeric group
CN108139931A (en) It synchronizes to accelerate task subgraph by remapping
CN109118097B (en) Reliability maintainability guarantee assessment method and device
CN110347489B (en) Multi-center data collaborative computing stream processing method based on Spark
CN107480380A (en) A kind of engineering drawing generation method based on template
CN112862098A (en) Method and system for processing cluster training task
CN106295809B (en) The embedded real-time diagnosis reasoning algorithm pilot system of aircraft
CN103577172A (en) Graphic processing engine system
CN113313353A (en) Continuous delivery pipeline management method and device
CN104281636B (en) The concurrent distributed approach of magnanimity report data
WO2020233252A1 (en) Method and apparatus for diagnosing spark application
CN105205545A (en) Method for optimizing logistics system by applying simulation experiment
CN112347080B (en) Data migration method and related device
CN110417678A (en) A kind of method and device of application programming interfaces current limliting
EP3200083A1 (en) Resource scheduling method and related apparatus
CN106293670B (en) Event processing method and device and server
CN107491389A (en) A kind of embedded software reliability assessment system based on time extension petri nets
CN108270833A (en) Render automatic scheduling method, the apparatus and system of cloud resource
CN107832162B (en) Method for remotely calling ModelCenter software to realize multidisciplinary design optimization
CN111736986B (en) FPGA (field programmable Gate array) acceleration execution method and related device of deep learning model
CN106980463A (en) The method for controlling quality of service and device of storage system
CN106933646A (en) A kind of method and device for creating virtual machine

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