CN106649123A - Continuous integration-oriented alarm system and method - Google Patents
Continuous integration-oriented alarm system and method Download PDFInfo
- Publication number
- CN106649123A CN106649123A CN201611236998.0A CN201611236998A CN106649123A CN 106649123 A CN106649123 A CN 106649123A CN 201611236998 A CN201611236998 A CN 201611236998A CN 106649123 A CN106649123 A CN 106649123A
- Authority
- CN
- China
- Prior art keywords
- alarm
- task
- notice
- status information
- integrated
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test 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)
- Alarm Systems (AREA)
Abstract
The embodiment of the invention provides a continuous integration-oriented alarm system and method. The system comprises a management device interacting with a continuous integration system, acquiring task integration state information of the continuous integration system in real time, matching the task integration state information and alarm state information of a preset informing and alarming rule, generating an informing and alarming instruction for the task integration state information according to an informing way and informing target of the informing and alarming rule when the match successes, giving out an information-type alarm inform according to the informing and alarming instruction, and a control terminal giving out a sound-light type alarming inform according to the informing and alarming instruction. Different types of alarms and informs can be given out with combinations of sound and light, so that different developers can timely and effectively receive alarms and informs cared by different people; a server of the continuous integration system can be assembled on a server without a sound card device, so dependency on computers can be reduced and transplantability can be improved.
Description
Technical field
The present invention relates to item code development technique field, more particularly to a kind of warning system and side towards continuous integrating
Method.
Background technology
Continuous integrating is a kind of by industry accreditation and widely used practice of software, is necessary group of agile development
Into it can make the work fast integration of development teams and verify, find to develop software in integrated middle produced problem in time.
In practice, in order to ensure development efficiency and quality, often specify that continuous integrating builds failure, needs the same day to solve, otherwise entirely
Group personnel can not come off duty.For the result of continuous integrating, not only developer needs to be concerned about, and all levels of management personnel is also very
It is deeply concerned.However, in actual applications, restrict continuous integrating Resolving probiems it is critical only that how result will be built timely and effectively
Notify all kinds of personnel of correlation.
At present, monitoring and feed back the method or apparatus of continuous integrating state mainly has three kinds of modes:One is without any exhibition
Show and alerting pattern, need personnel actively to pay close attention to the structure of the continuous integrating such as Jenkins software interface or inquiry continuous integrating task
Build daily record to determine the integrated state of continuous integrating task;Two Email sending modules that have been continuous integrating Tool integration or i.e.
When communication module, the state of continuous integrating task is pushed into specific people by modes such as mails;Three are shown using computer
Device connects the external equipments such as indicator lamp, sound equipment by USB interface, in time the integrated state of feedback continuous integrating task;But
It is the equal existing defects of three of the above method.
First method is that personnel actively pay close attention to the interface of the continuous integrating software such as Jenkins or the structure of inquiry continuous integrating
Build daily record to check the integrated state of continuous integrating task, this mode can cause that response speed is slack-off and progress is uncontrollable,
Problem repairing efficiency extends, and then affects the validity and promptness of continuous integrating so that integrated to be difficult to continue.
Second method is by the way that Email sending module or instant messaging module etc. are integrated into continuous integrating instrument
In, and it is (fixed i.e. in continuous integrating software that the result of continuous integrating task is pushed into specific people by modes such as mails
The configuration email address of Related Contact, office communications software address and audio amplifier play the mode of special audio to be notified).
For example, a directive sending module is included in continuous integration system and method, it is sent to and is owned for error message will to be built
The information receiving end of person.Result will be built by way of mail notification and is sent to corresponding developer, carried in mail and build
Destination file, developer needs manual read to build destination file, therefrom finds out one's own code error, then carries out
Code revision.When developer is due to not by computer or when can not check mail in time, then can not in time have found these mails
Information and quick solve problem, so that delay process opportunity.
The third method is to connect the external equipments such as indicator lamp, sound equipment using computer monitor or by USB interface, and
When feed back continuous integrating task integrated state.For example, the QA groups of baidu company propose a kind of continuous integrating of low cost
In time feedback solutions, one is placed near continuous integrating team in this scheme by a USB lamp (Lavalamp)
On desktop computer, by the plug-in unit for installing corresponding continuous integrating software, can be shown using different colors and specify continuous integrating
The current state of task, moreover it is possible to aroused attention with chimes of doom in continuous integrating failure or part failure.Propose to lead to simultaneously
The plug-in unit of continuous integrating software is crossed, with display and the vision and auditory effect of stereo set part performing Lavalamp lamps.This side
Although method can be timely responded to, however it is necessary that continuous integrating software server is mounted in into one having on the server of sound card equipment, institute
It is portable poor with stronger to the dependence of computer.For example, when continuous integrating server is arranged on cloud main frame or virtual machine
On then cannot use, but at present continuous integrating server is exactly universal not in physical machine in practice.Additionally, the program needs
Notified personnel are on the scene just to prove effective, and notify that form is single, limit usable range.
Additionally, above-mentioned various schemes are all poorly suited for use in the continuous integrating under scale agility, for tissue class
It is quick implement for, such scheme all seems awkward.
The content of the invention
A kind of warning system towards continuous integrating is embodiments provided, is monitored and is fed back to solve prior art
Notice form present in continuous integrating state procedure is single, the technology that dependence is stronger, portability is poor to computer
Problem.The system includes:Managing device, for interacting with continuous integration system, obtains in real time the continuous integration system
The integrated status information of task;By the integrated status information of the task and the default alarm status information notified in alarm regulation
Matched, it is integrated to the task according to the advice method and notice object of the notice alarm regulation when the match is successful
Status information is generated and notifies alarm command;The alarm notification of message form is sent according to the notice alarm command;Control terminal,
For sending the alarm notification of sound and light form according to the notice alarm command.
In one embodiment, the integrated status information of the task, including:The integrated structure result of task and/or task
Each working condition in integrating process.
In one embodiment, default notice alarm regulation is that user configures according to different alarm demands, and each leads to
Know alarm regulation include the alarm status information it is corresponding with the alarm status information notify object and with the alarm
The corresponding advice method of status information.
In one embodiment, the managing device, including:Management module, for operational management software and continuous integrating
System is interacted, and the integrated status information of task of the continuous integration system is obtained in real time;By the integrated state letter of the task
Cease and matched with the alarm status information in default notice alarm regulation, when the match is successful, notify to alert according to described
The advice method and notice object of rule, generates to the integrated status information of the task and notifies alarm command;First communication module,
For sending the alarm notification of message form according to the notice alarm command, the notice alarm command is sent into the control
Terminal processed;The control terminal, including:The announcement of second communication module, control chip, the alarm equipment of light form and sound form
Alert equipment, wherein, the second communication module, for receiving the notice alarm command;The control chip, for according to institute
State the alarm notification that the alarm equipment for notifying alarm command to control the smooth form sends light form;Referred to according to notice alarm
The alarm equipment of the order control sound form sends the alarm notification of sound form.
In one embodiment, management module operation PC (Personal Computer, personal computer) version,
The management software of APP (Application, client application software) versions or WEB versions.
In one embodiment, the first communication module, is additionally operable to receive towards outside the warning system of continuous integrating
The control instruction of the control continuous integration system operation that terminal sends;Receive the control that the second communication module sends
The work state information of terminal processed;The second communication module, was additionally operable to receive towards the end outside the warning system of continuous integrating
The control control terminal that end sends sends the control information of the alarm notification of sound and light form.
In one embodiment, also include:Display, for showing that the task is integrated according to the notice alarm command
Status information;And/or, loudspeaker, for playing the alarm notification of audio form according to the notice alarm command.
In one embodiment, the control terminal, also includes:Relay, for connecting alarm equipment.
In one embodiment, the control terminal, also includes:Control interface, for connecting alarm equipment.
The embodiment of the present invention additionally provides a kind of alarm method towards continuous integrating, simultaneously anti-to solve prior art monitoring
Notice form present in feedback continuous integrating state procedure is single, the skill that dependence is stronger, portability is poor to computer
Art problem.The method includes:Interact with continuous integration system, the integrated shape of task of the continuous integration system is obtained in real time
State information;The integrated status information of the task is matched with the alarm status information in default notice alarm regulation,
When the match is successful, according to the advice method and notice object of the notice alarm regulation, to the integrated status information life of the task
Into notice alarm command;The alarm notification of sound, light and message form is sent according to the notice alarm command.
In one embodiment, the integrated status information of the task, including:The integrated structure result of task and/or task
Each working condition in integrating process.
In one embodiment, default notice alarm regulation is that user configures according to different alarm demands, and each leads to
Know alarm regulation include the alarm status information it is corresponding with the alarm status information notify object and with the alarm
The corresponding advice method of status information.
In embodiments of the present invention, interacted with continuous integration system by managing device, persistently collected to obtain in real time
Into the integrated status information of task of system, and by the integrated status information of task and it is default notify alarm regulation in alarm status
Information is matched, when the match is successful, as per advice the advice method of alarm regulation and notify object, to the integrated state of task
Information is generated and notifies alarm command, and finally, managing device is controlled according to notifying alarm command to send the alarm notification of message form
According to notifying alarm command to send the alarm notification of sound and light form, realizing can be simultaneously emitted by difference to terminal with reference to acousto-optic-electric
The alarm notification of form so that different developer can in time, effectively receive each alarm notification of concern,
This is improve towards the usable range of the warning system of continuous integrating.Simultaneously as being that sound and light are realized by control terminal
The alarm notification of form, the control terminal is independently of continuous integration system so that the server of continuous integration system can be with
It is mounted on a server without sound card equipment, for example, continuous integrating server may be mounted on cloud main frame or virtual machine
Use, and the position of control terminal is also unrestricted, so as to reduce the dependence to computer, improves portability, favorably
Multiple team are distributed in the coordination problem of multiple Office Areas under adaptation scale agility.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, not
Constitute limitation of the invention.In the accompanying drawings:
Fig. 1 is a kind of structured flowchart of warning system towards continuous integrating provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of control terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of enforcement schematic diagram of warning system towards continuous integrating provided in an embodiment of the present invention;
Fig. 4 is a kind of workflow diagram of warning system towards continuous integrating provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of alarm method towards continuous integrating provided in an embodiment of the present invention.
Specific embodiment
It is right with reference to embodiment and accompanying drawing to make the object, technical solutions and advantages of the present invention become more apparent
The present invention is described in further details.Here, the exemplary embodiment of the present invention and its illustrate for explaining the present invention, but and
It is not as a limitation of the invention.
In embodiments of the present invention, there is provided a kind of warning system towards continuous integrating, as shown in figure 1, the system bag
Include:
Managing device 101, for interacting with continuous integration system, obtains in real time the task of the continuous integration system
Integrated status information;The integrated status information of the task and the default alarm status information notified in alarm regulation are carried out
Match somebody with somebody, when the match is successful, according to the advice method and notice object of the notice alarm regulation, to the integrated state letter of the task
Breath is generated and notifies alarm command;The alarm notification of message form is sent according to the notice alarm command.
Control terminal 102, for sending the alarm notification of sound and light form according to the notice alarm command.
Understand as shown in Figure 1, in embodiments of the present invention, interacted with continuous integration system by managing device, come
The integrated status information of task of continuous integration system is obtained in real time, and the integrated status information of task is notified into alarm rule with default
Alarm status information in then is matched, when the match is successful, as per advice the advice method of alarm regulation and notify object,
The integrated status information of task is generated and notifies alarm command, finally, managing device sends message form according to notice alarm command
Alarm notification, according to notifying alarm command to send the alarm notification of sound and light form, realizing can be with reference to sound for control terminal
Photoelectricity is simultaneously emitted by the alarm notification of multi-form so that different developer can in time, effectively receive respective institute
The alarm notification of care, also improves this towards the usable range of the warning system of continuous integrating.Simultaneously as being by control
Realizing the alarm notification of sound and light form, the control terminal is independently of continuous integration system to terminal so that continuous integrating
The server of system can be mounted on a server without sound card equipment, and for example, continuous integrating server may be mounted at
Use on cloud main frame or virtual machine, and the position of control terminal is also unrestricted, so as to reduce the dependence to computer, improves
Portability, is conducive to adapting to the coordination problem that multiple team under scale agility are distributed in multiple Office Areas.
When being embodied as, the integrated status information of above-mentioned task can include:The integrated structure result of task and/or task-set
Each working condition into during.I.e. the integrated status information of the task can not only include the integrated structure result of task,
For example, the integrated structure failure result of certain task;Can also include continuous integration system task it is integrated during each work
State, for example, integrated real-time progress status of certain task etc., the abundant of the integrated status information of task causes the developer can be with
The task integrating process of monitor in real time continuous integration system while concern builds result.
When being embodied as, in order to realize can configuration notification alarm regulation anywhere or anytime, for different alarm demand realities
Now customize, easily, in real time, effectively alert, in the present embodiment, default notice alarm regulation is that user can basis
Different alarm demand configurations, for example, can be by way of parametrization configuration come configuration notification alarm regulation.Each notifies to accuse
Police regulations then include the alarm status information it is corresponding with the alarm status information notify object and with the alarm status
The corresponding advice method of information.For example, for certain warning demand, the alarm that the notice alarm regulation includes can first be determined
Status information, for example, the alarm status information can be build result, task it is integrated during certain working condition and certain
The multiple combination of individual working condition;Then to notifying object to be layered, determining that the alarm status information needs subangle color logical
The object known, for example, the notice pair likes a personal or colony, realizes that the alarm of orientation notice is mutually tied with range notification alarm
Close;Further according to alarm status information be whether emergency or notify Properties of Objects, determine advice method, for example, by sound,
, simultaneously to notifying object to send alarm notification, specifically, message form can be by sending short messages or mail for light and message form
Realize, the alarm notification of sound form can realize that the alarm notification of light form can be by report by buzzer or voice call
Warning lamp is realized.
Specifically, the notice alarm regulation that configuration is completed can be stored in the middle of " notifying alarm regulation storehouse ", while " notifying
There can also be some preset common rules in alarm regulation storehouse " for users to use, " notifying alarm regulation storehouse " can also store
Possible solution to notifying that alarm regulation is related, call in time during to need, the problem for making continuous integrating is obtained in time
Solve.
When being embodied as, in the present embodiment, the managing device 101, including:Management module, it is soft for operational management
Part is interacted with continuous integration system, and the integrated status information of task of the continuous integration system is obtained in real time;By described
Integrated status information of being engaged in is matched with the alarm status information in default notice alarm regulation, when the match is successful, according to
It is described to notify the advice method of alarm regulation and notify object, the integrated status information of the task is generated and notifies alarm command;
First communication module, for sending the alarm notification of message form according to the notice alarm command, notice alarm is referred to
Order is sent to the control terminal;
As shown in Fig. 2 the control terminal 102, including:Second communication module 201, control chip 202, the announcement of light form
The alarm equipment of alert equipment and sound form, wherein, the second communication module 201, for receiving the notice alarm command;
Specifically, the second communication module 201 can be serial communication modular.The control chip 202, for notifying to accuse according to described
The alarm equipment that alert instruction controls the smooth form sends the alarm notification of light form;According to the notice alarm command control institute
The alarm equipment for stating sound form sends the alarm notification of sound form.Specifically, core of the control chip 202 as control terminal 102
The heart, for controlling and coordinating the operation of interface equipment on control terminal, operation system on integrated complete piece on the control chip 202
System 2012 is controlling electronic circuit.As shown in Fig. 2 the alarm equipment of above-mentioned sound form can be connected by buzzer interface 204
The buzzer for connecing, the alarm equipment of above-mentioned smooth form can be the alarm lamp connected by alarm lamp interface 203.
When being embodied as, for the ease of extending the external equipment of control terminal 102, in the present embodiment, above-mentioned control end
End 102 also includes:Relay, for connecting alarm equipment, as shown in Fig. 2 the relay is connected to by relay interface 206
On control terminal 102, the relay is a kind of electric control device, for Chip Operating System extension control external equipment.Additionally,
Above-mentioned control terminal 102 also includes:Control interface 205, for connecting alarm equipment, the control interface 205 is used as control terminal
102 reserved control interface, so that when needed, user can at any time extension assembling be a variety of on control terminal 102
External alarm equipment.
When being embodied as, as shown in Fig. 2 above-mentioned control terminal 102 can also include control panel 207, power module
208th, display module 209, clock module 2010, memory module, drive module and possess GPRS (General Packet
Radio Service, general packet radio service technology) and short message dual-channel transmission data function wireless communication module
2011 etc..
When being embodied as, above-mentioned control terminal 102 can (Universal Serial Bus, general serial be total by USB
Line) interface is connected in the managing device of the forms such as computer, plug and pull is relatively low to computer dependence, it is portable preferably.Control
Terminal processed 102 by computer interface, and can be communicated by other-end or task equipment with managing device.
When being embodied as, in the present embodiment, the first communication module is additionally operable to receive the alarm towards continuous integrating
The control instruction of the control continuous integration system operation that the terminal (for example, mobile phone, panel computer etc.) outside system sends, example
Such as, management software real time inspection institute is passed through towards the terminal (for example, mobile phone, panel computer etc.) outside the warning system of continuous integrating
After stating the structure state and result of project in continuous integration system, to first communication module the control continuous integration system is sent
Carry out the control instruction of the operation such as " rebuilding ", " terminating building ", " modification building mode ";Receive the second communication module
The work state information of the control terminal for sending;The second communication module, is additionally operable to receive the announcement towards continuous integrating
The control control terminal that terminal outside alarm system sends sends the control information of the alarm notification of sound and light form, for example,
Second communication module can receive the control control terminal of the terminal transmission towards outside the warning system of continuous integrating and send
The control information of the alarm notification of sound and light form, specifically, the control information may be off on control terminal alarm lamp and
The warning devices such as buzzer.
When being embodied as, the management module can run the management software of PC versions, APP versions or WEB versions, with reality
Now communication function can be carried out by the interface of computer, mobile terminal etc. and control terminal.Specifically, when management software is PC versions
This when, above-mentioned managing device can be realized by computer, when management software is APP versions or WEB versions, above-mentioned managing device
Can be realized by mobile terminals such as mobile phone, panel computers.
When being embodied as, management software there may be two kinds of forms, and management software both can be a single software, lead to
Cross external interface to interact with continuous integrating software, it is also possible to enter as a plug-in unit in continuous integrating software.
It is in the present embodiment, above-mentioned towards continuous integrating in order to effectively further send alarm notification when being embodied as
Warning system also include:Display, for showing the integrated status information of the task according to the notice alarm command;With/
Or, loudspeaker, for playing the alarm notification of audio form according to the notice alarm command.
When being embodied as, the above-mentioned warning system towards continuous integrating can be realized by form as shown in Figure 3,
When management software is PC versions, the function of managing device is realized by PC 1, i.e., the management that PC versions are run on PC 1 is soft
Part 3, the management software 3 is interacted with continuous integrating software, and the integrated status information of task for obtaining continuous integrating software is generated
Alarm command is notified, mail and instant messaging are sent according to notice alarm command, or according to notice alarm command triggering control
The equipment such as loudspeaker, warning lamp in terminal send alarm notification;Simultaneously continuous integrating software 2 can be run on PC 1;
When management software is APP versions or WEB versions, the function of managing device is realized by hand-held terminal device, for example, APP versions
This management software 10 and the management software 11 of WEB versions are operated on hand-held terminal device 12, and hand-held terminal device 12 passes through
The mode of radio communication is interacted with control terminal, and control terminal can be connected on PC 1 by USB interface, hand-held end
The management software run in the management software run in end equipment 12 and PC 1 is interacted with continuous integrating software 2, is obtained in real time
The integrated status information of task of continuous integration system, and notice alarm command is generated, management software can be according to notice alarm command
The alarm notification of message form is sent by way of mail, instant messaging, and will notify that alarm command is sent to control terminal
102, control terminal 102 according to notifying alarm command to send the alarm notification of light form by alarm lamp 5, by buzzer 6
The alarm notification of form of speaking, now, control terminal 102 has been also connected with relay 7 and spare interface 8, so that user can be free
The alarm equipment for needing assembling is determined, it is simple, it is safe and reliable;Meanwhile, PC 1 can also will notify that alarm command is sent to
Display screen 9, the display screen 9 can show the integrated state of specific task with boombox, display screen 9 according to notice alarm command
Information, loudspeaker plays the alarm notification of audio form, to realize notifying to be concerned about structure by any combination of acousto-optic-electric means
The each level personnel for building result.
When being embodied as, the work side of the above-mentioned warning system towards continuous integrating is illustrated below in conjunction with specific example
Method, as shown in figure 4, the method is comprised the following steps:
S1:First have to select a continuous integrating software for being adapted to this project or team, and this software need can be by
What the above-mentioned management software in the present invention was supported, such as Jenkins.
S2:Continuous integrating is the continuous integrating of the item code to developing, so this step is by the item code of exploitation
In being configured to continuous integrating software, and set which type of structure result needs to be alerted.
S3:There are two kinds of forms in the above-mentioned management software in the present invention, it both can be a single software, by outer
Portion's interface is interacted with continuous integrating software, it is also possible to entered as a plug-in unit in continuous integrating software.In a word,
This step is the above-mentioned management software of connection and continuous integrating software.
S4:Above-mentioned management software is configured, if to realize mail notification, office system notice etc., then needing will service
Information configuration in above-mentioned management software, i.e., advice method include mail notification, office system notify etc. when, by addresses of items of mail
Etc. in information configuration to above-mentioned management software.
S5:Above-mentioned management software is tested after the completion of configuration, including PC versions, APP versions and WEB versions, if taken less than
A certain version can not also test the version.It is successfully tested, performs S6, test crash then returns to S4 modification configurations.
S6:How about the configuration notification alarm regulation in above-mentioned management software, such as certain state of certain structure JOB are by
Advice method notify to whom.Its configuration result will be stored in the middle of " notifying alarm regulation storehouse ", while in rule base
There can be some preset common rules for users to use.The present invention not only can be alerted to the result for building failure, and
And also support to notify other states and multiple combinations of states.
S7:Judged whether to need external equipment according to the notice alarm regulation of S6 configurations, controlled in the external equipment such as present invention
Terminal processed and externally connected with display screen etc., if necessary to external equipment, then perform S8, if not needing external equipment, perform S9.
S8:If necessary to external equipment, then connect corresponding external alarm equipment.In externally connected with display screen and the present invention
Control terminal etc..
S9:After everything in readiness, item code is persistently built, the result to be built such as above-mentioned management software and judgement be
No trigger notice alarm regulation.
S10:If trigger notice alarm regulation, S11 is performed, if not trigger notice alarm regulation, perform S9.
S11:If the JOB of continuous integrating software builds result trigger notice alarm regulation, the action for setting is performed,
Such as mail notification, instant communication software notice, SMS notification, audible and visual alarm, play voice.
S12:After notifying that alarm purpose is reached, notified personnel can release related alarm, and perform corresponding corrective measure.
Based on same inventive concept, a kind of alarm method towards continuous integrating is additionally provided in the embodiment of the present invention, such as
Described in the following examples.Principle and the alarm towards continuous integrating due to the alarm method solve problem towards continuous integrating
System is similar, therefore towards the enforcement reality that may refer to towards the warning system of continuous integrating of the alarm method of continuous integrating
Apply, repeat part and repeat no more.Used below, term " unit " or " module " can realize the software of predetermined function
And/or the combination of hardware.Although the device described by following examples is preferably realized with software, hardware, or soft
The realization of the combination of part and hardware is also may and to be contemplated.
Fig. 5 is the flow chart of the alarm method towards continuous integrating of the embodiment of the present invention, as shown in figure 5, the method bag
Include:
Step 501:Interact with continuous integration system, the integrated state of task of the continuous integration system is obtained in real time
Information;
Step 502:The integrated status information of the task is entered with the alarm status information in default notice alarm regulation
Row matching, when the match is successful, according to the advice method and notice object of the notice alarm regulation, to the integrated shape of the task
State information is generated and notifies alarm command;
Step 503:The alarm notification of sound, light and message form is sent according to the notice alarm command.
In one embodiment, the integrated status information of the task, including:The integrated structure result of task and/or task
Each working condition in integrating process.
In one embodiment, default notice alarm regulation is that user configures according to different alarm demands, and each leads to
Know alarm regulation include the alarm status information it is corresponding with the alarm status information notify object and with the alarm
The corresponding advice method of status information.
In embodiments of the present invention, interacted with continuous integration system by managing device, persistently collected to obtain in real time
Into the integrated status information of task of system, and by the integrated status information of task and it is default notify alarm regulation in alarm status
Information is matched, when the match is successful, as per advice the advice method of alarm regulation and notify object, to the integrated state of task
Information is generated and notifies alarm command, and finally, managing device is controlled according to notifying alarm command to send the alarm notification of message form
According to notifying alarm command to send the alarm notification of sound and light form, realizing can be simultaneously emitted by difference to terminal with reference to acousto-optic-electric
The alarm notification of form so that different developer can in time, effectively receive each alarm notification of concern,
This is improve towards the usable range of the warning system of continuous integrating.Simultaneously as being that sound and light are realized by control terminal
The alarm notification of form, the control terminal is independently of continuous integration system so that the server of continuous integration system can be with
It is mounted on a server without sound card equipment, for example, continuous integrating server may be mounted on cloud main frame or virtual machine
Use, and the position of control terminal is also unrestricted, so as to reduce the dependence to computer, improves portability, favorably
Multiple team are distributed in the coordination problem of multiple Office Areas under adaptation scale agility.
Obviously, those skilled in the art should be understood that each module or each step of the above-mentioned embodiment of the present invention can be with
Realized with general computing device, they can be concentrated on single computing device, or be distributed in multiple computing devices
On the network for being constituted, alternatively, they can be realized with the executable program code of computing device, it is thus possible to by it
Store and performed by computing device in the storage device, and in some cases, can be holding different from order herein
The shown or described step of row, or they are fabricated to respectively each integrated circuit modules, or will be multiple in them
Module or step are fabricated to single integrated circuit module to realize.So, the embodiment of the present invention is not restricted to any specific hard
Part and software are combined.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the embodiment of the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made
Any modification, equivalent substitution and improvements etc., should be included within the scope of the present invention.
Claims (12)
1. a kind of warning system towards continuous integrating, it is characterised in that include:
Managing device, for interacting with continuous integration system, obtains in real time the integrated shape of task of the continuous integration system
State information;The integrated status information of the task is matched with the alarm status information in default notice alarm regulation,
When the match is successful, according to the advice method and notice object of the notice alarm regulation, to the integrated status information life of the task
Into notice alarm command;The alarm notification of message form is sent according to the notice alarm command;
Control terminal, for sending the alarm notification of sound and light form according to the notice alarm command.
2. the warning system towards continuous integrating as claimed in claim 1, it is characterised in that the integrated state letter of the task
Breath, including:
Each working condition during the integrated structure result of task and/or task are integrated.
3. the warning system towards continuous integrating as claimed in claim 1, it is characterised in that default notice alarm regulation is
User configures according to different alarm demands, and each notifies that alarm regulation includes the alarm status information and the alarm
Status information is corresponding to notify object and advice method corresponding with the alarm status information.
4. as claimed any one in claims 1 to 3 towards the warning system of continuous integrating, it is characterised in that the management
Device, including:
Management module, interacts for operational management software and continuous integration system, and the continuous integration system is obtained in real time
The integrated status information of task;By the integrated status information of the task and the default alarm status information notified in alarm regulation
Matched, it is integrated to the task according to the advice method and notice object of the notice alarm regulation when the match is successful
Status information is generated and notifies alarm command;
First communication module, for sending the alarm notification of message form according to the notice alarm command, notifies to accuse by described
Alert instruction is sent to the control terminal;
The control terminal, including:The alarm of second communication module, control chip, the alarm equipment of light form and sound form
Equipment, wherein,
The second communication module, for receiving the notice alarm command;
The control chip, the alarm equipment for controlling the smooth form according to the notice alarm command sends light form
Alarm notification;The alarm equipment for controlling the sound form according to the notice alarm command sends the alarm notification of sound form.
5. as claimed in claim 4 towards the warning system of continuous integrating, it is characterised in that the management module runs PC versions
Originally, the management software of APP versions or WEB versions.
6. as claimed in claim 4 towards the warning system of continuous integrating, it is characterised in that
The first communication module, is additionally operable to receive and holds described in the control sent towards the terminal outside the warning system of continuous integrating
Control instruction of the sequel into system operatio;Receive the working condition letter of the control terminal that the second communication module sends
Breath;
The second communication module, is additionally operable to receive the control control sent towards the terminal outside the warning system of continuous integrating
Terminal processed sends the control information of the alarm notification of sound and light form.
7. as claimed any one in claims 1 to 3 towards the warning system of continuous integrating, it is characterised in that also include:
Display, for showing the integrated status information of the task according to the notice alarm command;And/or
Loudspeaker, for playing the alarm notification of audio form according to the notice alarm command.
8. as claimed any one in claims 1 to 3 towards the warning system of continuous integrating, it is characterised in that the control
Terminal, also includes:
Relay, for connecting alarm equipment.
9. as claimed any one in claims 1 to 3 towards the warning system of continuous integrating, it is characterised in that the control
Terminal, also includes:
Control interface, for connecting alarm equipment.
10. a kind of alarm method towards continuous integrating, it is characterised in that include:
Interact with continuous integration system, the integrated status information of task of the continuous integration system is obtained in real time;
The integrated status information of the task is matched with the alarm status information in default notice alarm regulation, in matching
When successful, according to the advice method and notice object of the notice alarm regulation, the integrated status information of the task is generated logical
Know alarm command;
The alarm notification of sound, light and message form is sent according to the notice alarm command.
11. alarm methods towards continuous integrating as claimed in claim 10, it is characterised in that the integrated state letter of the task
Breath, including:
Each working condition during the integrated structure result of task and/or task are integrated.
12. alarm methods towards continuous integrating as described in claim 10 or 11, it is characterised in that default notice alarm
Rule is that user configures according to different alarm demands, and each notifies that alarm regulation includes the alarm status information and institute
State the corresponding notice object of alarm status information and advice method corresponding with the alarm status information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611236998.0A CN106649123A (en) | 2016-12-28 | 2016-12-28 | Continuous integration-oriented alarm system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611236998.0A CN106649123A (en) | 2016-12-28 | 2016-12-28 | Continuous integration-oriented alarm system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106649123A true CN106649123A (en) | 2017-05-10 |
Family
ID=58832450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611236998.0A Pending CN106649123A (en) | 2016-12-28 | 2016-12-28 | Continuous integration-oriented alarm system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649123A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990233A (en) * | 2019-11-28 | 2020-04-10 | 杭州安恒信息技术股份有限公司 | Method and system for displaying SOAR by using Gantt chart |
CN111722904A (en) * | 2020-06-22 | 2020-09-29 | 深圳前海微众银行股份有限公司 | Page alarm script generation method, device, equipment and readable storage medium |
CN112882920A (en) * | 2021-04-29 | 2021-06-01 | 云账户技术(天津)有限公司 | Alarm policy verification method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567232A (en) * | 2003-07-10 | 2005-01-19 | 华为技术有限公司 | Testing device and method for flush-bonding system |
JP2007157026A (en) * | 2005-12-08 | 2007-06-21 | Hitachi Ltd | Operation estimation system, operation estimation device, execution device and operation estimation method |
CN102497284A (en) * | 2011-12-06 | 2012-06-13 | 摩卡软件(天津)有限公司 | Method and system for integrating alarms of monitoring software |
CN104461837A (en) * | 2014-10-29 | 2015-03-25 | 国家电网公司 | Desktop terminal managing system abnormal automatic audible and visual alarm device and using method thereof |
-
2016
- 2016-12-28 CN CN201611236998.0A patent/CN106649123A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567232A (en) * | 2003-07-10 | 2005-01-19 | 华为技术有限公司 | Testing device and method for flush-bonding system |
JP2007157026A (en) * | 2005-12-08 | 2007-06-21 | Hitachi Ltd | Operation estimation system, operation estimation device, execution device and operation estimation method |
CN102497284A (en) * | 2011-12-06 | 2012-06-13 | 摩卡软件(天津)有限公司 | Method and system for integrating alarms of monitoring software |
CN104461837A (en) * | 2014-10-29 | 2015-03-25 | 国家电网公司 | Desktop terminal managing system abnormal automatic audible and visual alarm device and using method thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990233A (en) * | 2019-11-28 | 2020-04-10 | 杭州安恒信息技术股份有限公司 | Method and system for displaying SOAR by using Gantt chart |
CN110990233B (en) * | 2019-11-28 | 2023-05-30 | 杭州安恒信息技术股份有限公司 | Method and system for displaying SOAR by utilizing Gantt chart |
CN111722904A (en) * | 2020-06-22 | 2020-09-29 | 深圳前海微众银行股份有限公司 | Page alarm script generation method, device, equipment and readable storage medium |
CN112882920A (en) * | 2021-04-29 | 2021-06-01 | 云账户技术(天津)有限公司 | Alarm policy verification method and device, electronic equipment and readable storage medium |
CN112882920B (en) * | 2021-04-29 | 2021-06-29 | 云账户技术(天津)有限公司 | Alarm policy verification method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103313216B (en) | Message prompt method, system and device for communication account | |
CA2573997A1 (en) | Method and apparatus for displaying battery fault notifications on wireless devices | |
JP2007319662A (en) | Device and method for controlling and operating intelligent base unit for hand-held medical device | |
CN106649123A (en) | Continuous integration-oriented alarm system and method | |
CN104025516A (en) | Systems and methods of remote communication | |
CN105099763B (en) | Equipment goes offline based reminding method and device | |
CN109454311A (en) | Welding wire is associated with to power supply | |
CN107025143A (en) | Notifier processes method, device and the communication terminal of a kind of application message | |
CN106533914A (en) | Message notification method and apparatus | |
CN112148567A (en) | Intelligent device active operation and maintenance method, device and storage medium | |
JP5371614B2 (en) | Attendant terminal device and control program thereof | |
CN111131418A (en) | Vulnerable part monitoring and managing method, device and system | |
CN112270531B (en) | Event notification method, device, server and storage medium | |
JP2010099211A (en) | Game error screen reporting system | |
CN111934956B (en) | Equipment configuration method and device, storage medium and electronic device | |
JP2010244152A (en) | Device, system and method for work support, and program | |
CN109936477B (en) | Method and apparatus for transmitting information | |
CN109408104B (en) | Method and device for acquiring game integration information | |
CN110401569A (en) | Warning system and method towards continuous integrating | |
CN113556391B (en) | Page communication method, device, electronic equipment and readable storage medium | |
CN109981338A (en) | Alarm method, device and the storage medium that code pulls | |
CN107566202A (en) | A kind of network element state monitoring method, apparatus and system | |
CN113138895A (en) | Monitoring method and device of cloud desktop equipment | |
JP4174532B2 (en) | Order system and charge management method | |
CN107851361B (en) | Sensor and alarm for multi-service management of buildings and equipment for its occupants |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |