CN102520952A - Automatic construction and issuing method of software code version - Google Patents

Automatic construction and issuing method of software code version Download PDF

Info

Publication number
CN102520952A
CN102520952A CN2011104168262A CN201110416826A CN102520952A CN 102520952 A CN102520952 A CN 102520952A CN 2011104168262 A CN2011104168262 A CN 2011104168262A CN 201110416826 A CN201110416826 A CN 201110416826A CN 102520952 A CN102520952 A CN 102520952A
Authority
CN
China
Prior art keywords
server
hudson
software code
project
svn
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
CN2011104168262A
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.)
Beijing Jiaxun Feihong Electrical Co Ltd
Original Assignee
Beijing Jiaxun Feihong Electrical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaxun Feihong Electrical Co Ltd filed Critical Beijing Jiaxun Feihong Electrical Co Ltd
Priority to CN2011104168262A priority Critical patent/CN102520952A/en
Publication of CN102520952A publication Critical patent/CN102520952A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an automatic construction and issuing method of a software code version, belonging to the technical field of software code management and control. The method comprises: a development client is connected to an SVN (switched virtual network) server and a Hudson server, respectively; the development client modifies the software code and compiles task processing commands, and transmits the modified software code and the compiled task processing commands to corresponding projects of the SVN server; the Hudson server downloads each project on the SVN server to a set catalog; the development client calls the tasks in the Hudson server and selects the project to be compiled; the Hudson server generates a temporary compiling script file according to task processing commands in the project to be compiled, and calls the code in the project to be compiled to carry out compiling; the Hudson server transmits the result after compiling to a version issuing server. According to the invention, the disadvantage that common software code version control can only be managed by a manager is overcome.

Description

Software code versions makes up and dissemination method automatically
Technical field
The invention belongs to software code management and control technology field, relate in particular to a kind of software code versions and make up automatically and dissemination method.
Background technology
Hudson is a lasting integration tool of increasing income, be mainly used in lasting, make up software project automatically.When using the Hudson instrument, need be deployed to the Hudson tool part on one station server, and start in use, this server is called as the Hudson server.SVN (Subversion) is a version control tool of increasing income, and is mainly used in Version Control, branch management and the release management etc. of code.Need be deployed to SVN on one station server before using, and start in use, this server is called as the SVN server, and operation is the service of SVN above.Version publisher server (Version-release) is the inner servers that use of research and development, is mainly used in to deposit the good version file of compiling.
A lot of integration tool and version control tools of continuing are arranged at present, can realize regularly compiling or one-touch compiling through basic setting.But compiling of nearly all version and issuing process all need the Configuration Management Officer management and control that comes in person.Because the complicacy of version translation and compiling environment and compilation tool, promptly increased human operational error's risk in version compile time, increased a lot of workloads to Configuration Management Officer virtually again.Though at present application number is that 201010602478.3 patented claim has realized regularly compiling and issuing, if version quantity is a lot, Configuration Management Officer still can become the bottleneck of the version compiling and the work of issue.
Summary of the invention
The objective of the invention is to, need propose a kind of software code versions and make up automatically and dissemination method by keeper's operation and then the inefficiency and the high problem of error rate that cause, be used to address this problem to present software code compiling and issue.
For realizing above-mentioned purpose, technical scheme provided by the invention is that a kind of software code versions makes up and dissemination method automatically, realizes through the SVN server, Hudson server and the version publisher server that are linked in sequence, it is characterized in that said method comprises:
Step 1: will develop client and be connected with the Hudson server with the SVN server respectively;
Step 2: the exploitation client is revised software code and is write the task processing command, and software code of revising and the task processing command of writing are sent in the respective item of SVN server;
Each project on the step 3:Hudson downloaded SVN server is to setting catalogue;
Step 4: the task in the exploitation client call Hudson server, select project to be compiled;
Step 5:Hudson server generates interim compilation script file according to the task processing command in the project to be compiled, and the code that calls in the project to be compiled compiles;
Result after step 6:Hudson server will compile sends to the version publisher server.
Desk-top computer, notebook or workstation that said exploitation client is used for the developer.
Said task processing command is stored in the autoexec.
Task in the said exploitation client call Hudson server is through WEB mode or client mode.
The present invention through SVN server and Hudson server direct compilation code and generate software version and releasing software, has overcome the drawback that software code versions control commonly used can only be managed by the keeper by the software developer.
Description of drawings
Fig. 1 is that software code versions makes up and the dissemination method process flow diagram automatically;
Fig. 2 is that software code versions makes up and the delivery system structural drawing automatically.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.Should be emphasized that following explanation only is exemplary, rather than in order to limit scope of the present invention and application thereof.
Fig. 1 is that software code versions makes up and the dissemination method process flow diagram automatically.Among Fig. 1, software code versions provided by the invention makes up automatically and dissemination method is realized through the SVN server, Hudson server and the version publisher server that are linked in sequence, comprising:
Step 1: will develop client and be connected with the Hudson server with the SVN server respectively.Fig. 2 is that software code versions makes up and the delivery system structural drawing automatically.Wherein, the exploitation client is connected with the Hudson server with the SVN server respectively.The exploitation client is used to write the software code and the task processing command of modification for desk-top computer, notebook or workstation that the developer uses.
Step 2: the exploitation client is revised software code and is write the task processing command, and software code of revising and the task processing command of writing are sent in the respective item of SVN server.Because therefore more than one of task processing command possibility can be stored in a plurality of task processing commands in the autoexec, is in the file of bat like suffix, is carried out according to the order of sequence by the Hudson server.
Each project on the step 3:Hudson downloaded SVN server is to setting catalogue.
Need on the Hudson server to set catalogue, be used to deposit the project of downloading from the SVN server, and be used for the compiling catalogue of version compiling and issue.If compile at random, then need what a on the Hudson server, set up in advance and compile catalogue at random.
Step 4: the task in the exploitation client call Hudson server, select project to be compiled.
Usually, the exploitation client is called the task in the Hudson server through WEB mode (being the B/S mode) visit Hudson server.Certainly,, also can client-side program be installed, through client mode (being the C/S mode) visit Hudson server in the exploitation client from the purpose of security consideration.
Step 5:Hudson server generates interim compilation script file according to the task processing command in the project to be compiled, and the code that calls in the project to be compiled compiles.
Result after step 6:Hudson server will compile sends to the version publisher server.
Further effect of the present invention comprises:
1) self-service compiling of research staff and released version have improved dirigibility, accuracy, the promptness of version compiling and issuing process, have guaranteed compiling result's stability simultaneously.
2) discharged the repetitive operation of Configuration Management Officer in version compiling and issuing process, stopped because the problems that the Configuration Management Officer human operational error brings.
3) since translation and compiling environment all the time on the Hudson server, this has just reduced the complicacy that the version under multilingual, many compilation tools compiles, and makes version compiling work and issue become simple, easy to operate.
4) because the Hudson server is safeguarded that by the special messenger research staff can't visit, do not have the whole codes of research staff's contact product/project, the hidden danger of no information security is applicable to the tissue that the information security standard is higher.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (4)

1. a software code versions makes up and dissemination method automatically, realizes through the SVN server, Hudson server and the version publisher server that are linked in sequence, it is characterized in that said method comprises:
Step 1: will develop client and be connected with the Hudson server with the SVN server respectively;
Step 2: the exploitation client is revised software code and is write the task processing command, and software code of revising and the task processing command of writing are sent in the respective item of SVN server;
Each project on the step 3:Hudson downloaded SVN server is to setting catalogue;
Step 4: the task in the exploitation client call Hudson server, select project to be compiled;
Step 5:Hudson server generates interim compilation script file according to the task processing command in the project to be compiled, and the code that calls in the project to be compiled compiles;
Result after step 6:Hudson server will compile sends to the version publisher server.
2. method according to claim 1 is characterized in that desk-top computer, notebook or workstation that said exploitation client is used for the developer.
3. method according to claim 1 is characterized in that said task processing command is stored in the autoexec.
4. method according to claim 1 is characterized in that the task in the said exploitation client call Hudson server is passed through WEB mode or client mode.
CN2011104168262A 2011-12-14 2011-12-14 Automatic construction and issuing method of software code version Pending CN102520952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104168262A CN102520952A (en) 2011-12-14 2011-12-14 Automatic construction and issuing method of software code version

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104168262A CN102520952A (en) 2011-12-14 2011-12-14 Automatic construction and issuing method of software code version

Publications (1)

Publication Number Publication Date
CN102520952A true CN102520952A (en) 2012-06-27

Family

ID=46291894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104168262A Pending CN102520952A (en) 2011-12-14 2011-12-14 Automatic construction and issuing method of software code version

Country Status (1)

Country Link
CN (1) CN102520952A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902558A (en) * 2012-09-11 2013-01-30 新浪网技术(中国)有限公司 Project script file updating system and method as well as script file merging method and device
CN103530137A (en) * 2013-11-05 2014-01-22 中国联合网络通信集团有限公司 Java web application deploying method and device
CN103677765A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 Version automatic issuing method, device and storage medium
CN103955361A (en) * 2014-03-28 2014-07-30 世纪禾光科技发展(北京)有限公司 Modular development and publishing system for automatic compiling and establishing of web front-end codes
CN104111879A (en) * 2014-07-03 2014-10-22 北京思特奇信息技术股份有限公司 Automatic program file online method and system
CN104317602A (en) * 2014-11-03 2015-01-28 中国农业银行股份有限公司 Development method and device of code files of host computer
CN104536744A (en) * 2014-12-19 2015-04-22 微梦创科网络科技(中国)有限公司 Method and server for automatically building and deploying codes
CN104580480A (en) * 2015-01-15 2015-04-29 上海瀚银信息技术有限公司 Remote automatic deployment system and method for client end
CN104834683A (en) * 2015-04-16 2015-08-12 深圳市华宝电子科技有限公司 Vehicle monitoring platform publishing method, device and system
WO2015154683A1 (en) * 2014-04-08 2015-10-15 北京奇虎科技有限公司 File publication system, file release method, and network server
CN105653287A (en) * 2015-12-31 2016-06-08 北京元心科技有限公司 Automatic program version issuing method and device
CN105843597A (en) * 2015-01-16 2016-08-10 阿里巴巴集团控股有限公司 Providing method and device for establishment information of tasks
CN106445548A (en) * 2016-10-11 2017-02-22 武汉斗鱼网络科技有限公司 Test pack issuing method and device
CN106557423A (en) * 2016-11-22 2017-04-05 深圳市掌世界网络科技有限公司 A kind of internet code method for automatically releasing and system
CN107122182A (en) * 2017-04-14 2017-09-01 努比亚技术有限公司 A kind of code construction and the method and system of issue
CN107729066A (en) * 2017-11-08 2018-02-23 重庆扬讯软件技术股份有限公司 One kind is based on SVN resources banks automation structure dissemination method and device
CN108897543A (en) * 2018-06-29 2018-11-27 苏州科达科技股份有限公司 Interim compiling system, method, apparatus and the storage medium of version
CN108984183A (en) * 2018-08-28 2018-12-11 郑州云海信息技术有限公司 A kind of software cross-region construction method, device, equipment and storage medium
CN109254765A (en) * 2018-08-22 2019-01-22 平安科技(深圳)有限公司 Timing task management method, apparatus, computer equipment and storage medium
CN109683905A (en) * 2018-12-24 2019-04-26 国云科技股份有限公司 A kind of system method for automatically releasing
CN110659030A (en) * 2019-09-23 2020-01-07 深圳市众学科技有限公司 Unity project compiling method, system, computer device and storage medium
CN113448614A (en) * 2021-06-29 2021-09-28 北京金山云网络技术有限公司 Software project code management method and device, storage medium and electronic equipment
CN113762722A (en) * 2021-08-09 2021-12-07 深圳前海爱客风信息技术有限公司 Method and apparatus for collaborative development of software projects
CN114268624A (en) * 2022-03-02 2022-04-01 上海豪承信息技术有限公司 Version file transmission method and device and server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635640A (en) * 2009-09-04 2010-01-27 江苏天智互联科技有限公司 Method for automatically releasing terminal program version of WEB network station system server
CN102035892A (en) * 2010-12-23 2011-04-27 中科方德软件有限公司 System and method for automatically releasing operating system version and automatically updating software package

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635640A (en) * 2009-09-04 2010-01-27 江苏天智互联科技有限公司 Method for automatically releasing terminal program version of WEB network station system server
CN102035892A (en) * 2010-12-23 2011-04-27 中科方德软件有限公司 System and method for automatically releasing operating system version and automatically updating software package

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘巧玲等: "基于Hudson的持续集成研究和应用", 《计算机系统应用》 *

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677765A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 Version automatic issuing method, device and storage medium
CN103677765B (en) * 2012-08-31 2018-07-06 腾讯科技(深圳)有限公司 Automatically releasing versions method, apparatus and storage medium
CN102902558A (en) * 2012-09-11 2013-01-30 新浪网技术(中国)有限公司 Project script file updating system and method as well as script file merging method and device
CN102902558B (en) * 2012-09-11 2016-05-11 新浪网技术(中国)有限公司 Project script file upgrades system and method, script file merges method and apparatus
CN103530137A (en) * 2013-11-05 2014-01-22 中国联合网络通信集团有限公司 Java web application deploying method and device
CN103955361A (en) * 2014-03-28 2014-07-30 世纪禾光科技发展(北京)有限公司 Modular development and publishing system for automatic compiling and establishing of web front-end codes
WO2015154683A1 (en) * 2014-04-08 2015-10-15 北京奇虎科技有限公司 File publication system, file release method, and network server
CN104111879B (en) * 2014-07-03 2018-04-03 北京思特奇信息技术股份有限公司 A kind of program file automatic wire charging method and system
CN104111879A (en) * 2014-07-03 2014-10-22 北京思特奇信息技术股份有限公司 Automatic program file online method and system
CN104317602A (en) * 2014-11-03 2015-01-28 中国农业银行股份有限公司 Development method and device of code files of host computer
CN104317602B (en) * 2014-11-03 2017-09-08 中国农业银行股份有限公司 The development approach and device of a kind of mainframe code file
CN104536744A (en) * 2014-12-19 2015-04-22 微梦创科网络科技(中国)有限公司 Method and server for automatically building and deploying codes
CN104536744B (en) * 2014-12-19 2018-07-13 微梦创科网络科技(中国)有限公司 A kind of method and server of automation structure and deployment code
CN104580480A (en) * 2015-01-15 2015-04-29 上海瀚银信息技术有限公司 Remote automatic deployment system and method for client end
CN104580480B (en) * 2015-01-15 2018-05-15 上海瀚银信息技术有限公司 A kind of client remote automatically dispose system and method
CN105843597A (en) * 2015-01-16 2016-08-10 阿里巴巴集团控股有限公司 Providing method and device for establishment information of tasks
CN104834683A (en) * 2015-04-16 2015-08-12 深圳市华宝电子科技有限公司 Vehicle monitoring platform publishing method, device and system
CN105653287A (en) * 2015-12-31 2016-06-08 北京元心科技有限公司 Automatic program version issuing method and device
CN106445548B (en) * 2016-10-11 2021-01-01 武汉斗鱼网络科技有限公司 Test packet issuing method and device
CN106445548A (en) * 2016-10-11 2017-02-22 武汉斗鱼网络科技有限公司 Test pack issuing method and device
CN106557423A (en) * 2016-11-22 2017-04-05 深圳市掌世界网络科技有限公司 A kind of internet code method for automatically releasing and system
CN107122182B (en) * 2017-04-14 2021-08-24 努比亚技术有限公司 Method and system for constructing and releasing code
CN107122182A (en) * 2017-04-14 2017-09-01 努比亚技术有限公司 A kind of code construction and the method and system of issue
CN107729066A (en) * 2017-11-08 2018-02-23 重庆扬讯软件技术股份有限公司 One kind is based on SVN resources banks automation structure dissemination method and device
CN107729066B (en) * 2017-11-08 2021-08-03 重庆扬讯软件技术股份有限公司 Automatic construction and release method and device based on SVN (singular value decomposition) resource library
CN108897543B (en) * 2018-06-29 2022-01-14 苏州科达科技股份有限公司 Temporary compiling system, method, device and storage medium of version
CN108897543A (en) * 2018-06-29 2018-11-27 苏州科达科技股份有限公司 Interim compiling system, method, apparatus and the storage medium of version
CN109254765A (en) * 2018-08-22 2019-01-22 平安科技(深圳)有限公司 Timing task management method, apparatus, computer equipment and storage medium
CN109254765B (en) * 2018-08-22 2023-08-25 平安科技(深圳)有限公司 Timing task management method, device, computer equipment and storage medium
CN108984183A (en) * 2018-08-28 2018-12-11 郑州云海信息技术有限公司 A kind of software cross-region construction method, device, equipment and storage medium
CN109683905A (en) * 2018-12-24 2019-04-26 国云科技股份有限公司 A kind of system method for automatically releasing
CN110659030B (en) * 2019-09-23 2023-07-14 深圳市众学科技有限公司 Unity project compiling method, system, computer equipment and storage medium
CN110659030A (en) * 2019-09-23 2020-01-07 深圳市众学科技有限公司 Unity project compiling method, system, computer device and storage medium
CN113448614A (en) * 2021-06-29 2021-09-28 北京金山云网络技术有限公司 Software project code management method and device, storage medium and electronic equipment
CN113762722A (en) * 2021-08-09 2021-12-07 深圳前海爱客风信息技术有限公司 Method and apparatus for collaborative development of software projects
CN114268624A (en) * 2022-03-02 2022-04-01 上海豪承信息技术有限公司 Version file transmission method and device and server
CN114268624B (en) * 2022-03-02 2022-06-03 上海豪承信息技术有限公司 Version file transmission method and device and server

Similar Documents

Publication Publication Date Title
CN102520952A (en) Automatic construction and issuing method of software code version
CN102681865B (en) Coordination upgrading in distributed system
US9354776B1 (en) Applied client-side service integrations in distributed web systems
US9588752B2 (en) Performing unattended software installation
CN101453367B (en) Software deployment method and system, software deployment server and user server
CN103729195B (en) A kind of control method and system of software version
CN110572436A (en) Multi-place cross-cluster server deployment method and system
CN104412229A (en) Adaptive portable libraries
CN111027921B (en) Service processing method and device, electronic equipment and storage medium
CN104471557B (en) The optimization of dynamic language performs
CN100442230C (en) Method and system for software multi-version upgrading
CN102035892A (en) System and method for automatically releasing operating system version and automatically updating software package
CN103294172A (en) Method for providing multiple mouse inputs in a remote desktop session
CN106293701A (en) The application engine method for designing of many tenants version management based on cloud server
CN102413167A (en) Virtual and physical enterprise system imaging
US20170212751A1 (en) Automatic detection of potential merge errors
CN102937909A (en) Method for deploying and upgrading Linux system
CN101515238A (en) Method for automatically installing or uninstalling application software of computers and a device thereof
CN101329633A (en) Method and apparatus for upgrading software
WO2017213846A1 (en) Automating feature graduation
CN102696026A (en) Efficient immutable syntax representation with incremental change
CN102141937A (en) Efficient resumption of co-routines on a linear stack
CN111737139A (en) Method and device for generating preview two-dimensional code of applet
Hebig et al. On the complex nature of mde evolution
CN102317905A (en) Web application building system, web application building method, web application building program, and recording medium on which web application building is recorded

Legal Events

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

Application publication date: 20120627