CN105843597A - Providing method and device for establishment information of tasks - Google Patents

Providing method and device for establishment information of tasks Download PDF

Info

Publication number
CN105843597A
CN105843597A CN201510024456.6A CN201510024456A CN105843597A CN 105843597 A CN105843597 A CN 105843597A CN 201510024456 A CN201510024456 A CN 201510024456A CN 105843597 A CN105843597 A CN 105843597A
Authority
CN
China
Prior art keywords
task
information
build
sent
builds
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510024456.6A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510024456.6A priority Critical patent/CN105843597A/en
Publication of CN105843597A publication Critical patent/CN105843597A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a providing method for establishment information of tasks. The method comprises following steps: obtaining for establishment information of tasks, wherein establishment information of tasks is determined with the completion of establishing tasks as the trigger condition; and sending establishment information of tasks to a peripheral system. The application helps prevent the peripheral system from regularly and continuously integrating a tool Hdson or continuously integrating a system so that large resource consumption is avoided. The application further discloses a providing device for establishment information of tasks.

Description

Task builds the offer method of information, device
Technical field
The application relates to field of computer technology, and the task particularly to a kind of continuous integration system builds information Offer method, device.
Background technology
Integrated Simulation refers to get up at a system the one group of relevant application program tissue completing a certain work It is operated with comprehensive one form making peace overall coherence under the operating environment of.In order to find collection as soon as possible Becoming mistake, continuous integrating concept is arisen at the historic moment.
Continuous integrating is a kind of practice of software, i.e. team's exploitation member their exploitation knot the most integrated Really, usual each member is the most integrated once for every day, also implies that every day it may happen that the most integrated. The structure continuous integrating task of each integrated Dou Hui automatization, performs the institute of each stage that this task comprises right successively (generally comprise the compiling of development result, compiling result is issued and edited result automatic test in the operation answered Deng), realize the checking to development result correctness etc..After this task has built, generate and build in detail Feelings data.Wherein, mentioned here to " build details data " generally comprise structure node, build connect, Build the data such as time started and/or structure state.
The continuous integrating instrument of main flow has a lot in the market, as CruiseControl, Hudson, Jenkins, Continuum etc..Wherein, part continuous integrating instrument has certain closure, and it passes through The mode of localization file stores the structure details number of all tasks (including but not limited to continuous integrating task) According to, there is no outside system communication module.The peripheral system that continuous integrating instrument is connected is in order to realize structure Build the acquisition of details data, mainly have a following two scheme:
1, system accesses, by automatic regular polling, the task remote interface that continuous integrating instrument provides, and determines Whether the task of continuous integrating instrument completes to build;And when the task of inquiring has built, The structure details data of acquisition request task;
2, system directly reads the perdurable data of continuous integrating instrument by automatic regular polling, obtains and appoints The structure details data of business.
Use the mode of above-mentioned automatic regular polling, can frequently access continuous integrating instrument, cause huge resource consumption.
Summary of the invention
The embodiment of the present application provides a kind of task to build the offer method of message, is used for solving continuous integrating instrument Or continuous integration system is accessed frequently, and the problem of the huge resource consumption caused.
The embodiment of the present application also provides for a kind of task and builds the offer device of information.
For solving above-mentioned technical problem, the embodiment of the present application provides:
A kind of task builds the offer method of information, including:
Acquisition task builds information;It is to have built as triggering bar using task that wherein said task builds information Part determines;
Described task structure information is sent to peripheral system.
A kind of task builds the offer device of information, including:
Acquisition module, is used for the task that obtains and builds information;It is to build with task that wherein said task builds information Complete to determine as trigger condition;
Sending module, for being sent to peripheral system by described task structure information.
A kind of task builds the offer method of information, including:
Structure task, and monitor task structure state;
After the task of monitoring has built, it is thus achieved that task builds information;
Described task structure information is sent to peripheral system.
A kind of continuous integration system, including:
Continuous integrating instrument, is used for building task, and monitor task builds state;
Task builds the offer device of information, for after task has built, it is thus achieved that task builds information, Described task structure information is sent to peripheral system.
Compared with prior art, the embodiment of the present application has the advantages that
Continuous integrating instrument Hudson completes i.e. to trigger after task builds the offer device of task structure information and enters Row work, after task builds the offer device acquisition task structure information of information, the information that task built sends To peripheral system.Therefore, the embodiment of the present application can avoid peripheral system automatic regular polling continuous integrating instrument Hudson or continuous integration system, and cause the generation of huge resource consumption.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application Point, the schematic description and description of the application is used for explaining the application, is not intended that to the application not Work as restriction.In the accompanying drawings:
Fig. 1 is the schematic flow sheet that a kind of task that the embodiment of the present application provides builds the offer method of information;
Fig. 2 is that the part flow process of the offer method that a kind of task that the embodiment of the present application provides builds information is detailed Xie Tu;
Fig. 3 is the ActiveMQ clothes that a kind of task that the embodiment of the present application provides builds the offer method of information Business device and the annexation of peripheral system;
Fig. 4 is the system construction drawing providing device that a kind of task that the embodiment of the present application provides builds information;
Fig. 5 is offer device and the continuous integrating work that a kind of task that the embodiment of the present application provides builds information Tool Hudson, peripheral system, the connection diagram of middleware;
Fig. 6 is the flow process signal that the another kind of task that the embodiment of the present application provides builds the offer method of information Figure;
Fig. 7 is the system construction drawing of a kind of continuous integration system that the embodiment of the present application provides.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application Example, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of the application protection.
Fig. 1 is the schematic flow sheet that a kind of task that the embodiment of the present application provides builds the offer method of information.
Fig. 2 is that the part flow process of the offer method that a kind of task that the embodiment of the present application provides builds information is detailed Xie Tu.
Fig. 3 is the ActiveMQ clothes that a kind of task that the embodiment of the present application provides builds the offer method of information Business device and the annexation of peripheral system.
Described task builds the offer method of information and specifically includes following steps:
S101: task builds the offer device of information and obtains task structure information;Wherein task structure information is Build using task and to have determined as trigger condition.
In one embodiment, executive agent can be the offer device that task builds information, described task structure The offer device building information can embed in continuous integrating instrument with card format, and described task builds information There is provided device and continuous integrating instrument can realize data communication.
Owing to the offer device of described task structure information can embed in continuous integrating instrument with card format, In one embodiment, continuous integrating instrument can first operation task construction procedures, when task builds journey After sort run completes, described task is built information provides the program of device to call execution;I.e. work as institute Stating after continuous integrating instrument task built, described task builds the offer device of information and starts working also Acquisition task builds information.
Task is built information and is sent to peripheral system by the offer device of S102: task structure information.
Described peripheral system may be used for monitoring and manages the task structure situation of continuous integrating instrument.When continuing When integration tool has multiple stage, and every continuous integrating instrument has hundreds and thousands of tasks to be in structure, institute State peripheral system the unified structure situation to all tasks is monitored and is managed.
Described task builds offer device and the peripheral system UNICOM of information, can realize data communication.Described Task, after obtaining task structure information, is built information and is sent to periphery by the offer device of business structure information System.Specific embodiment has multiple, one of which embodiment, be pre-configured with transmission condition (can but not It is limited to peripheral system address and port), described task builds the offer device of information and builds letter in the task of acquisition After breath, according to transmission condition, task is built information and be sent to peripheral system;Wherein another kind of embodiment, The offer device of described task structure information, after obtaining task structure information, sends according to peripheral system Task is built information and is sent to peripheral system by access request.Wherein, access request mentioned here can not It is to send according to certain cycle, can be such as to there is task at peripheral system to build the acquisition need of information When asking, just send.
Further, task in step S102 is built the offer device of information and task is built information transmission Illustrate to peripheral system.In one embodiment, during the offer device of described task structure information passes through Between part, task is built information and is sent to peripheral system.Concrete, described task builds the offer dress of information Put after acquisition task structure information, be first sent to middleware, then outside being transmitted to according to condition by middleware Peripheral systems.In one embodiment, described middleware can be, but not limited to as ActiveMQ server.As Shown in Fig. 3, ActiveMQ server can be, but not limited to increase income ActiveMQ consumption end or/and other Information consumption system.The ActiveMQ that increases income consumption end is or/and other information consumption systems can be visited by transmission The request of asking is to ActiveMQ server, and message body is sent to by ActiveMQ server for access request The ActiveMQ that increases income consumption end is or/and other information consumption systems.
Further, task is built information by middleware and is sent to by the offer device that task builds information Peripheral system illustrates.Described task builds the offer device of information and builds information architecture message according to task Body;Message body is sent in the message queue of middleware, so that middleware is receiving peripheral system transmission Message queue access request after send message body to peripheral system.Concrete, described task builds information There is provided device to build information according to task and build message body with certain rule.Then, described task builds letter Breath provide device according to the transmission condition (middleware server address and message queue title) being pre-configured with, Message body is sent to middleware.Finally, described middleware according to the access request of peripheral system again by message Body is sent to peripheral system.
Further, the offer device that task builds information is carried out according to task structure information architecture message body Explanation.Described task build information offer device can connect with result, build node, structure sequence number, Build result, build in time-consuming, associated item ID, time started, end time, triggering mode extremely One item missing builds message body, and is packaged with JSON form.Concrete, according to monitoring and management needs, Artificial select result to connect, build node, build sequence number, build result, build time-consuming, associated item ID, One or more as demand item in time started, end time, triggering mode, described task builds The offer device project according to demand of information carries out message body structure.
Described message body can be packaged with JSON (JavaScript Object Notation) form.JSON Form is the data interchange format of a kind of lightweight, and it is based on JavaScript (Standard ECMA-2623rd Edition-December 1999) a subset.JSON form uses the text being totally independent of language Form, but also using be similar to C language family custom (include C, C++, C#, Java, JavaScript, Perl, Python etc.).These characteristics make JSON form become the exchange of preferable data Language, it is easy to people reads and writes, is also easy to machine simultaneously and resolves and generate (network transfer speeds is fast). JSON form can be resolved by ActiveMQ server and generate.
Further, task being built information is to have built, using task, the carrying out determined as trigger condition to say Bright.Described task build information be according to continuous integrating instrument Hudson after the task of monitoring has built The information sent determines.Concrete, described task builds the offer device of information and holds with card format embedding In continuous integration tool Hudson, after task has built, described continuous integrating instrument Hudson passes through Notifier inherits access point and sends information to the offer device of task structure information.Described task builds information Offer device according to acquisition of information task build information.
Further, task being built information is to monitor task structure according to continuous integrating instrument Hudson What the information sent after having built determined illustrates.Described continuous integrating instrument Hudson takes office in monitoring The information that business has sent after having built is: task builds contextual information;Described task builds the offer of information Device builds contextual information according to task, and the task that generates builds information.Concrete, described continuous integrating work Tool Hudson provides task to build contextual information by AbstractBuild.Wherein:
URL address (Uniform Resoure Locator: unified resource is fixed is obtained by AbstractBuild Position device), and splice with continuous integrating instrument Hudson address, it is thus achieved that result connects buildLink;
Obtained by AbstractBuild and build node buildNode;
Obtained by AbstractBuild and build sequence number buildNum;
Obtained by AbstractBuild and build result buildStatus;
Time started startTime is obtained by AbstractBuild.
Described task builds the offer device of information and connects according to result, builds node, builds sequence number, structure Result and time started, the task that generates builds information.
In one embodiment, result connects, builds node, builds sequence number, structure result and time started It is only generation task and builds the partial parameters of information.Generation task builds the parameter of information and also includes building consumption Time, associated item ID, the end time, triggering mode.
Described task builds the offer device of information according to continuous integrating instrument Hudson configuration information, it is thus achieved that Associated item ID jobID and triggering mode triggerType;
Described task builds the offer device of information by accessing continuous integrating instrument Hudson, it is thus achieved that current Time, it is end time stopTime;
Described task builds the offer device of information will deduct the time started end time, it is thus achieved that build time-consuming buildTimeTrend。
Described task builds the offer device of information and connects according to result, builds node, builds sequence number, structure Result, time started, structure are time-consuming, associated item ID, end time and triggering mode, generate task Structure information.
As in figure 2 it is shown, in one embodiment, first, task builds the offer device of information at task structure ActiveMQ server address and message queue title is obtained after having built.Then, task builds information There is provided device to build contextual information by the task that continuous integrating instrument Hudson provides and configuration information obtains Take and calculate, and the task that obtains builds information.Then, task builds the offer device of information according to task structure Build information architecture message body.Finally, task builds the offer device of information by message body transmission to ActiveMQ Server.
Thering is provided for the embodiment of the present application above of task builds the offer method of information, this area correlation technique people Member will be understood that the also corresponding offer device 100 providing a kind of task to build information of the embodiment of the present application, as Shown in Fig. 4.
Fig. 4 is the system structure providing device 100 that a kind of task that the embodiment of the present application provides builds information Figure.
Fig. 5 is offer device 100 and the continuous integrating that a kind of task that the embodiment of the present application provides builds information Instrument Hudson200, peripheral system 300, the connection diagram of middleware 400.
Described task builds the offer device 100 of information, including:
Acquisition module 101, is used for the task that obtains and builds information;Wherein task builds information is to build with task Complete to determine as trigger condition.
Sending module 102, is sent to peripheral system 300 for task is built information.
Described sending module 102 specifically for, by middleware 400, outside the information that task built is sent to Peripheral systems 300.
Described device also includes:
Build module 103, for building information architecture message body according to task;
Described sending module 102 specifically for, be sent to middleware by building the message body that builds of module 103 The message queue of 400, so that middleware 400 is receiving the message queue access that peripheral system 300 sends Message body be sent to peripheral system 300 after request.
Described structure module 103 specifically for, with result connect, build node, build sequence number, build knot Really, at least one in time-consuming, associated item ID, time started, end time, triggering mode is built Build message body, and be packaged with JSON form.
Described acquisition module 101 specifically for, take office in monitoring according to continuous integrating instrument Hudson 200 The information that business has sent after having built determines that task builds information.
The information that described continuous integrating instrument Hudson 200 has sent after the task of monitoring has built is: Task builds contextual information.Described acquisition module 101 specifically for, according to task build contextual information, Generation task builds information.
Fig. 6 is the flow process signal that the another kind of task that the embodiment of the present application provides builds the offer method of information Figure.
Described task builds the offer method of information and specifically includes following steps:
S201: continuous integration system builds task, and monitor task builds state.
In one embodiment, executive agent is continuous integration system.Described continuous integration system includes continuing Integration tool Hudson and task build the offer device of information.Described continuous integrating instrument Hudson structure Build task, and monitor task builds state.
S202: continuous integration system is after the task of monitoring has built, it is thus achieved that task builds information.
Described continuous integrating instrument Hudson is after the task of monitoring has built, integrated by Notifier Access point sends information to task and builds the offer device of information.Described task builds the offer device root of information Information is built according to acquisition of information task.
Task is built information and is sent to peripheral system by S203: continuous integration system.
Further, the information that builds continuous integration system in step S203 by task is sent to peripheral system and enters Row explanation.Described task builds the offer device of information and passes through middleware, outside the information that task built is sent to Peripheral systems.Concrete, the offer device of described task structure information is after obtaining task structure information, first It is sent to middleware, then is transmitted to peripheral system by middleware according to condition.
Further, by middleware, task is built by continuous integration system information to be sent to peripheral system and carry out Explanation.Described task builds the offer device of information and builds information architecture message body according to task;By message body It is sent in the message queue of middleware, so that middleware is receiving the message queue visit that peripheral system sends Message body be sent to peripheral system after asking request.
Further, according to task, continuous integration system is built information architecture message body to illustrate.Described The offer device of business structure information connects with result, builds node, structure sequence number, structure result, builds consumption Time, associated item ID, time started, end time, at least one in triggering mode build message body, And be packaged with JSON form.
Further, the task that obtains continuous integration system builds information and illustrates.Described continuous integrating instrument Hudson is after the task of monitoring has built, and the task that generates builds contextual information, and task is built Contextual information is sent to task and builds the offer device of information.Described task builds the offer device root of information Building contextual information according to task, the task that generates builds information.Concrete, described continuous integrating instrument Hudson, after the task of monitoring has built, provides task to build context by AbstractBuild and believes Breath.In one embodiment, generation task builds the parameter of information and also includes other information, other information roots Configuration information, access continuous integrating instrument Hudson system or calculating according to continuous integrating instrument Hudson Can obtain.Described task builds the offer device of information and builds contextual information and other information according to task, Generation task builds information.
Fig. 7 is the system construction drawing of a kind of continuous integration system that the embodiment of the present application provides.
Described continuous integration system, including:
Continuous integrating instrument 11, is used for building task, and monitor task builds state;
Task builds the offer device 12 of information, for after task has built, it is thus achieved that task builds letter Breath, the information that task built is sent to peripheral system 20.
Described task builds the offer device 12 of information and includes:
Acquisition module 121, for after task has built, the task that obtains builds information;
Sending module 122, is sent to peripheral system 20 for task is built information.
Described sending module 122 specifically for, by middleware 30, outside the information that task built is sent to Peripheral systems 20.
Described task builds the offer device 12 of information and also includes:
Build module 123, for building information architecture message body according to task;
Described sending module 122 specifically for, be sent to middleware by building the message body that builds of module 123 The message queue of 30, asks so that middleware 30 accesses at the message queue receiving peripheral system 20 transmission Message body be sent to peripheral system 20 after asking.
Described structure module 123 specifically for, with result connect, build node, build sequence number, build knot Really, at least one in time-consuming, associated item ID, time started, end time, triggering mode is built Build message body, and be packaged with JSON form.
Described continuous integrating instrument 11 specifically for, after task has built generate task build context Information, and task is built contextual information be sent to task build information offer device 12;
Described acquisition module 121 specifically for, according to task build contextual information, generate task build letter Breath.
Further, described continuous integrating instrument 11 is continuous integrating instrument Hudson.
In the embodiment of the present application, continuous integrating instrument Hudson completes i.e. to trigger task after task builds and builds The offer device of information is operated, after task builds the offer device acquisition task structure information of information, and will Task builds information and is sent to peripheral system.Therefore, the embodiment of the present application can avoid peripheral system automatic regular polling Continuous integrating instrument Hudson or continuous integration system, and cause the generation of huge resource consumption.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non- Comprising of exclusiveness, so that include that the process of a series of key element, method, commodity or equipment not only wrap Include those key elements, but also include other key elements being not expressly set out, or also include for this process, The key element that method, commodity or equipment are intrinsic.In the case of there is no more restriction, statement " include One ... " key element that limits, it is not excluded that including the process of described key element, method, commodity or setting Other identical element is there is also in Bei.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM, Optical memory etc.) form of the upper computer program implemented.
The foregoing is only embodiments herein, be not limited to the application.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvement etc. made, within the scope of should be included in claims hereof.

Claims (17)

1. the offer method of a task structure information, it is characterised in that including:
Acquisition task builds information;It is to have built as triggering bar using task that wherein said task builds information Part determines;
Described task structure information is sent to peripheral system.
2. the method for claim 1, it is characterised in that
Described task structure information is sent to peripheral system, specifically includes:
By middleware, described task structure information is sent to described peripheral system.
3. method as claimed in claim 2, it is characterised in that
By middleware, described task structure information is sent to described peripheral system, specifically includes:
Information architecture message body is built according to described task;
Described message body is sent in the message queue of described middleware, so that described middleware is receiving Described message body is sent to described peripheral system after the message queue access request that described peripheral system sends.
4. method as claimed in claim 3, it is characterised in that
Build information architecture message body according to described task, specifically include:
Connect with result, build node, build sequence number, build result, build time-consuming, associated item ID, At least one in time started, end time, triggering mode builds described message body, and with JSON lattice Formula is packaged;
Described message body is sent in the message queue of described middleware, specifically includes:
The described message body being packaged with JSON form is sent in the message queue of described middleware.
5. the method as described in any one in claim 1-4, it is characterised in that
Described task structure information has built using task and has determined as trigger condition, specifically includes:
Described task build information be according to continuous integrating instrument Hudson after the task of monitoring has built The information sent determines.
6. method as claimed in claim 5, it is characterised in that continuous integrating instrument Hudson is in monitoring The information sent after having built to task is: task builds contextual information;
Acquisition task builds information, specifically includes:
Build contextual information according to described task, generate described task and build information.
7. the offer device of a task structure information, it is characterised in that including:
Acquisition module, is used for the task that obtains and builds information;It is to build with task that wherein said task builds information Complete to determine as trigger condition;
Sending module, for being sent to peripheral system by described task structure information.
8. device as claimed in claim 7, it is characterised in that
Described sending module specifically for, by middleware, described task structure information is sent to described outside Peripheral systems.
9. device as claimed in claim 8, it is characterised in that described device also includes:
Build module, for building information architecture message body according to described task;
Described sending module specifically for, the message body of described structure module construction is sent to described middleware Message queue so that described middleware receiving described peripheral system send message queue access request The described message body of rear transmission is to described peripheral system.
10. device as claimed in claim 9, it is characterised in that
Described structure module specifically for, with result connect, build node, build sequence number, build result, At least one built in time-consuming, associated item ID, time started, end time, triggering mode builds Described message body, and be packaged with JSON form;
Described sending module specifically for, by described structure module construction, be packaged with JSON form Message body be sent to the message queue of described middleware.
11. devices as described in any one in claim 7-10, it is characterised in that
Described acquisition module specifically for, built in the task of monitoring according to continuous integrating instrument Hudson The information sent after one-tenth determines that described task builds information.
12. devices as claimed in claim 11, it is characterised in that
The information that described continuous integrating instrument Hudson has sent after the task of monitoring has built is: task Build contextual information;
Described acquisition module specifically for, according to described task build contextual information, generate described task structure Build information.
13. 1 kinds of tasks build the offer method of information, it is characterised in that including:
Structure task, and monitor task structure state;
After the task of monitoring has built, it is thus achieved that task builds information;
Described task structure information is sent to peripheral system.
14. methods as claimed in claim 13, it is characterised in that
Task is built information and is sent to peripheral system, specifically include:
By middleware, described task structure information is sent to described peripheral system.
15. method as claimed in claim 14, it is characterised in that
By middleware, described task structure information is sent to described peripheral system, specifically includes:
Information architecture message body is built according to described task;
Described message body is sent in the message queue of described middleware, so that described middleware is receiving Described message body is sent to described peripheral system after the message queue access request that described peripheral system sends.
16. methods as claimed in claim 15, it is characterised in that
Information architecture message body is built according to described task;Specifically include:
Connect with result, build node, build sequence number, build result, build time-consuming, associated item ID, At least one in time started, end time, triggering mode builds described message body, and with JSON lattice Formula is packaged;
Described message body is sent in the message queue of described middleware, specifically includes:
The described message body being packaged with JSON form is sent in the message queue of described middleware.
17. methods as described in any one in claim 13-16, it is characterised in that
Acquisition task builds information, specifically includes:
The task that generates after task has built builds contextual information;
Build contextual information according to described task, generate described task and build information.
CN201510024456.6A 2015-01-16 2015-01-16 Providing method and device for establishment information of tasks Pending CN105843597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510024456.6A CN105843597A (en) 2015-01-16 2015-01-16 Providing method and device for establishment information of tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510024456.6A CN105843597A (en) 2015-01-16 2015-01-16 Providing method and device for establishment information of tasks

Publications (1)

Publication Number Publication Date
CN105843597A true CN105843597A (en) 2016-08-10

Family

ID=56580283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510024456.6A Pending CN105843597A (en) 2015-01-16 2015-01-16 Providing method and device for establishment information of tasks

Country Status (1)

Country Link
CN (1) CN105843597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376106A (en) * 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520952A (en) * 2011-12-14 2012-06-27 北京佳讯飞鸿电气股份有限公司 Automatic construction and issuing method of software code version
CN103577907A (en) * 2012-07-24 2014-02-12 阿里巴巴集团控股有限公司 Continuous integration testing method and system
US20140222772A1 (en) * 2013-01-13 2014-08-07 Reduxio Systems Ltd. Storage system and methods for time continuum data retrieval
CN104065540A (en) * 2014-07-11 2014-09-24 网之易信息技术(北京)有限公司 Data monitoring system and method
CN104156798A (en) * 2014-07-08 2014-11-19 四川中电启明星信息技术有限公司 System data real-time push framework adopting enterprise authority source and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520952A (en) * 2011-12-14 2012-06-27 北京佳讯飞鸿电气股份有限公司 Automatic construction and issuing method of software code version
CN103577907A (en) * 2012-07-24 2014-02-12 阿里巴巴集团控股有限公司 Continuous integration testing method and system
US20140222772A1 (en) * 2013-01-13 2014-08-07 Reduxio Systems Ltd. Storage system and methods for time continuum data retrieval
CN104156798A (en) * 2014-07-08 2014-11-19 四川中电启明星信息技术有限公司 System data real-time push framework adopting enterprise authority source and method
CN104065540A (en) * 2014-07-11 2014-09-24 网之易信息技术(北京)有限公司 Data monitoring system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ZHAOQQXX: "ActiveMQ的JMS教程", 《HTTPS://WENKU.BAIDU.COM/VIEW/EBBF41D4195F312B3169A5A3.HTML?FROM=SEARCH》 *
许晓斌: "《Maven实战》", 31 January 2011, 机械工业出版社 *
陈刚 等: "软件项目开发中的持续集成研究", 《项目管理技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376106A (en) * 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system

Similar Documents

Publication Publication Date Title
CN105005532B (en) A kind of system and method for automatic test application programming interfaces stability
CN108153670A (en) A kind of interface test method, device and electronic equipment
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
EP4176602A1 (en) Method and apparatus for updating gateway resource, and iot control platform
US20140156849A1 (en) Map-reduce workflow processing apparatus and method, and storage media storing the same
CN106548261A (en) A kind of Business Process Control method, device and electronic equipment
EP2629205A1 (en) Multi-entity test case execution workflow
CN106201856A (en) A kind of multi version performance test methods and device
CN114791846B (en) Method for realizing observability aiming at cloud-originated chaos engineering experiment
CN109614227A (en) Task resource concocting method, device, electronic equipment and computer-readable medium
US20120272190A1 (en) Method and System for Graphically Enabled Service Oriented Architecture
CN108134812A (en) Data processing method and device
CN112202617B (en) Resource management system monitoring method, device, computer equipment and storage medium
CN107968833A (en) A kind of cloud application performance monitoring method based on execution route
CN109978392A (en) Agile Software Development management method, device, electronic equipment, storage medium
CN113391901A (en) RPA robot management method, device, equipment and storage medium
CN107370808A (en) A kind of method for being used to carry out big data task distributed treatment
CN111966556A (en) Performance pressure measurement method and device, server and computer readable storage medium
KR102545045B1 (en) Method and apparatus for generating information
CN106802865A (en) For the response analogue means and method of software test
CN112306471A (en) Task scheduling method and device
CN117234916A (en) Workflow application testing method and device, electronic equipment and storage medium
CN105843597A (en) Providing method and device for establishment information of tasks
CN109885400A (en) Method and apparatus for sending instruction
CN109144884A (en) Program error localization method, device and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810

RJ01 Rejection of invention patent application after publication