CN107450941A - Automatic packaging method, device, storage medium and computer equipment - Google Patents
Automatic packaging method, device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN107450941A CN107450941A CN201710495287.3A CN201710495287A CN107450941A CN 107450941 A CN107450941 A CN 107450941A CN 201710495287 A CN201710495287 A CN 201710495287A CN 107450941 A CN107450941 A CN 107450941A
- Authority
- CN
- China
- Prior art keywords
- packing
- source code
- installation kit
- pack
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a kind of automatic packaging method, device, storage medium and computer equipment.The request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that browser obtains the packing page.Packing instruction is obtained from the packing page, the source code for obtaining and needing to pack is instructed according to packing, and packing generation installation kit is carried out to source code according to packing instruction, installation kit is uploaded to destination server.Packing function is integrated into continuous integration system, the packing page that can be integrated in by browser access in continuous integration system is so as to being packed.Browser is only needed in this method computer to be packed, it is not necessary to install special strapping tool.And only need to input packing instruction according to packing demand on the packing page when packing, it is possible to realize the packing to source code, it is not necessary to source code is contacted, so need not be packed by developer, so as to save the time energy of developer.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of automatic packaging method, device, storage medium and meter
Calculate machine equipment.
Background technology
Research and development of software is broadly divided into the following steps:Demand analysis, detailed design, exploitation, test and deployment.Whole
The middle and later periods of research and development, that is, exploitation, test and deployment phase, generally require frequently to be packed.Traditional packaging method, need
It is mounted with that special strapping tool could be packed, and needs to change some parameter configurations in source code in packing process
Information, so professional higher, typically only developer can be packed.Cumbersome packing work wastes exploitation very much
The time energy of personnel.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided a kind of method, apparatus, storage medium and computer equipment.
A kind of automatic packaging method, methods described include:
The request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that described browse
Device obtains the packing page;
Packing instruction is obtained from the packing page;
The source code for needing to pack is obtained according to the packing instruction, and the source code is entered according to the packing instruction
Row packing generation installation kit;
The installation kit is uploaded to destination server.
In one of the embodiments, methods described also includes:
Recipient mailbox address is obtained from the packing page, and the installation kit is being uploaded to destination server
Afterwards, send and notify to the recipient mailbox address, the notice includes the peace automatically generated according to the packing instruction
The address information that the information of dress bag and the installation kit are deposited on the destination server.
In one of the embodiments, the source code for needing to pack according to the packing instruction acquisition, including:
The local source code for whether there are the needs to pack is judged according to the packing instruction;
If so, then obtain the source code for needing to pack from local;
If it is not, the source code for needing to pack then is obtained from source code service device.
In one of the embodiments, the packing instruction includes:The version information of the source code for needing to pack, packing
Environmental information and tuning parameter information.
In one of the embodiments, it is described that the source code for needing to pack is obtained according to the packing instruction, and according to institute
State packing instruction and packing generation installation kit is carried out to the source code, including:
The source code for needing to pack is obtained according to the version information of the source code for needing to pack;
According to the tuning parameter information of the corresponding configuration of the environment information acquisition of the packing;
Corresponding parameter is changed in the source code according to the tuning parameter information;
Source code after modification parameter is subjected to packing generation installation kit.
A kind of automatic packaging device, described device include:
Packing page acquisition module, the acquisition for receiving browser transmission are integrated in the packing page in continuous integration system
The request in face, so that the browser obtains the packing page;
Packing instruction acquisition module, for obtaining packing instruction from the packing page;
Installation kit generation module, for obtaining the source code for needing to pack according to the packing instruction, and beaten according to described
Bag instruction carries out packing generation installation kit to the source code;
Uploading module, for the installation kit to be uploaded into destination server.
In one of the embodiments, described device also includes:Sending module is notified, for being obtained from the packing page
Recipient mailbox address is taken, and after the installation kit is uploaded into destination server, is sent to the recipient mailbox address
Notice, information of the notice comprising the installation kit automatically generated according to the packing instruction and the installation kit are described
The address information deposited on destination server.
In one of the embodiments, the installation kit generation module is used to whether judge local according to the packing instruction
There is the source code for needing to pack;If so, then obtain the source code for needing to pack from local;If it is not, then from source code
The source code for needing to pack is obtained on service device.
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is realized when being executed by processor
Following steps:
The request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that described browse
Device obtains the packing page;
Packing instruction is obtained from the packing page;
The source code for needing to pack is obtained according to the packing instruction, and the source code is entered according to the packing instruction
Row packing generation installation kit;
The installation kit is uploaded to destination server.
A kind of computer equipment, the computer equipment include memory, processor and are stored on the memory simultaneously
The computer program that can be run on the processor, following steps are realized during computer program described in the computing device:
The request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that described browse
Device obtains the packing page;
Packing instruction is obtained from the packing page;
The source code for needing to pack is obtained according to the packing instruction, and the source code is entered according to the packing instruction
Row packing generation installation kit;
The installation kit is uploaded to destination server.
Above-mentioned automatic packaging method, device, storage medium and computer equipment, continuous integrating server receive browser hair
The acquisition sent is integrated in the request of the packing page in continuous integration system, so that browser obtains the packing page.Continuous integrating
Server obtains packing instruction from the packing page, the source code for obtaining and needing to pack is instructed according to packing, and refer to according to packing
Order carries out packing generation installation kit to source code, then installation kit is uploaded into destination server.Packing function is integrated into and continued
In integrated system, the packing page that can be integrated in by browser access in continuous integration system, so as to be packed.So
Browser is only needed in this method computer to be packed, it is not necessary to install special strapping tool.And when packing only
Need on the packing page according to the demand input packing instruction of packing, it is possible to realize the packing to source code, it is not necessary to connect
Source code is touched, so need not be packed by developer, can be packed by other staff, so as to save exploit person
The time energy of member.
Brief description of the drawings
Fig. 1 is the applied environment figure of automatic packaging method in one embodiment;
Fig. 2 is the cut-away view of server in one embodiment;
Fig. 3 is the flow chart of automatic packaging method in one embodiment;
Fig. 4 is the flow chart of automatic packaging method in one embodiment;
Fig. 5 is the flow chart of packing generation installation kit in Fig. 3;
Fig. 6 is the structural representation of automatic packaging device in one embodiment;
Fig. 7 is the structural representation of automatic packaging device in another embodiment.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, below in conjunction with the accompanying drawings to the present invention
Embodiment be described in detail.Many details are elaborated in the following description in order to fully understand this hair
It is bright.But the invention can be embodied in many other ways as described herein, those skilled in the art can be not
Similar improvement is done in the case of running counter to intension of the present invention, therefore the present invention is not limited to the specific embodiments disclosed below.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Each technical characteristic of above example can carry out arbitrary group
Close, to make description succinct, combination not all possible to each technical characteristic in above-described embodiment is all described, however,
As long as contradiction is not present in the combination of these technical characteristics, the scope of this specification record is all considered to be.
Continuous integration system (Continuous Integration, CI), is a kind of practice of software.In continuous integrating
In system, Team Member frequently integrates their achievement, typically at least integrates once for each person every day, can also be multiple.Often
Secondary collection Chengdu is verified by the structure of automation (including compile, issue, automatic test), to find integrated mistake as early as possible.
Many team find that this method can substantially reduce integrated the problem of causing, and can accelerate the speed of team unity software development
Degree.
The functions such as compiling, issue, automatic test can be completed in regular software development process in continuous integration system,
But the packing work of software can't be completed in continuous integration system.When being packed, it is necessary to be mounted with special beat
Job contract tool could be packed, it is necessary to configure different environment, daily record rank and go in source code to carry out the tune of relevant parameter
Examination.Work of packing is professional higher, and typically only developer can be packed.Especially in Mobile solution exploitation, open
Hair personnel may need while multiple test bags are packed, and cumbersome packing work wastes the time essence of developer very much
Power.
Therefore, Fig. 1 is referred to, packing function is integrated in continuous integration system in the embodiment of the present invention, continuous integrating
System is arranged on a continuous integrating server 110.Packing personnel pass through browser access continuous integrating server 110, tool
Body accesses the packing page on continuous integration system, obtains the packing page.Continuous integrating server 110 obtains from the packing page
Packing instruction, packing instruction are filled in for packing personnel according to packing demand.Deposited further according to packing instruction from source code
The source code for needing to pack is obtained on server 120, or is instructed from the local source code for obtaining and needing to pack, and according to packing
Packing generation installation kit is carried out to source code, installation kit is finally uploaded to destination server 130.
In one embodiment, as shown in Fig. 2 additionally providing a kind of server, the server includes passing through system bus
Processor, non-volatile memory medium, built-in storage, the network interface of connection, operation is stored with non-volatile memory medium
System and a kind of automatic packaging device, the automatic packaging device are used to perform a kind of automatic packaging method.The processor is used to carry
Height calculates and control ability, supports the operation of whole server.Built-in storage is used to be automatic in non-volatile memory medium
The operation of packing apparatus provides environment, can store computer-readable instruction in the built-in storage, the computer-readable instruction quilt
During computing device, a kind of automatic packaging method of the computing device may be such that.Network interface is used to lead to terminal progress network
Letter, data are received or sent, such as receive and ask from browser, and installation kit etc. is uploaded to destination server.
In one embodiment, as shown in Figure 3, there is provided a kind of automatic packaging method, in this way applied in Fig. 1
Illustrated exemplified by continuous integrating server, including:
Step 310, the request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that
Browser obtains the packing page.
When packing personnel need to pack to source code, terminal connects continuous integrating server by browser.Hold
Continuous integration system is arranged on continuous integrating server, packing function is integrated with continuous integration system.Packing personnel pass through clear
Device of looking at sends the request for obtaining the packing page to continuous integrating server, and continuous integrating server receives request, and the page that will pack
The corresponding document in face is sent to browser, so that browser gets the packing page and shown.The packing page, which is integrated in, to be continued
In integrated system.
Step 320, packing instruction is obtained from the packing page.
After browser obtains and shows the packing page, packing personnel input according to packing demand on the packing page
Packing instruction.Packing instruction includes packing demand, specifically, can be the version information for the source code for needing to pack, pack
Environmental information, tuning parameter information and log information etc..Continuous integrating server has obtained packing personnel from the packing page
The packing instruction of input.
Step 330, the source code for obtaining and needing to pack is instructed according to packing, and source code is beaten according to packing instruction
Bag generation installation kit.
Continuous integrating server instructs according to the packing obtained from the packing page, obtains the source code for needing to pack.And
The information such as the version information for the source code packed as needed, environmental information, tuning parameter information and the log information of packing is certainly
It is dynamic to go to change parameter in source code, then carry out packing generation installation kit by have modified the source code after parameter.
Step 340, installation kit is uploaded to destination server.
Continuous integrating server will carry out the installation kit of packing generation to source code, be uploaded to destination server i.e. version pipe
Manage SVN servers.The version control system that SVN (subversion) server is a freedom, increased income, the overwhelming majority increases income soft
Part all uses SVN as code management software.
In the present embodiment, continuous integrating server receives the acquisition that browser is sent and is integrated in beating in continuous integration system
The request in roadblock face, so that browser obtains the packing page.Continuous integrating server obtains packing instruction, root from the packing page
The source code for obtaining and needing to pack is instructed according to packing, and packing generation installation kit is carried out to source code according to packing instruction, then will
Installation kit is uploaded to destination server.Packing function is integrated into continuous integration system, terminal can pass through browser access
The packing page being integrated in continuous integration system, so as to be packed.So only need browser in this method computer
It can be packed, it is not necessary to special strapping tool is installed, can be packed under any network environment.And when packing only
Need on the packing page according to the demand input packing instruction of packing, it is possible to realize the packing to source code, it is not necessary to connect
Source code is touched, so need not be packed by developer, can be packed by other staff, so as to save exploit person
The time energy of member.
In one embodiment, as shown in figure 4, above-mentioned automatic packaging method also includes:
Step 350, recipient mailbox address is obtained from the packing page, and installation kit is being uploaded to destination server
Afterwards, send and notify to recipient mailbox address, information of the notice comprising the installation kit automatically generated according to packing instruction and installation
Wrap the address information deposited on destination server.
After browser obtains and shows the packing page, packing personnel may be used also according to packing demand on the packing page
Have input the email address for the addressee for needing to notify.Continuous integrating server has obtained packing personnel from the packing page
The recipient mailbox address of input, and after installation kit is uploaded into SVN servers, sends and notify to recipient mailbox address,
Notice comprising according to packing instruction automatically generate installation kit information (such as:APP version numbers, installation packet signature, test label
Name, interface environment, alias condition, certificate verification situation, Log switches, statistical fractals, JPUSH services, SVN server address) and
The address information that installation kit is deposited on destination server.Notice can also include packing personnel and is manually entered on the packing page
Remark information.Specifically, remark information can be the additional attention information that packing personnel input in environment of packing, certainly
Can be empty i.e. without remark information.
In the present embodiment, the automatic function of sending mail is added in the packing function in continuous integration system, only
Need to fill on corresponding option the email address for the addressee for needing to notify on the packing page, you can realization is being packed
Into after installation kit is uploaded into destination server, sends and notify from trend recipient mailbox address.Automatic life is contained in notice
Into addressee can obtain the information of the installation kit and the base attribute information of the installation kit.So there is no need to inciting somebody to action
After source code packing completion is uploaded to destination server, it is also necessary to which packing personnel go opening mailbox to write Mail Contents and add manually
Recipient mailbox address could send mail.Using the method shown in the embodiment of the present invention, more convenient and efficient, greatly save
The time of packing personnel.
In one embodiment, the source code for obtaining and needing to pack is instructed according to packing, including:Judged according to packing instruction
It is local whether the source code of packing in need;If so, then from the local source code for obtaining and needing to pack;If it is not, then from source code
The source code for needing to pack is obtained on service device.
In the present embodiment, need are contained in the packing instruction that packing personnel input according to packing demand on the packing page
The version information of the source code to be packed.The version information for the source code packed as needed judges local either with or without corresponding source
Code storehouse, if then obtaining the source code for needing to pack from local.Just needed if not from source code service device
The source code that obtaining needs to pack downloads source code.Source code service device can be GIT servers, such as GitHub is exactly one
The Git servers of individual free trustship Open Source Code.
In one embodiment, packing instruction includes:The version information for the source code for needing to pack, the environmental information packed
And tuning parameter information.
After browser obtains and shows the packing page, packing personnel input according to packing demand on the packing page
Packing instruction.Packing instruction includes packing demand, specifically, the version information that can be the source code for needing to pack (is, for example,
3.0 or 4.0 versions etc.), the environmental information (be, for example, test environment or production environment etc.) of packing, tuning parameter information,
Log information (whether open day to) and whether encrypt.Typically there was only default parameters in source code, such as test environment, exploitation ring
Every kind of environment such as border, issue environment all correspond to different server address.Different environment is also required to different encryption and decryption side
The demand such as formula and different installation Packet type.So after packing personnel have selected a set of packing instruction, continuous integrating service
Device gets the packing instruction that packing personnel have inputted from the packing page, goes in source code to repair automatically further according to packing instruction
Change these parameters.
In the present embodiment, continuous integrating server gets the packing that packing personnel have inputted from the packing page and referred to
Order, the version information for the source code packed as needed obtain source code automatically, then believe further according to running environment of software etc.
Breath is automatic to go the corresponding corresponding parameter of configuration in source code.It is traditional by manually going to change parameter in source code because professional
It is relatively strong to need to be changed by the developer of readable source code.In the embodiment of the present invention, it will go in source code to go to change
This complicated work action routine of parameter realizes.The continuous integration system being integrated on continuous integrating server is realized
Go in source code to go to change parameter according to packing instruction.Only needed when so packing defeated according to the demand of packing on the packing page
Enter packing instruction, it is possible to realize the packing to source code, it is not necessary to source code is contacted, so need not be carried out by developer
Packing, can be packed by other staff, so as to save the time energy of developer.
In one embodiment, as shown in figure 5, instructing the source code for obtaining and needing to pack according to packing, and according to packing
Instruction carries out packing generation installation kit to source code, including:
Step 332, the version information for the source code packed as needed obtains the source code for needing to pack.
The version information (being, for example, 3.0 or 4.0 versions etc.) for the source code packed as needed, which obtains, needs what is packed
Source code.The version information for the source code packed as needed is judged locally either with or without corresponding source code library, if then from this
Ground obtains the source code for needing to pack.Just need to obtain the source generation for needing to pack from source code service device if not
Code downloads source code.For example, source code service device is GIT servers.
Step 334, according to the tuning parameter information of the corresponding configuration of the environment information acquisition of packing.
Packing environmental information selected in packing instruction, such as selection are test environment, development environment, issue environment also
It is production environment etc., different environment all correspond to different server address, and different environment is also required to different plus solution
The demand such as close mode and different installation Packet type.So tuning parameter according to the corresponding configuration of the environment information acquisition of packing
Information.
Step 336, corresponding parameter is changed in source code according to tuning parameter information.
Go in source code to go to change parameter according to the tuning parameter information of acquisition.So that encryption and decryption mode, installation kit
Type, server address etc. all match with selected environmental information.Ensure installation kit after user or tester download
Can successfully it install.
Step 338, the source code after modification parameter is subjected to packing generation installation kit.
In the present embodiment, during traditional packing, a kind of running environment needs to match any encryption and decryption mode, any
Packet type and which server address are installed, and how to go in source code to change parameter successfully to pack all is by developer
Known, so can only could be packed by developer, other staff can not be packed., will in the embodiment of the present invention
Configuration parameter and going in source code goes to change this complicated work action routine of parameter and realized.It is integrated in continuous integrating server
On continuous integration system can realize and go in source code to go to change parameter according to packing instruction.Only needed when so packing
According to the demand input packing instruction of packing on the packing page, it is possible to realize the packing to source code, it is not necessary to contact source generation
Code, so need not be packed by developer, can be packed by other staff, so as to save developer when
Between energy.
In one embodiment, as shown in fig. 6, additionally providing a kind of automatic packaging device 600, the device includes:Packing
Page acquisition module 610, packing instruction acquisition module 620, installation kit generation module 630 and uploading module 640.
Packing page acquisition module 610, the acquisition for receiving browser transmission are integrated in beating in continuous integration system
The request in roadblock face, so that browser obtains the packing page;
Packing instruction acquisition module 620, for obtaining packing instruction from the packing page;
Installation kit generation module 630, the source code for needing to pack is obtained for being instructed according to packing, and instructed according to packing
Packing generation installation kit is carried out to source code;
Uploading module 640, for installation kit to be uploaded into destination server.
In one embodiment, as shown in fig. 7, a kind of automatic packaging device 600 also includes:Sending module 650 is notified, is used
In obtaining recipient mailbox address from the packing page, and after installation kit is uploaded into destination server, to recipient mailbox
Address sends notice, and information of the notice comprising the installation kit automatically generated according to packing instruction and installation kit are on destination server
The address information of storage.
In one embodiment, installation kit generation module 630 is beaten for judging whether local is in need according to packing instruction
The source code of bag;If so, then from the local source code for obtaining and needing to pack;If it is not, then obtained from source code service device
Need the source code packed.
In one embodiment, a kind of computer-readable recording medium is additionally provided, is stored thereon with computer program, should
Following steps are realized when program is executed by processor:
The request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that browser obtains
Take the packing page;Packing instruction is obtained from the packing page;Instructed to obtain according to packing and need the source code packed, and according to beating
Bag instruction carries out packing generation installation kit to source code;Installation kit is uploaded to destination server.
In one embodiment, following steps are also realized when said procedure is executed by processor:Obtained from the packing page
Recipient mailbox address, and after installation kit is uploaded into destination server, sends and notify to recipient mailbox address, notice bag
The address information that information and installation kit containing the installation kit automatically generated according to packing instruction are deposited on destination server.
In one embodiment, following steps are also realized when said procedure is executed by processor:Judged according to packing instruction
It is local whether the source code of packing in need;If so, then from the local source code for obtaining and needing to pack;If it is not, then from source code
The source code for needing to pack is obtained on service device.
In one embodiment, following steps are also realized when said procedure is executed by processor:Packing instruction includes:Need
The version information of the source code of packing, the environmental information and tuning parameter information of packing.
In one embodiment, following steps are also realized when said procedure is executed by processor:The source packed as needed
The version information of code obtains the source code for needing to pack;Obtain the environment according to the corresponding configuration of the environmental information of packing;According to
Tuning parameter information changes corresponding parameter in source code;Source code after modification parameter is subjected to packing generation installation kit.
In one embodiment, additionally provide a kind of computer equipment, the computer equipment includes memory, processor and
Storage realizes following step on a memory and the computer program that can run on a processor, during computing device computer program
Suddenly:
The request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that browser obtains
Take the packing page;Packing instruction is obtained from the packing page;Instructed to obtain according to packing and need the source code packed, and according to beating
Bag instruction carries out packing generation installation kit to source code;Installation kit is uploaded to destination server.
In one embodiment, following steps are also realized during above-mentioned computing device computer program:From the packing page
Recipient mailbox address is obtained, and after installation kit is uploaded into destination server, sends and notifies to recipient mailbox address, is led to
Know the information comprising the installation kit automatically generated according to packing instruction and the address information that installation kit is deposited on destination server.
In one embodiment, following steps are also realized during above-mentioned computing device computer program:Instructed according to packing
Judge it is local whether the source code of packing in need;If so, then from the local source code for obtaining and needing to pack;If it is not, then from source
The source code for needing to pack is obtained on code service device.
In one embodiment, following steps are also realized during above-mentioned computing device computer program:Packing instruction includes:
The version information for the source code for needing to pack, the environmental information and tuning parameter information packed.
In one embodiment, following steps are also realized during above-mentioned computing device computer program:Packing as needed
The version information of source code obtain and need the source code packed;Obtain the environment according to the corresponding configuration of the environmental information of packing;
Corresponding parameter is changed in source code according to tuning parameter information;Source code after modification parameter is subjected to packing generation installation
Bag.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of automatic packaging method, methods described include:
The request for the packing page that the acquisition that browser is sent is integrated in continuous integration system is received, so that the browser obtains
Take the packing page;
Packing instruction is obtained from the packing page;
The source code for needing to pack is obtained according to the packing instruction, and the source code is beaten according to the packing instruction
Bag generation installation kit;
The installation kit is uploaded to destination server.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Recipient mailbox address is obtained from the packing page, and after the installation kit is uploaded into destination server, to
The recipient mailbox address sends notice, and the notice includes the installation kit automatically generated according to the packing instruction
The address information that information and the installation kit are deposited on the destination server.
3. according to the method for claim 1, it is characterised in that described that the source for needing to pack is obtained according to the packing instruction
Code, including:
The local source code for whether there are the needs to pack is judged according to the packing instruction;
If so, then obtain the source code for needing to pack from local;
If it is not, the source code for needing to pack then is obtained from source code service device.
4. according to the method for claim 1, it is characterised in that the packing instruction includes:The source code for needing to pack
Version information, the environmental information and tuning parameter information of packing.
5. according to the method for claim 4, it is characterised in that described that the source for needing to pack is obtained according to the packing instruction
Code, and packing generation installation kit is carried out to the source code according to the packing instruction, including:
The source code for needing to pack is obtained according to the version information of the source code for needing to pack;
According to the tuning parameter information of the corresponding configuration of the environment information acquisition of the packing;
Corresponding parameter is changed in the source code according to the tuning parameter information;
Source code after modification parameter is subjected to packing generation installation kit.
6. a kind of automatic packaging device, it is characterised in that described device includes:
Packing page acquisition module, the acquisition for receiving browser transmission are integrated in the packing page in continuous integration system
Request, so that the browser obtains the packing page;
Packing instruction acquisition module, for obtaining packing instruction from the packing page;
Installation kit generation module, for obtaining the source code for needing to pack according to the packing instruction, and referred to according to the packing
Order carries out packing generation installation kit to the source code;
Uploading module, for the installation kit to be uploaded into destination server.
7. device according to claim 6, it is characterised in that described device also includes:
Sending module is notified, for obtaining recipient mailbox address from the packing page, and is uploaded by the installation kit
To destination server, send and notify to the recipient mailbox address, the notice includes automatic according to the packing instruction
The address information that the information of the installation kit of generation and the installation kit are deposited on the destination server.
8. device according to claim 6, it is characterised in that the installation kit generation module is used to be referred to according to the packing
Order judges the local source code for whether having the needs to pack;If so, then obtain the source code for needing to pack from local;If
It is no, then the source code for needing to pack is obtained from source code service device.
9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor
The automatic packaging method as any one of claim 1 to 5 is realized during row.
10. a kind of computer equipment, the computer equipment includes memory, processor and is stored on the memory and can
The computer program run on the processor, it is characterised in that realized described in the computing device during computer program
Automatic packaging method as any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710495287.3A CN107450941B (en) | 2017-06-26 | 2017-06-26 | Automatic packaging method, device, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710495287.3A CN107450941B (en) | 2017-06-26 | 2017-06-26 | Automatic packaging method, device, storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107450941A true CN107450941A (en) | 2017-12-08 |
CN107450941B CN107450941B (en) | 2020-08-18 |
Family
ID=60486692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710495287.3A Expired - Fee Related CN107450941B (en) | 2017-06-26 | 2017-06-26 | Automatic packaging method, device, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107450941B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108196878A (en) * | 2018-01-22 | 2018-06-22 | 广东小天才科技有限公司 | Method and device for generating application program installation package, electronic equipment and storage medium |
CN108520482A (en) * | 2018-04-04 | 2018-09-11 | 重庆猪八戒知识产权服务有限公司 | A kind of automatic declaration method of trade mark declares terminal and storage medium |
CN108664267A (en) * | 2018-04-09 | 2018-10-16 | 上海瀚银信息技术有限公司 | A kind of code automatic packaging system |
CN108897571A (en) * | 2018-06-29 | 2018-11-27 | 北京金山数字娱乐科技有限公司 | Program is packaged dispositions method, device, system, electronic equipment and storage medium |
CN109062789A (en) * | 2018-07-17 | 2018-12-21 | 广州视源电子科技股份有限公司 | Continuous integration method, device and equipment and readable storage medium |
CN109101244A (en) * | 2018-07-20 | 2018-12-28 | 珠海宏桥高科技有限公司 | A kind of ios system integration automatic packaging method |
CN109375929A (en) * | 2018-11-22 | 2019-02-22 | 东软集团股份有限公司 | Installation kit generation method, device, storage medium and the equipment of Java web application |
CN109960526A (en) * | 2017-12-22 | 2019-07-02 | 航天信息股份有限公司 | A kind of application program packaging method and device |
CN110147227A (en) * | 2018-07-06 | 2019-08-20 | 杭州涂鸦信息技术有限公司 | A kind of program installation kit generation method and system for technical ability configuration |
CN111026407A (en) * | 2018-10-10 | 2020-04-17 | 北大方正集团有限公司 | Installation package packing method, computer device and computer readable storage medium |
CN111078232A (en) * | 2019-12-03 | 2020-04-28 | 江苏满运软件科技有限公司 | Application program packaging method, device, equipment and medium |
CN111142859A (en) * | 2019-12-31 | 2020-05-12 | 五八有限公司 | Script generation method and device, electronic equipment and storage medium |
CN111767075A (en) * | 2020-06-23 | 2020-10-13 | 北京思特奇信息技术股份有限公司 | Method and device for synchronizing application program versions |
CN113094121A (en) * | 2021-04-30 | 2021-07-09 | 腾讯科技(成都)有限公司 | Data processing method, data processing equipment and computer readable storage medium |
CN114610327A (en) * | 2022-02-15 | 2022-06-10 | 北京结慧科技有限公司 | Automatic publishing and deploying method, device, medium and computer equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080010630A1 (en) * | 2006-06-29 | 2008-01-10 | Microsoft Corporation | Mapping of virtualized setup-free applications for a computing system |
CN106445548A (en) * | 2016-10-11 | 2017-02-22 | 武汉斗鱼网络科技有限公司 | Test pack issuing method and device |
CN106528200A (en) * | 2016-10-08 | 2017-03-22 | 广州视睿电子科技有限公司 | Continuous integration method and device based on docker composition |
CN106547688A (en) * | 2016-10-19 | 2017-03-29 | 厦门市美亚柏科信息股份有限公司 | Product automation method of testing and its system based on Windows |
CN106775912A (en) * | 2016-12-15 | 2017-05-31 | 广州视源电子科技股份有限公司 | Software release method and system |
-
2017
- 2017-06-26 CN CN201710495287.3A patent/CN107450941B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080010630A1 (en) * | 2006-06-29 | 2008-01-10 | Microsoft Corporation | Mapping of virtualized setup-free applications for a computing system |
CN106528200A (en) * | 2016-10-08 | 2017-03-22 | 广州视睿电子科技有限公司 | Continuous integration method and device based on docker composition |
CN106445548A (en) * | 2016-10-11 | 2017-02-22 | 武汉斗鱼网络科技有限公司 | Test pack issuing method and device |
CN106547688A (en) * | 2016-10-19 | 2017-03-29 | 厦门市美亚柏科信息股份有限公司 | Product automation method of testing and its system based on Windows |
CN106775912A (en) * | 2016-12-15 | 2017-05-31 | 广州视源电子科技股份有限公司 | Software release method and system |
Non-Patent Citations (1)
Title |
---|
RTYDFGH: "jenkins自动化打包说明", 《HTTPS://WWW.DOCIN.COM/P-1451135171.HTML》 * |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960526A (en) * | 2017-12-22 | 2019-07-02 | 航天信息股份有限公司 | A kind of application program packaging method and device |
CN108196878B (en) * | 2018-01-22 | 2020-12-18 | 广东小天才科技有限公司 | Method and device for generating application program installation package, electronic equipment and storage medium |
CN108196878A (en) * | 2018-01-22 | 2018-06-22 | 广东小天才科技有限公司 | Method and device for generating application program installation package, electronic equipment and storage medium |
CN108520482A (en) * | 2018-04-04 | 2018-09-11 | 重庆猪八戒知识产权服务有限公司 | A kind of automatic declaration method of trade mark declares terminal and storage medium |
CN108664267A (en) * | 2018-04-09 | 2018-10-16 | 上海瀚银信息技术有限公司 | A kind of code automatic packaging system |
CN108897571A (en) * | 2018-06-29 | 2018-11-27 | 北京金山数字娱乐科技有限公司 | Program is packaged dispositions method, device, system, electronic equipment and storage medium |
CN110147227A (en) * | 2018-07-06 | 2019-08-20 | 杭州涂鸦信息技术有限公司 | A kind of program installation kit generation method and system for technical ability configuration |
CN109062789A (en) * | 2018-07-17 | 2018-12-21 | 广州视源电子科技股份有限公司 | Continuous integration method, device and equipment and readable storage medium |
CN109062789B (en) * | 2018-07-17 | 2022-04-15 | 广州视源电子科技股份有限公司 | Continuous integration method, apparatus and device, and readable storage medium |
CN109101244A (en) * | 2018-07-20 | 2018-12-28 | 珠海宏桥高科技有限公司 | A kind of ios system integration automatic packaging method |
CN109101244B (en) * | 2018-07-20 | 2022-06-03 | 珠海宏桥高科技有限公司 | Integrated automatic packaging method for ios system |
CN111026407A (en) * | 2018-10-10 | 2020-04-17 | 北大方正集团有限公司 | Installation package packing method, computer device and computer readable storage medium |
CN109375929A (en) * | 2018-11-22 | 2019-02-22 | 东软集团股份有限公司 | Installation kit generation method, device, storage medium and the equipment of Java web application |
CN111078232A (en) * | 2019-12-03 | 2020-04-28 | 江苏满运软件科技有限公司 | Application program packaging method, device, equipment and medium |
CN111078232B (en) * | 2019-12-03 | 2022-09-16 | 江苏满运软件科技有限公司 | Application program packaging method, device, equipment and medium |
CN111142859A (en) * | 2019-12-31 | 2020-05-12 | 五八有限公司 | Script generation method and device, electronic equipment and storage medium |
CN111767075A (en) * | 2020-06-23 | 2020-10-13 | 北京思特奇信息技术股份有限公司 | Method and device for synchronizing application program versions |
CN113094121A (en) * | 2021-04-30 | 2021-07-09 | 腾讯科技(成都)有限公司 | Data processing method, data processing equipment and computer 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 |
Also Published As
Publication number | Publication date |
---|---|
CN107450941B (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107450941A (en) | Automatic packaging method, device, storage medium and computer equipment | |
US20200150989A1 (en) | Portable aggregated information calculation and injection for application containers | |
CN103176769B (en) | A kind of deployment of customizable software and installation method and system | |
CN103649945B (en) | Automatic synchronization of most recently used document lists | |
CN104239102B (en) | application program operation method and device | |
CN102224716B (en) | Unified interface for configuring multiple networking technologies | |
CN105323282A (en) | Enterprise application deployment and management system for multiple tenants | |
CN105446868B (en) | System compatibility test method, testing case management and relevant apparatus | |
CN106155751A (en) | Application packing and issuing method and device | |
US8539404B2 (en) | Functional simulation redundancy reduction by state comparison and pruning | |
CN107959579A (en) | The dispositions method and deployment system of multisystem | |
CN108829430A (en) | Java Web project update method and relevant apparatus based on Eclipse and Tomcat | |
CN108229112A (en) | A kind of operation method and device for protecting application program, application program | |
CN108595187A (en) | Method, device and the storage medium of Android installation kit integrated software development kit | |
CN107741859A (en) | Software package management method, apparatus and system based on domestic CPU and OS | |
CN103259936A (en) | Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method | |
CN108415821A (en) | The generation method and device of test report | |
CN108874464A (en) | Middleware automatically scanning assembly method, device and storage medium | |
CN113434146A (en) | Code compilation method, device, storage medium and electronic device | |
CN107248946A (en) | Application installation package sending method and device | |
CN106445548A (en) | Test pack issuing method and device | |
CN101847156A (en) | Method for installing web packets in a manufacturing execution system | |
CN106293687A (en) | The control method of a kind of flow process of packing, and device | |
WO2015057816A1 (en) | Method and system for adaptive loading of application | |
CN106873966A (en) | A kind of application development 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200818 Termination date: 20210626 |
|
CF01 | Termination of patent right due to non-payment of annual fee |