CN109814901A - A kind of O&M method that automatically dispose application may be implemented - Google Patents

A kind of O&M method that automatically dispose application may be implemented Download PDF

Info

Publication number
CN109814901A
CN109814901A CN201811635277.6A CN201811635277A CN109814901A CN 109814901 A CN109814901 A CN 109814901A CN 201811635277 A CN201811635277 A CN 201811635277A CN 109814901 A CN109814901 A CN 109814901A
Authority
CN
China
Prior art keywords
application
exception
deployment
program bag
automatically dispose
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
CN201811635277.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.)
ZTE ITS Beijing Ltd
Original Assignee
ZTE ITS Beijing 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 ZTE ITS Beijing Ltd filed Critical ZTE ITS Beijing Ltd
Priority to CN201811635277.6A priority Critical patent/CN109814901A/en
Publication of CN109814901A publication Critical patent/CN109814901A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of O&M methods that automatically dispose application may be implemented, it is related to computer software exploitation programming technique field, this method is based on jenkins open source management tool, and the visualized operation interface for utilizing jenkins open source management tool to provide carries out following steps: S101, compiling;S102, unit testing;S103, integrated test;S104, packing;S105, distribution and deployment and S106, verifying.The O&M method is a little: 1, with postpone, execute update iteration when, it is only necessary to tap interface button and can be completed and map out the work, and can get deployment result;2, entry, when multi-environment change, it is only necessary to carry out environmental condition configuration in web interface, not need change scripted code.

Description

A kind of O&M method that automatically dispose application may be implemented
Technical field
The present invention relates to computer softwares to develop programming technique field, and automatically dispose application may be implemented in specially one kind O&M method.
Background technique
With the extension of company's project, code iteration speed is getting faster, and undoubtedly brings workload more next to deployment personnel Bigger, automatic deployment application service is that deployment task work can be completed by interface configuration and operation, and the prior art exists Following defect:
1, manual operation intricate operation, inefficiency, heavy workload.
2, script operation, script change is more, needs professional to safeguard, poor operability.
Summary of the invention
The technical problem to be solved by the present invention is to overcome the existing defects, and providing one kind may be implemented automatically dispose application O&M method, can effectively solve the problems in background technique.
To achieve the above object, the invention provides the following technical scheme: a kind of fortune that automatically dispose application may be implemented Dimension method, this method are based on jenkins open source management tool, the visualized operation for utilizing jenkins open source management tool to provide Interface carries out following steps:
S101, compiling: by the visualized operation interface, parameter is inputted using script and obtains application most from code library Fresh code, and code is compiled, if there is exception, then output abnormality;
S102, unit testing: testing application code execution unit newest after the compiling, if there is exception, then defeated It is abnormal out;
S103, integrated test: replacement code configuration file is that application test environment carries out integrated test, verifying application Starting normally then continues, if there is exception, then output abnormality;
S104, packing: replacing respective environment configuration file by input parameter, and carry out packaging operation, obtain program bag, If there is exception, then output abnormality;
S105, distribution and deployment: above procedure packet is passed to by respective server according to input parameter and executes installation operation And start, if there is exception, then output abnormality;
S106, verifying: the service for checking credentials normally starts then end operation, otherwise will return to abnormal, notice caller.
As a preferred technical solution of the present invention, the respective server be HTTP server in Apache, The Internet information server of Microsoft.
As a preferred technical solution of the present invention, in the step S105, it is passed to the program bag of respective server Upload information at least includes a kind of following information: the title of program bag, the version number of program bag, program bag homepage file path And the filename of program bag.
As a preferred technical solution of the present invention, deployment module, the deployment are built-in in the HTTP server After module is used to receive the access request of the incoming program bag of step S105, judge whether downloaded in HTTP server Above procedure packet directly returns to the access request page of described program packet if having downloaded, and shows deployment result.
As a preferred technical solution of the present invention, if to judge that HTTP server is not downloaded above-mentioned for the deployment module When program bag, then output abnormality.
As a preferred technical solution of the present invention, the compiling, unit testing, it is integrated test, be packaged, distribution and There is exception for interrupt process in the process of deployment and verifying, and constructs task execution failure in web interface prompt executor.
Compared with prior art, the beneficial effects of the present invention are:
1, with postponing, execute update iteration when, it is only necessary to tap interface button and can be completed and map out the work, and can obtain Result must be disposed;
2, entry, when multi-environment change, it is only necessary to carry out environmental condition configuration in web interface, not need more Change scripted code.
Detailed description of the invention
Fig. 1 is process block schematic illustration of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, the present invention provides a kind of technical solution: a kind of O&M side that automatically dispose application may be implemented Method, this method are based on jenkins open source management tool, the visualized operation interface provided using jenkins open source management tool, Carry out following steps:
S101, compiling: by visualized operation interface, the newest generation that parameter obtains application using script from code library is inputted Code, and is compiled code, if there is exception, then output abnormality;
S102, unit testing: application code execution unit newest after compiling is tested, if there is exception, is then exported different Often;
S103, integrated test: replacement code configuration file is that application test environment carries out integrated test, verifying application Starting normally then continues, if there is exception, then output abnormality;
S104, packing: replacing respective environment configuration file by input parameter, and carry out packaging operation, obtain program bag, If there is exception, then output abnormality;
S105, distribution and deployment: above procedure packet is passed to by respective server according to input parameter and executes installation operation And start, if there is exception, then output abnormality;
S106, verifying: the service for checking credentials normally starts then end operation, otherwise will return to abnormal, notice caller.
Respective server is the Internet information server of Apache, Microsoft in HTTP server.
In step S105, the upload information of the program bag of incoming respective server at least includes a kind of following information: program The title of packet, the version number of program bag, the homepage file path of program bag and the filename of program bag.
Deployment module is built-in in HTTP server, deployment module is used to receive the visit of the incoming program bag of step S105 After asking request, judge whether downloaded above procedure packet in HTTP server, if having downloaded, directly returns to program bag The access request page, and show deployment result.
If deployment module judges that HTTP server does not download above procedure packet, output abnormality.
, which will there is exception, in the process of compiling, unit testing, integrated test, packing, distribution and deployment and verifying to interrupt Process, and task execution failure is constructed in web interface prompt executor.
For convenience of those skilled in the art understand that this application scheme, makes description below for the part noun in scheme:
Jenkins: being an open source software project, it is desirable to provide an easy-to-use software platform of opening makes holding for software Sequel is integrated at becoming possible by Jenkins and Ant and SVN, can be relatively easy to realization by SVN and be obtained source generation Code updates, and then compiles packing automatically using Ant, is then deployed to corresponding server.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding And modification, the scope of the present invention is defined by the appended.

Claims (6)

1. a kind of O&M method that automatically dispose application may be implemented, this method is based on jenkins open source management tool, special Sign is: the visualized operation interface provided using jenkins open source management tool carries out following steps:
S101, compiling: by the visualized operation interface, the newest generation that parameter obtains application using script from code library is inputted Code, and is compiled code, if there is exception, then output abnormality;
S102, unit testing: application code execution unit newest after the compiling is tested, if there is exception, is then exported different Often;
S103, integrated test: replacement code configuration file is that application test environment carries out integrated test, verifying application starting It is normal then continue, if there is exception, then output abnormality;
S104, packing: replacing respective environment configuration file by input parameter, and carry out packaging operation, obtain program bag, if There is exception, then output abnormality;
S105, distribution and deployment:, which being passed to respective server for above procedure packet according to input parameter, and executes installation operates and opens It is dynamic, if there is exception, then output abnormality;
S106, verifying: the service for checking credentials normally starts then end operation, otherwise will return to abnormal, notice caller.
2. a kind of O&M method that automatically dispose application may be implemented according to claim 1, it is characterised in that: described Respective server is the Internet information server of Apache, Microsoft in HTTP server.
3. a kind of O&M method that automatically dispose application may be implemented according to claim 1, it is characterised in that: described In step S105, the upload information of the program bag of incoming respective server at least includes a kind of following information: the title of program bag, Version number, the homepage file path of program bag and the filename of program bag of program bag.
4. a kind of O&M method that automatically dispose application may be implemented according to claim 2, it is characterised in that: described Deployment module is built-in in HTTP server, the access that the deployment module is used to receive the incoming program bag of step S105 is asked After asking, judge whether downloaded above procedure packet in HTTP server, if having downloaded, directly returns to described program packet The access request page, and show deployment result.
5. a kind of O&M method that automatically dispose application may be implemented according to claim 4, it is characterised in that: described If deployment module judges that HTTP server does not download above procedure packet, output abnormality.
6. a kind of O&M method that automatically dispose application may be implemented according to claim 1, it is characterised in that: described There is exception for interrupt process in the process of compiling, unit testing, integrated test, packing, distribution and deployment and verifying, and Web interface prompts executor to construct task execution failure.
CN201811635277.6A 2018-12-29 2018-12-29 A kind of O&M method that automatically dispose application may be implemented Pending CN109814901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811635277.6A CN109814901A (en) 2018-12-29 2018-12-29 A kind of O&M method that automatically dispose application may be implemented

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811635277.6A CN109814901A (en) 2018-12-29 2018-12-29 A kind of O&M method that automatically dispose application may be implemented

Publications (1)

Publication Number Publication Date
CN109814901A true CN109814901A (en) 2019-05-28

Family

ID=66602780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811635277.6A Pending CN109814901A (en) 2018-12-29 2018-12-29 A kind of O&M method that automatically dispose application may be implemented

Country Status (1)

Country Link
CN (1) CN109814901A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026403A (en) * 2019-12-10 2020-04-17 北京锐安科技有限公司 Packing deployment method and device, computer equipment and storage medium
CN111651189A (en) * 2020-04-28 2020-09-11 广州视源电子科技股份有限公司 Product delivery method and device of continuous integration system and electronic equipment
CN113535208A (en) * 2021-08-05 2021-10-22 浙江万朋教育科技股份有限公司 Method for realizing visual centralized maintenance and updating test application program based on python
CN114138285A (en) * 2022-01-24 2022-03-04 统信软件技术有限公司 Application deployment method, computing device and readable storage medium
CN114363143A (en) * 2021-12-14 2022-04-15 杭州东信北邮信息技术有限公司 Operation and maintenance operation method and system based on small program
CN114610327A (en) * 2022-02-15 2022-06-10 北京结慧科技有限公司 Automatic publishing and deploying method, device, medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412820A (en) * 2013-08-30 2013-11-27 曙光信息产业(北京)有限公司 Test method and tester for pages in Web system
WO2016177124A1 (en) * 2015-07-29 2016-11-10 中兴通讯股份有限公司 Method and device for implementing continuous integration test
CN107463362A (en) * 2016-06-03 2017-12-12 北京京东尚科信息技术有限公司 The method and system of lasting deployment based on multiple Jenkins
CN108376073A (en) * 2016-11-15 2018-08-07 平安科技(深圳)有限公司 A kind of test software packet generation method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412820A (en) * 2013-08-30 2013-11-27 曙光信息产业(北京)有限公司 Test method and tester for pages in Web system
WO2016177124A1 (en) * 2015-07-29 2016-11-10 中兴通讯股份有限公司 Method and device for implementing continuous integration test
CN107463362A (en) * 2016-06-03 2017-12-12 北京京东尚科信息技术有限公司 The method and system of lasting deployment based on multiple Jenkins
CN108376073A (en) * 2016-11-15 2018-08-07 平安科技(深圳)有限公司 A kind of test software packet generation method and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026403A (en) * 2019-12-10 2020-04-17 北京锐安科技有限公司 Packing deployment method and device, computer equipment and storage medium
CN111651189A (en) * 2020-04-28 2020-09-11 广州视源电子科技股份有限公司 Product delivery method and device of continuous integration system and electronic equipment
CN111651189B (en) * 2020-04-28 2023-09-12 广州视源电子科技股份有限公司 Product delivery method and device of continuous integrated system and electronic equipment
CN113535208A (en) * 2021-08-05 2021-10-22 浙江万朋教育科技股份有限公司 Method for realizing visual centralized maintenance and updating test application program based on python
CN114363143A (en) * 2021-12-14 2022-04-15 杭州东信北邮信息技术有限公司 Operation and maintenance operation method and system based on small program
CN114138285A (en) * 2022-01-24 2022-03-04 统信软件技术有限公司 Application deployment method, computing device and readable storage medium
CN114610327A (en) * 2022-02-15 2022-06-10 北京结慧科技有限公司 Automatic publishing and deploying method, device, medium and computer equipment
CN114610327B (en) * 2022-02-15 2023-02-17 北京结慧科技有限公司 Automatic publishing and deploying method, device, medium and computer equipment

Similar Documents

Publication Publication Date Title
CN109814901A (en) A kind of O&M method that automatically dispose application may be implemented
US10114637B1 (en) Automatically updating a shared project build platform
CN108073400A (en) Software automation construction method, server and storage medium
EP2932374B1 (en) Systems, methods, and computer program products for a software build and load process using a compilation and deployment service
JP5295269B2 (en) Method for generating component model-based virtual software platform, method for verifying software platform architecture using the same, and apparatus therefor
US8745585B2 (en) Meta-data for single development test environment
KR101008977B1 (en) Method of testing OSGi service platform and test tool thereof
US20130174124A1 (en) Version numbering in single development and test environment
CN110580152B (en) Front-end automatic scaffold
US8285662B2 (en) Framework for delta analysis during automated builds
CN117714527A (en) Edge devices and associated networks utilizing micro-services
Wickham et al. Package ‘devtools’
US20060282815A1 (en) System, method and computer program product for developing, configuring, installing and testing software
CN107463362A (en) The method and system of lasting deployment based on multiple Jenkins
CN102012814A (en) Construction method and system for software version
EP0920663B1 (en) Method and system for testing computer system software
Dubey Evaluating software engineering methods in the context of automation applications
AU2012201749B2 (en) Single development test environment
Holzner Ant: The Definitive Guide: Complete Build Management for Java
CN103186463B (en) Determine the method and system of the test specification of software
CN110704113B (en) Starting method and system based on FPGA platform and development board device
US20080127118A1 (en) Method and system for dynamic patching of software
CN111563032A (en) APP debugging method and device, computer equipment and storage medium
Abdul et al. Implementing Continuous Integration towards rapid application development
CN112416796B (en) Software upgrading test method and device

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

Application publication date: 20190528

RJ01 Rejection of invention patent application after publication